Just a random thought: you could try to add android:focusable="true"
There's also android:focusableInTouchMode="true".
That might be a moot point as I believe buttons are focusable by default.
R/

On Mon, Dec 15, 2008 at 10:51 AM, cindy <ypu01...@yahoo.com> wrote:
>
> Hi all,
>
> I have defined a button with only background image( I don't wnat to
> have border of button). It shows on screen correctly.
> But when I use track ball to select buttons. it never get selected. It
> happens to ImageButton too.
>
> <ImageButton android:id ="@+id/audio_resetB"
>                        android:background="@drawable/remove"
>                        android:layout_width="wrap_content"
>                        android:padding ="12px"
>                        android:layout_height="wrap_content"
>                        android:layout_alignParentLeft="true" />
>
> Does any one have small experience?
>
> Thanks!
>
> Cindy
>
>
> >
>

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