Programmatically AppCompat Design Template (Eclipse, Android)

Huston we have a problem!

I’m working with Eclipse and not with Android Studio and I’ve been dealing with annoying layout design problems for years. Now I wanted to put an end to it. Normally you have to search dozens of details about Android Layout, Menus, screen handling, programmatically solutions, problems… for days and weeks on the internet. That’s all over now. I collected all the information and from all this information I created an easy to use “AppHelper” class inside a template project for Eclipse you can download here.

 

With this Android Class / Eclipse Project Template now you have 100% control about the App Screen and the Layout (Fullscreen, hide System and/or Navigation Bar), Action/ToolBar, Layouts, Widgets, ActionBar Menu Elements/Event Handling, …

You can easily nest Layouts and fill them with other Layouts or Widget Elements like these:

LINEAR_LAYOUT
FRAME_LAYOUT
RELATIVE_LAYOUT
GRID_VIEW
SCROLL_VIEW
HORIZONTAL_SCROLL_VIEW
LIST_VIEW
IMAGE_VIEW
VIDEO_VIEW
TEXT_VIEW
EDIT_TEXT
BUTTON
IMAGE_BUTTON
RADIO_BUTTON
TOGGLE_BUTTON
SWITCH
CHECKBOX
SPINNER
PROGRESS_BAR
SEEK_BAR
RATING_BAR

 

 

App Screen Control:

if(autoHideNavigationBar) AppHelper.autoHideNavigation(this, fullscreen);

AppHelper.setActionBarShadow(this, actionBarShowShadow);
AppHelper.setActionBarTitle(this, actionBarTitle);
AppHelper.setActionBarTitleColor(this, actionBarTitleColor);
// AppHelper.setActionBarSubTitle(this, actionBarSubTitle);
// AppHelper.setActionBarSubTitleColor(this,actionBarSubTitleColor);
AppHelper.setTopBackgroundColor(this, systemBarBackgroundColor);
AppHelper.setBackgroundColor(this, actionBarBackgroundColor);
AppHelper.setAppBackgroundColor(this, appBackgroundColor);
AppHelper.setNavigationBackgroundColor(this, navigationBackgroundColor);

AppHelper.showActionBarIcon(this, AppHelper.NAV_ICON_BACK);

 

 


 

      

Tested with Android 5.1 / Android 7.0 / Android 8.1 / Android 9

 

Download: <In order to finance everything that belongs to it, the downloads will be activated after a donation>

Thanks for your support!