Défiler les onglet HorizontalScrollView sur TabWidget
Bonjour,
Je n'arrive pas à faire défiler mes onglets (HorizontalScrollView).
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
| <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"
android:layout_gravity="center">
<LinearLayout
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@drawable/fond"
android:padding="5dp"
>
<ScrollView
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<FrameLayout
android:id="@android:id/tabcontent"
android:layout_width="fill_parent"
android:layout_height="900dp"
>
</FrameLayout>
</ScrollView>
</LinearLayout>
<!-- ici -->
<HorizontalScrollView
android:id="@+id/horizontalScrollView"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_gravity= "bottom"
android:fillViewport="true"
android:scrollbars="none"
>
<TabWidget android:id="@android:id/tabs"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_gravity= "bottom"
/>
</HorizontalScrollView>
</TabHost> |
Est ce quelqu'un aurait une idée du problème ?
Merci.