Bonjour, quoi faire pour positionner les onglets d'un tabhost en bas
Bonjour, quoi faire pour positionner les onglets d'un tabhost en bas
Bonjour,
un sujet avait déjà été ouvert la dessus.
http://www.developpez.net/forums/d10...liser-tabhost/
As tu essayé la méthode proposé ?
oui,mais je ne voit plus des onglets avec cette methode
Bonjour,
Essaye avec celui-la :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23 <?xml version="1.0" encoding="utf-8"?> <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"> <FrameLayout android:id="@android:id/tabcontent" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1" android:padding="5dp" /> <TabWidget android:id="@android:id/tabs" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="0"/> </LinearLayout> </TabHost>
ça Marche bien
un grand Merci pour vous
Partager