Remove the background tag. That should help. Regards, Dexter.
On Sep 1, 11:10 pm, sdphil <[email protected]> wrote: > 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 [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 -~----------~----~----~----~------~----~------~--~---

