Bonjour

à l'interieur d'un LinearLayout je veux deux layout l'un à coté de l'autre, je n'y arrive pas ils s'affichent l'un sous l'autre
voici mon code :

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
<LinearLayout
  	xmlns:android="http://schemas.android.com/apk/res/android"
  	android:id="@+id/fiche"
  	android:layout_width="fill_parent"
  	android:layout_height="fill_parent"
  	android:orientation="vertical"
  	android:layout_weight="1">
  		<LinearLayout
  		xmlns:android="http://schemas.android.com/apk/res/android"
  		android:id="@+id/texte"
  		android:layout_width="wrap_content"
  		android:layout_height="wrap_content"
  		android:orientation="vertical"
  		android:layout_gravity="Left"
  		android:layout_weight="1">
  			<TextView
  			android:id="@+id/text1"
			android:layout_width="fill_parent"
			android:layout_height="wrap_content"
			android:textSize="12px"
			android:textColor="#000000"/>
			<TextView
  			android:id="@+id/text2"
			android:layout_width="fill_parent"
			android:layout_height="wrap_content"
			android:textSize="12px"
			android:textColor="#000000"/>
   		</LinearLayout>
  		<LinearLayout
  		xmlns:android="http://schemas.android.com/apk/res/android"
  		android:id="@+id/image"
  		android:layout_width="wrap_content"
  		android:layout_height="wrap_content"
  		android:orientation="vertical"
  		android:layout_gravity="right"
  		android:layout_weight="1">
  			<ImageButton
  			android:layout_width="wrap_content"
  			android:layout_height="wrap_content"
   			android:layout_marginBottom="5px"/>
   			<ImageButton
  			android:layout_width="wrap_content"
  			android:layout_height="wrap_content"
   			android:layout_marginBottom="5px"/>
    	</LinearLayout>
 </LinearLayout>
Pouvez-vous me dire pourquoi