开发者

TabActivity Implementing

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);
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜