Android - Hide Title Bar through AndroidManifest.xml - ANDROID - Helper

Wednesday, March 09, 2011

Android - Hide Title Bar through AndroidManifest.xml

HIDE THE TITLE BAR

<activity android:name=".YourClassName"
android:theme="@android:style/Theme.NoTitleBar">
</activity>

3 comments:

  1. Very easy short and simple way thank you sir

    ReplyDelete
  2. the suggested solution does not necessarily work if you have some own style definition in styles.xml and it won't work in newer Android versions...

    In such case, the following line has to be added inside the appropriate style definition in styles.xml (and/or in according values-v#/styles.xml as well):
    <item name="windowNoTitle">true</item>

    ReplyDelete
  3. sorry - fixed line:
    <item name="android:windowNoTitle">true</item>

    ReplyDelete