Stefan wrote:
> Adding the button itself to the row and handling the button clicks
> works fine, the problem is that for every row that has a button, you
> can't click on the row itself anymore. You can click on the row's
> button, but clicking on the rest of the row does not generate
> ItemClick event for that row in the list view.

Correct. A row can either have focusable widgets -or- a row can be 
selectable. Not both.

http://groups.google.com/group/android-developers/browse_thread/thread/1fde30269b97f998/8f982b5c68febcf5

> Oddly enough, if you use a RatingBar on the row instead of the Button
> you can click on both the row and the rating bar independently and
> they all work correctly as expected.

I suspect RatingBar may not be focusable, which would explain the 
discrepancy.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com

Android Training on the Ranch! -- Mar 16-20, 2009
http://www.bignerdranch.com/schedule.shtml

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

Reply via email to