- No title. No Status bar showing fullscreen Android (most commonly used in games)
res-> with value> styles.xml:
<?xml version="1.0" encoding="utf-8"?> <resources> <style name="AppBaseTheme" parent="android:Theme.NoTitleBar.Fullscreen"> </style> </resources>
Manifest.xml application:
: : <application android:label="@string/app_name" android:icon="@drawable/ic_launcher" android:theme="@style/AppBaseTheme" > : :
Result: full screen without title and status bar
There is no title bar displaying only the status bar of the phone. In the same file, just delete ".Fullscreen"
res-> with value> styles.xml:
<?xml version="1.0" encoding="utf-8"?> <resources> <style name="AppBaseTheme" parent="android:Theme.NoTitleBar"> </style> </resources>
Result: only the status bar is displayed without a full title bar
- Display status bar and title bar
res-> with value> styles.xml:
<style name="AppBaseTheme">
Result:
source share