Display and hide ActionBar in XML

To use Theme.Holo (or its descendants) for Android 3.0 or higher to show ActionBar.

android:theme="@android:style/Theme.Holo"

@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:style/Theme.Holo.NoActionBar

android:theme="@android:style/Theme.Holo.NoActionBar.Fullscreen"

@android:style/Theme.Holo.NoActionBar.Fullscreen



Related:
- Show and hide ActionBar using Java code


thumbnail
Title: Display and hide ActionBar in XML
Rating: 100% based on 99998 ratings. 10 user reviews.
Post by

Related articles :

0 comments:

Post a Comment

My Blog List

 
Copyright © 2015. About - Web Version - Mobile Version Sitemap - Contact - Privacy