Bonjour
J'utilise un TabActivity : pour l'instant mes onglets sont en haut de l'écran. Comment faire pour les mettre en bas de l'écran ?
Merci d'avance
Bonjour
J'utilise un TabActivity : pour l'instant mes onglets sont en haut de l'écran. Comment faire pour les mettre en bas de l'écran ?
Merci d'avance
J'ai enfin trouvé en jouant sur le fichier XML :
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
24
25
26
27
28 <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent"> <TabHost android:id="@android:id/tabhost" android:layout_width="fill_parent" android:layout_height="fill_parent"> <RelativeLayout 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:layout_alignParentBottom="true"> </TabWidget> <FrameLayout android:id="@android:id/tabcontent" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_alignParentTop="true" android:layout_above="@android:id/tabs"> </FrameLayout> </RelativeLayout> </TabHost> </FrameLayout>
Partager