android - Is it possible to use Tabwidget on 2 rows -
currently use tabwidget 4 tabs on 1 rows. each tab have text description, not icon. want insert 1 or 2 tabs more, it's not possilbe on rows because on small screen text description small.
i wonder if can add antoher tab row (just below first row) 1 or 2 tab inside?
my code is:
<tabhost android:id="@android:id/tabhost" android:layout_width="fill_parent" android:layout_height="fill_parent"> <tabwidget android:id="@android:id/tabs" android:layout_width="fill_parent" android:layout_height="wrap_content" android:dividerpadding="8dp" android:scrollbars="horizontal" /> <framelayout android:id="@android:id/tabcontent" android:layout_width="fill_parent" android:layout_height="fill_parent" android:paddingtop="65dp" > <!-- tab 1 --> <linearlayout android:id="@+id/tab_alimentation" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertical" android:padding="5dp" > </linearlayout> <!-- tab 2 --> <linearlayout android:id="@+id/tab_lance1" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertical" android:padding="5dp" > </linearlayout> <!-- tab 3--> <linearlayout android:id="@+id/linearlayout_tab_resultat" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertical" android:padding="5dp"> </linearlayout> <!-- tab 4 --> <linearlayout android:id="@+id/tab_lance2" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertical" android:padding="5dp" > </linearlayout> </framelayout> </tabhost>
do think it's possible,?
thx,