• RSS
  • Delicious
  • Digg
  • Facebook
  • Twitter
  • Linkedin
Posted by Jack - - 3 comments

HIDE THE TITLE BAR

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

3 Responses so far.

  1. Anonymous says:

    Very easy short and simple way thank you sir

  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>

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

Leave a Reply