在 2012年7月24日星期二UTC+8上午7时10分48秒,Mark Murphy (a Commons Guy)写道:
On Mon, Jul 23, 2012 at 6:57 PM, limtc <thyechean@gmail.com> wrote:--
> Is it possible to totally remove the status bar in the program?
You would have to ask the manufacturer of your "Android 4-based TV".
> I tried the
> usual including setting Theme.NoTitleBar.Fullscreen theme, setting the
> following:
>
> getWindow().setFlags(WindowManager.LayoutParams. FLAG_FULLSCREEN,
> WindowManager.LayoutParams.FLAG_FULLSCREEN);
>
> But the status bar remains there. Thanks for any help!
Then the manufacturer is presumably treating this as a tablet. On
Android 4.0, at least, you cannot get rid of the system bar, though
you can dim it. I *think* Android 4.1 lets you actually hide it,
though any touch event brings it back -- I have no idea how that would
translate to a TV, I have not yet tried it, and I might be
misunderstanding the documentation.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy
_The Busy Coder's Guide to Android Development_ Version 3.8 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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
No comments:
Post a Comment