我想在以下图像中放置TextView
below the red zone
,但我只能这样做。 enter image description http://i43.tinypic.com/cm93s.png在屏幕上显示textView
到现在为止,我有以下布局:
<TabHost android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:id="@+id/tabhost1"
xmlns:android="http://schemas.android.com/apk/res/android"
>
<RelativeLayout
android:layout_width="fill_parent"
android:layout_height="fill_parent"
>
<TabWidget
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:id="@android:id/tabs"
android:layout_alignParentBottom="true"
/>
<FrameLayout
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:id="@android:id/tabcontent"
>
</FrameLayout>
</RelativeLayout>
</TabHost>
<LinearLayout android:layout_width="fill_parent"
android:layout_below="@id/layout"
android:layout_height="wrap_content"
android:orientation="vertical">
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/text"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:text="0 restaurant trouves"
android:gravity="center_horizontal"
android:layout_alignParentBottom="true"
android:textSize="15dip"
android:textColor="#000000"
/>
</LinearLayout>
有人可以告诉什么是正确的代码将textView放置在红色标签下面吗? 谢谢!
我真的不知道你有什么那里进行,但没有,它不是working.Let我说清楚:我在下面的空格两个选项卡(清单当然和计划)他们我想把这个textView !!!!!!!! – adrian 2012-01-27 15:37:17
是的,我希望它在Liste和Plan标签中都可见! – adrian 2012-01-27 15:38:36