> I want to create a ListView with a custom row that remains tappable and
> long-tappable.

Actually, what it appears you're trying to create is a ListView with a
custom row *containing focusable widgets* that remains
tappable/long-tappable.

The distinction is important, and, alas, it's not exactly easy.

> If I use the following row (lifted directly from Mark Murphy's book, p90),
> everything works as expected:

Sure, sure, drag me into this, why don't you...

;-)

> It makes sense that tapping the CheckBox should toggle the star.  But I
> would expect that tapping the TextView would still select and click the
> row
> and it doesn't.  Similaraly, long-taps are now disabled...
>
> So how do I restore the ability to tap and long-tap on the TextView?

Romain Guy has covered this issue on this list a couple of times. Here's
one of the threads:

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

Upshot: can you use a context menu instead?

--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 1.4 Published!



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