如何设置选项卡中的Andr​​oid屏幕的底部?选项卡、如何设置、屏幕、Andr

2023-09-06 02:37:45 作者:新城已无旧少年.

我的工作tabactivity。

i am working on tabactivity.

我想告诉下面的tabcontent(的FrameLayout)我tabwidget。

i wanna show my tabwidget below the tabcontent(framelayout).

我通过设置tabwiget标签属性为

i done it by setting the tabwiget tab attribute as

android:gravity="bottom"

不过的FrameLayout不能与标签一致。

but the framelayout cant align with those tabs.

是这样的选项卡显示在屏幕的底部,并重叠的FrameLayout

该怎么做?如果设置一些高价值的的FrameLayout它不是针对Android的所有屏幕进行了优化。我能做什么?任何想法???

how to do that? if set some height value to the framelayout it not optimized for all screens of android. what can i do? any idea???

推荐答案

或只使用一个自定义的: HTTP://$c$c.google.com/p/androidtabs/

or just use a custom one from: http://code.google.com/p/androidtabs/

它可以让底部的标签

 
精彩推荐
图片推荐