tags:

views:

49

answers:

2

hi, 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

+4  A: 

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.

CommonsWare
thanks this is exactly what I needed
Jason
A: 

A good article why you should avoid removing the title bar from an app by Googler Reto Meier: http://blog.radioactiveyak.com/2010/07/how-to-display-android-status-bar-in.html

Read and rethink if you really need to remove the title bar from your app.

Keyboardsurfer
I am just removing the Title bar not the notification bar. (the one that says the name of the application)
Jason