@TreKing Perfect I understand why to use your method since java in a way limits us from multiple extends.... :) Thanks man great help!
@Dianne Thanks for that information now I know not to spend much time figuring out if I can set the "full screen" setting for the lifetime of the app... It's always good to understand the core so I don't fight the current :) Thanks all I'm all set! :) -Moto! On Aug 21, 4:54 pm, Dianne Hackborn <hack...@android.com> wrote: > On Thu, Aug 19, 2010 at 10:27 PM, Kantesh <kantesh....@gmail.com> wrote: > > this may help u.. try it out..i am not sure..:) > > > getApplicationContext().setTheme(android.R.style.Theme_NoTitleBar_Fullscreen); > > No this won't do anything you want. The application context is global to > the process, but not associated with a UI state, so you can't do UI from it. > Also it is just global to the process, so once your process is killed, > whatever you did to it is lost. > > You'll just need to check a setting in each onCreate() and set your window's > full-screen flag as desired based on it. You can just write a little > function that takes an activity and does this, and put it in the onCreate() > of each of your app's activities. > > -- > Dianne Hackborn > Android framework engineer > hack...@android.com > > Note: please don't send private questions to me, as I don't have time to > provide private support, and so won't reply to such e-mails. All such > questions should be posted on public forums, where I and others can see and > answer them. -- 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