![]() It's easier to maintain and less error-prone than setting a flag programmatically.The advantages of using an activity theme are as follows: Hidden in your app (though strictly speaking, you could programmatically override the Manifest file is the preferred approach if the status bar should always remain Setting an activity theme in your app's manifest file. You can hide the status bar on Android 4.0 (API level 14) and lower by setting Hide the Status Bar on Android 4.0 and Lower ![]() You should never show the action bar without the status bar.įigure 2. Hiding the status bar (and optionally, the navigation bar) lets theĬontent use more of the display space, thereby providing a more immersive user experience.įigure 1 shows an app with a visible status bar:įigure 2 shows an app with a hidden status bar. ![]() This lesson describes how to hide the status bar on different versions ofĪndroid.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |