我想在以下圖像中放置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