[android] Remove android default action bar

Possible Duplicate:
How to hide the title bar for an Activity in XML with existing custom theme

i remove the action bar by requestWindowFeature(Window.FEATURE_NO_TITLE); however, when the app starts, the action bar appears in a very short time before it executes the above statement. how can I make it totally disappear? thank

This question is related to android android-actionbar

The answer is


I've noticed that if you set the theme in the AndroidManifest, it seems to get rid of that short time where you can see the action bar. So, try adding this to your manifest:

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

Just add it to your application tag to apply it app-wide.


Similar questions with android tag:

Similar questions with android-actionbar tag: