List of usage examples for android.app ActionBar setDisplayShowTitleEnabled
public abstract void setDisplayShowTitleEnabled(boolean showTitle);
From source file:de.anderdonau.spacetrader.Main.java
public void restoreActionBar() { ActionBar actionBar = getActionBar(); assert actionBar != null; actionBar.setDisplayShowTitleEnabled(true); actionBar.setNavigationMode(ActionBar.NAVIGATION_MODE_STANDARD); actionBar.setTitle(getString(R.string.app_name)); }