Can the TabHost in Android 2.3 be fullscreen?
Usually, I use
requestWindowFeature(Window.FEATURE_NO_TITLE);
getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);
in an activity prior to setting the content view, but for some reason, doesn’t seem to work for the TabHost.
What am I missing?
This should work. You should do like this.
Make sure. You’d given the
requestWindowFeaturemethod and setting theflagbefore callingsetContentViewHope this will helps you. Its work fine for me.or you can do this in
Manifest.xml