On Thu, Aug 19, 2010 at 10:27 PM, Kantesh <[email protected]> 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 [email protected] 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 [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

