List of usage examples for android.support.v4.app ActionBar DISPLAY_HOME_AS_UP
int DISPLAY_HOME_AS_UP
To view the source code for android.support.v4.app ActionBar DISPLAY_HOME_AS_UP.
Click Source Link
From source file:net.coscolla.guiaTv.ui.BaseActivity.java
@Override protected void onCreate(Bundle saveInstance) { super.onCreate(saveInstance); if (UIUtils.isTablet(this)) { this.getSupportActionBar().setDisplayOptions(ActionBar.DISPLAY_HOME_AS_UP | ActionBar.DISPLAY_USE_LOGO, ActionBar.DISPLAY_HOME_AS_UP | ActionBar.DISPLAY_USE_LOGO); } else {/*from w w w. j a v a 2 s . co m*/ this.getSupportActionBar().setDisplayOptions(0, ActionBar.DISPLAY_HOME_AS_UP | ActionBar.DISPLAY_USE_LOGO); } }
From source file:org.androidui.app.ActionBarImpl.java
@Override public void setDisplayHomeAsUpEnabled(boolean showHomeAsUp) { setDisplayOptions(showHomeAsUp ? ActionBar.DISPLAY_HOME_AS_UP : 0, ActionBar.DISPLAY_HOME_AS_UP); }