J'ai un petit problème d'alignement dans LinearLayout. J'essaie d'avoir deux éléments avec l'alignement à gauche et le troisième au centre de l'écran.LinearLayout Center
Voici mon code (nettoyé de id, texte, src):
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@color/color_background"
>
<LinearLayout
android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="wrap_content">
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content">
</ImageView>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content">
</TextView>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal">
</TextView>
</LinearLayout>
</LinearLayout>
alt text http://img807.imageshack.us/img807/5953/imageg.png
Voici ce que je suis en train de faire, rose et jaune sur la gauche, rouge au centre
pink = imageview
yellow = 1st texview
red = 2nd textview
Une idée?