i would like to get rid of the defualt grey bar which apears at the top of my application. I just can't seem to find the attribute or setting to do so. how can this be achived? thanks
Use android:theme="@android:style/Theme.NoTitleBar"
, either for this specific <activity>
element in your manifest, or for the whole <application>
element if you want it gone for all of them. Here's a FAQ entry about it.
I tried the manifest method but for some reason it wasn't working. However using the .java method as described here worked.
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