this may help u.. try it out..i am not sure..:)
getApplicationContext().setTheme(android.R.style.Theme_NoTitleBar_Fullscreen);

On Aug 20, 3:26 am, Moto <[email protected]> wrote:
> 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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to