How To hide windows title bar in your android application

Perform following steps

In your style file (app\src\main\res\values\styles.xml)  add following lines. This will create another theme with NotTitle

<style name="FullscreenTheme" parent="AppTheme">
    <item name="windowNoTitle">true</item>
</style>

Apply newly created style/theme to your activity using application manifest file (app\src\main\AndroidManifest.xml) as shown in highlighted text
.....
<activity android:name=".MainMenu" android:theme="@style/FullscreenTheme"
     >
    <intent-filter>
        <action android:name="android.intent.action.MAIN" />
        <category android:name="android.intent.category.LAUNCHER" />
    </intent-filter>
</activity>
......



Comments

Popular posts from this blog

Sharepoint 2007 Showing outlook Inbox using outlook active X control

IIS Configuration Error Error: Cannot write configuration file due to insufficient permissions

Java IDE for Grail Development