Hi,

I have been trying out various ways but with no success. I am doing a full 
screen painting app for kids. But it can't go full screen without the 
following line in Manifest.xml:

android:theme="@android:style/Theme.NoTitleBar.Fullscreen"

But this statement causes a lot of behaviour issues in Android 3/4 
phone/tablets. Either the action bar disappeared, or I got full screen 
without any access to menu. 

Removing the line and with the following code:

requestWindowFeature(Window.FEATURE_NO_TITLE);        
getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, 
WindowManager.LayoutParams.FLAG_FULLSCREEN); 

Works for Android 3/4 phones, but will have status bar on Android 2!

How can I remove the status bar on Android 2 but still support Android 3/4? 
Thanks!

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to