To use Theme.Holo (or its descendants) for Android 3.0 or higher to show ActionBar.
android:theme="@android:style/Theme.Holo"To hide Action Bar use Theme.Holo.NoActionBar or Theme.Holo.NoActionBar.Fullscreen.
android:theme="@android:style/Theme.Holo.NoActionBar"
android:theme="@android:style/Theme.Holo.NoActionBar.Fullscreen"Related:
-
Show and hide ActionBar using Java code
Related Posts :
Programming the Mobile Web, second edition With the second edition of this popular book, you’ll learn how to build HTML5 and CSS3-based apps that access geolocation, accelerometer, m… Read More...
Embedded Android: Porting, Extending, and CustomizingLooking to port Android to other platforms such as embedded devices? This hands-on book shows you how Android works and how you can adapt it… Read More...
Handle different layout for phone and tablet, in seperated layout folderFor the first generation of tablets running Android 3.0, the proper way to declare tablet layouts was to put them in a directory with the xl… Read More...
android-webserver: Small webserver on your android phoneandroid-webserver is a open source project of small webserver on your android phone, hosted on Google Code. It understands "GET"-Requests an… Read More...
Allow navigate BACK through FragmentTransaction, by calling addToBackStack()If you try last exercise "Handle onListItemClick() of ListFragment, to pass data between fragment" on phone FragmentTransaction, when you BA… Read More...
0 Response to "Display and hide ActionBar in XML"
Post a Comment