I would like to know why this doesn't work as well. I'm able to use
the options mentioned by gigadude but the device fails to hide the
notification and title bars and also fails to render the OpenGL scene
when the MEMORY_TYPE_GPU flag is set with Window.requestFeature

On Mar 6, 1:16 am, gigadude <e.a.hutch...@gmail.com> wrote:
> While trying to get a GLES demo running full screen I came across:
>
> http://groups.google.com/group/android-developers/browse_thread/threa...
>
> which is out of date, the correct code now seems to be:
>
>         // We don't need a title either.
>         requestWindowFeature(Window.FEATURE_NO_TITLE);
>
>         // remove status bar
>         int flags = WindowManager.LayoutParams.FLAG_FULLSCREEN;
>         getWindow().setFlags(flags, flags);
>
> I noticed there are some other interesting WindowManager.LayoutParams
> flags:
>
> WindowManager.LayoutParams.MEMORY_TYPE_GPU
> WindowManager.LayoutParams.MEMORY_TYPE_PUSH_BUFFERS
> WindowManager.LayoutParams.MEMORY_TYPE_HARDWARE
>
> all but WindowManager.LayoutParams.MEMORY_TYPE_HARDWARE seem to
> prevent
> the app from drawing anything, is there a detailed description of what
> said flags actually do?
>
>   - Ed

--~--~---------~--~----~------------~-------~--~----~
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