I am trying to make a tab activity. It works fine . I make
android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
in the definition in manifest file. But sometimes it does not take the full screen when launching. My program starts from a splash screen. That is an normal activity. My tab is at the buttom of the screen. So the tabs are go inside the screen.
Does Anyone know about the 开发者_JS百科problem?
Remove .FullScreen and instead use
android:theme="@android:style/Theme.NoTitleBar"
with your activity tags in AndroidManifest.XML, worked out for me
EDIT
in your Activity onCreate method use
getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);
精彩评论