I want the image to be right aligned within the image button.

This --

                <ImageButton android:id="@+id/MyButton"
                             android:layout_width="fill_parent"
                             android:layout_height="fill_parent"
                             android:layout_alignParentRight="true"
                             android:layout_gravity="right"
                             android:gravity="right"
                             android:background="@color/transparent"
                             android:visibility="invisible"
                             android:src="@drawable/MyImage"/>

doesn't work.

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

Reply via email to