Try this, works for me,
hiding (called on Activity):
getWindow().addFlags
(WindowManager.LayoutParams.FLAG_FULLSCREEN);
showing (called on Activity):
getWindow().clearFlags
(WindowManager.LayoutParams.FLAG_FULLSCREEN);
Michael
On Jan 19, 3:19 pm, "Dianne Hackborn" wrote:
> Unfor
Unfortunately you can't currently hide and show the status bar dynamically.
On Mon, Jan 19, 2009 at 11:17 AM, slind...@gmail.com wrote:
>
> What if you want it only for one view (ie splash screens)?
>
> On Jan 14, 4:20 am, "Dianne Hackborn" wrote:
> > It is much better to just set android:theme
What if you want it only for one view (ie splash screens)?
On Jan 14, 4:20 am, "Dianne Hackborn" wrote:
> It is much better to just set android:theme in the manifest to the
> appropriate theme. For ex, android:theme="@android:type/Theme.NoTitleBar".
>
>
>
> On Tue, Jan 13, 2009 at 5:38 PM, sraj
It is much better to just set android:theme in the manifest to the
appropriate theme. For ex, android:theme="@android:type/Theme.NoTitleBar".
On Tue, Jan 13, 2009 at 5:38 PM, srajpal wrote:
>
> putting the following before you set the content view will make the
> view fullscreen
>
>
> requestWi
putting the following before you set the content view will make the
view fullscreen
requestWindowFeature(Window.FEATURE_NO_TITLE);
getWindow().setFlags
(WindowManager.LayoutParams.FLAG_FULLSCREEN,WindowManager.LayoutParams.FLAG_FULLSCREEN);
On Dec 17 2008, 1:25 am, "Eric Chan" wrote:
> Can
Can you make me known which one is fullscreen?
2008/12/17 Dianne Hackborn
> You could look at ApiDemos.
>
> On Tue, Dec 16, 2008 at 1:11 PM, Jason Proctor wrote:
>
>>
>> >This works fine, when called in onCreate() of an activity:
>> >
>> >getWindow().requestFeature(Window.FEATURE_NO_TITLE);
>>
You could look at ApiDemos.
On Tue, Dec 16, 2008 at 1:11 PM, Jason Proctor wrote:
>
> >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 in
> >your manifest:
>
> 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, a
8 matches
Mail list logo