Hi,

I have the following layout which display 3 buttons on a row. how can
i make it so that each button is evenly distributed across the row?
Right now, they are all crowded in the center of the row.

Thank you.

 <LinearLayout
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:layout_gravity="bottom"
            android:gravity="center"
            >
            <ImageButton android:id="@+id/one"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
            <ImageButton android:id="@+id/two"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
      <ImageButton android:id="@+id/three"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
    </LinearLayout>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to