All I had to do was add android:clickable="true" to the button XML
definition. This allowed the button to have its own clicks, and
maintain the listitem click as it was.


On Jul 18, 6:29 pm, BoD <bodl...@gmail.com> wrote:
> Hi!
> I'm sure this is a classic question, but I couldn't find the answer
> anywhere.
>
> I'm trying to have a ListActivity whose items feature a button.
> As soon as I include the button on my item layout, the rows are no
> longer selectable.
>
> Any pointers to tutorials or sample code would be much appreciated!
>
> Thanks.
>
> BoD
--~--~---------~--~----~------------~-------~--~----~
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