seems pretty straightforward.

        <LinearLayout android:orientation="horizontal"
                            android:layout_width="fill_parent"
                            android:layout_height="92px"
                            android:padding="0px"
                            android:horizontalSpacing="0px"
                            android:background="@drawable/my_background">
                <ImageButton android:id="@+id/Button1"
                             android:layout_weight="1"
                             android:layout_width="0px"
                             android:layout_height="fill_parent"
                             android:src="@drawable/button1"
                             android:background="@+colors/transparent"/>
                <ImageButton android:id="@+id/Button2"
                             android:layout_weight="1"
                             android:layout_width="0px"
                             android:layout_height="fill_parent"
                             android:src="@drawable/button2"
                             android:background="@+colors/transparent"/>
                <ImageButton android:id="@+id/Button3"
                             android:layout_weight="1"
                             android:layout_width="0px"
                             android:layout_height="fill_parent"
                             android:src="@drawable/button3"
                             android:background="@+colors/transparent"/>
        </LinearLayout>

But doesn't work!  argh...

It scrunches the layout background as the background to each button, I
want it to span all three buttons...

tia.
--~--~---------~--~----~------------~-------~--~----~
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