Bonjour,

avec le layout ci-dessous :

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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<?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"
    android:background="@drawable/loading" >
 
    <FrameLayout
        android:layout_width="fill_parent"
        android:layout_height="fill_parent" >
 
        <egingenierie.mfm.views.DownloaderImageView
            android:id="@+id/backgroundImage"
            android:layout_width="fill_parent"
            android:layout_height="fill_parent" />
 
        <LinearLayout
            android:layout_width="fill_parent"
            android:layout_height="fill_parent"
            android:orientation="vertical" >
 
            <LinearLayout
                android:id="@+id/actionbar"
                android:layout_width="fill_parent"
                android:layout_height="wrap_content"
                android:orientation="horizontal" >
 
                <TabWidget
                    android:id="@android:id/tabs"
                    android:layout_width="fill_parent"
                    android:layout_height="60dip"/>
            </LinearLayout>
 
            <android.support.v4.view.ViewPager
                android:id="@+id/pager"
                android:layout_width="fill_parent"
                android:layout_height="fill_parent" />
 
            <FrameLayout
                android:id="@android:id/tabcontent"
                android:layout_width="fill_parent"
                android:layout_height="fill_parent"
                android:visibility="gone" />
        </LinearLayout>
    </FrameLayout>
 
</TabHost>
ma tabhost fonctionne tres bien, ainsi que le programme. Cependant ici la Tabhost est au dessus de l'ecran et j'aimerai la positionner en bas.

Et la, c'est le drame. Comme tout est un peu "relié" dans tout les sens dans ce Layout j'ai beau le modifier, rien a faire: a chaque fois que la tabhost est positionnee en bas, ca n'affiche qu'elle meme.

Comment faire ?
Merci pour votre aide.