Removing title bar of android application

try this:

in your application tag in manifest add android:theme,like follow:

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


In your AndroidManifest <activity> tag, add:

android:theme="@android:style/Theme.NoTitleBar.Fullscreen"


To do that I declared a style inheriting everything from my general style. This style disabled the default Android titleBar.

<style name="generalnotitle" parent="general">
    <item name="android:windowNoTitle">true</item>
</style>

Create a new style and add this style in your different views or add this code in the default style to disabled the titleBar for all windows!

Tags:

Java

Android