Results 1 to 3 of 3
  1. #1
    offline Itty Bitty Modder
    Join Date
    Dec 2008
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Downloads
    0
    Uploads
    0

    hiding the title bar

    I've found this implementation to hide the title bar:

    requestWindowFeature(Window.FEATURE_NO_TITLE);

    But how is this done in the XML layout files? I thought I saw it previously somewhere, but I can't seem to find it now.

    More importantly, if this is able to be set in the XML file, where can I find the documentation that refers to this?

    Thanks

  2. #2
    living_sword's Avatar
    offline Retired Moderator
    Join Date
    Oct 2006
    Location
    Mumbai
    Posts
    7,568
    Thanks
    179
    Thanked 998 Times in 758 Posts
    Downloads
    620
    Uploads
    361
    It is done in the AndroidManifest file. Below is a sample from our PlaysVideo app.

    [highlight="xml"]
    <activity android:name=".VPlay"
    android:theme="@android:style/Theme.NoTitleBar.Fullscreen" android:screenOrientation="landscape">

    <intent-filter>
    ....
    </intent-filter>

    </activity>[/highlight]

  3. #3
    offline Itty Bitty Modder
    Join Date
    Dec 2008
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Downloads
    0
    Uploads
    0
    Thanks!!!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •