Ok I can see setting it to non-focusable 'solves' the problem but
that's not really what I was hoping to do. Well, too bad, the user
can't focus but only tap now.

On Apr 9, 9:21 pm, fg1921 <guidedw...@googlemail.com> wrote:
> Hi
>
> This must be something very simple but I've tried almost everything
> and still can't get this to work.
>
> Basically I've made a custom LinearLayout view with a TextView and an
> ImageButton to be used as a row for a ListView. The moment I use an
> ImageButton tapping on the row does not highlight the row any more.
> Moreover, I can't 'focus' the rows using the trackball, nor can I set
> focus on the button.
>
> If I remove the ImageButton and replace with an ImageView, the Row
> highlight/selection works. How can I get row selection/highlight along
> with ImageButton highlight at the same time?
>
> Many thanks!
--~--~---------~--~----~------------~-------~--~----~
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