Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Remove Default Title Bar

How do I remove the top title bar that's default in an Android app?

enter image description here

The gray Hello, Android bar?

like image 955
Brianjs Avatar asked Mar 05 '12 03:03

Brianjs


People also ask

How do I hide the title bar in Chrome?

To get started enter “about:flags” into the Address Bar and hit Enter. Scroll down until you see the listing for Compact Navigation. Enable it and let the browser restart to gain access to the feature. Once the browser has restarted right click on one of the tabs and select Hide the toolbar from the Context Menu.


3 Answers

Its very simple to remove the title bar Just, Add the android:theme property to your AndroidManifest.xml

<application android:theme="@android:style/Theme.NoTitleBar">
like image 109
Lucifer Avatar answered Sep 27 '22 18:09

Lucifer


<style name="MyTheme" parent="@android:style/Theme.NoTitleBar">
    <item name="android:windowNoTitle">true</item>
    <item name="android:windowBackground">@drawable/xyz</item>
</style>
like image 26
Sai mukesh Avatar answered Sep 27 '22 20:09

Sai mukesh


enter image description here

Go into manifest file

Click the "Application" tab on the bottom (as shown)

Enter @android:style/Theme.NoTitleBar (as shown)

like image 39
EGHDK Avatar answered Sep 27 '22 19:09

EGHDK