Có thể đặt chiều cao TabWidget và có nhãn tab điều chỉnh không?TabWidget Chiều cao
Nếu tôi đặt chiều cao TabWidget quá nhỏ, thì các nhãn sẽ bị ẩn khỏi chế độ xem.
<TabHost xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@android:id/tabhost"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<LinearLayout
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:padding="5dp">
<TabWidget
android:id="@android:id/tabs"
android:layout_width="fill_parent"
android:layout_height="30px" />
<FrameLayout
android:id="@android:id/tabcontent"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:padding="5dp" />
</LinearLayout>
</TabHost>
Cảm ơn
Điều đó sẽ thực hiện công việc. Cảm ơn. – Steve