I want to hide the title bar in all activities of my app. To do that, I put the following attribute in the tag:
android:theme="@android:style/Theme.NoTitleBar"
The title bar is now hidden, but my problem is that my app looks weird with that attribute.
Before:
http://imageshack.us/a/img831/6905/screenshot1355296053406.png
with the noTitleBar attribute:
http://imageshack.us/a/img211/581/screenshot1355295921669.png
It looks like there is less contrast..
It makes no difference if the noTitleBar
attribute is in the application tag or in each activity tag.
Hope you can help me with my problem.
In onCreate()
of activity write following:
this.requestWindowFeature(Window.FEATURE_NO_TITLE);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With