由网友(灵魂操控者ゝ)分享简介:我米有下面的画面,I m having following screen,我使用的关注code键使布局以显示tabhost和标签控件I am using Following code to make Layout to show tabhost and tab widget我要放置标签的底部。请告诉如何做到这一点。...
我米有下面的画面,
I m having following screen,
我使用的关注code键使布局以显示tabhost和标签控件
I am using Following code to make Layout to show tabhost and tab widget
我要放置标签的底部。 请告诉如何做到这一点。
I want to place the tabs at bottom . Please tell how to do this.
推荐答案
嘿,我做这个使用下面的code:
Hey I've done this using following code:
<LinearLayout
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:padding="5dp">
<FrameLayout
android:id="@android:id/tabcontent"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:padding="5dp"
android:layout_weight="1"/>
<TabWidget
android:id="@android:id/tabs"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="0"/>
</LinearLayout>
相关推荐
最新文章