Thursday, August 19, 2010

[android-developers] enable/dissable fullscreen for lifetime of the app?

Currently my application allows the user to set the application to run
in full screen. I than check in every activity at onCreate() if the
user has set to make the app run in full screen. Is there a better
way to do this? I have many other settings that I do and I find this
method a little bad in terms of code design.

Is there a way to set full screen for the lifetime of app or until I
set it back to not full screen?

One way to do it would be to have a custom Activity class that does
these checks and all my activities can just implement it? would that
be slow is it recommended?

Thanks!
-Moto

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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate