> i'd like to hide the title bar, but it seems that the sample code --
>
> requestWindowFeature (Window.FEATURE_NO_TITLE);
>
> -- doesn't do anything. is there a way that works?

This works fine, when called in onCreate() of an activity:

getWindow().requestFeature(Window.FEATURE_NO_TITLE);

Or, as Andrew Stadler pointed out, you can use this in your <activity> in
your manifest:

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

Note that these remove the title bar. They do not remove the status bar
(where the signal strength and battery level indicators lie).

--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 1.9 Available!



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to