As a work around to the issue where a list item isn't focusable if it
has a focusable child item (a comment by Romain Guy was that this was
intended behavior, for accessibility reasons) I simply filled the
listItem with two children, each of which is focusable -  There's
nowhere to directly touch on the listItem anymore, just it's
children.

For the most part this is a useable workaround, effectively invisible
to the user, except for one thing-  Although you can scroll by swiping
without issue, touching to *stop* the scroll no longer works-  I
imagine because the child item is capturing the touch event and not
passing it to the parent listitem, at least while the scroll is in
effect.

Is there a known workaround for this?  Perhaps someway to "pass the
baton" of the touch event back up to the parent listItem, or a way to
change my design?

BTW-  I know there's some built-in functonality for single/multiple
choice listviews (checkbox listviews) - That doesn't actually help in
my case.  The app is a contact list, and the row children are a
relativelayout (populated with contact info) and a clickable phone
icon (a one-touch dial for the contact), which needs to be visible or
invisible depending on whether the stored contact has a phone number.

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