I'd like to create an ImageButton with a virtual touch area larger than its visual area, to make it easier for a user to touch the button (or button area).
What's the best way to do this? Adding android:padding appears to stretch the drawable image, at least in the Android 1.5 emulator. <ImageButton android:id="@+id/next" android:background="@drawable/xyz" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="4dip" android:layout_gravity="center" android:focusable="true" android:nextFocusLeft="@+id/abc" android:padding="10dip" /> --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---