Created
October 28, 2013 18:05
-
-
Save dominicthomas/7201623 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// use this to explicitly show a title and set a logo | |
getActionBar().setDisplayOptions( ActionBar.DISPLAY_SHOW_HOME | ActionBar.DISPLAY_SHOW_TITLE); | |
getActionBar().setDisplayUseLogoEnabled(true); | |
getActionBar().setDisplayShowTitleEnabled(true); | |
getActionBar().setDisplayShowHomeEnabled(true); | |
getActionBar().setLogo(R.drawable.ic_launcher); | |
getActionBar().setTitle("I AM A TITLE!"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment