Hi,

On Mar 23, 7:52 pm, droozen <[email protected]> wrote:
> Have you tried following the Notepad tutorial and this line in your
> onCreate method?
>
>         registerForContextMenu(getListView());
>

Why would I want to do that, I do not need a context menu. Maybe I
didn't make myself clear enough about the problems I run into. It's
really simple actually: I have a ListActivity, and in the list that is
hosted by this activity I render list items using a custom
RelativeLayout. Nothing fancy at all.

Now, of course I want those items to be selectable and clickable by
the user. And that doesn't work. The user has to scroll to an item
first using the dpad/trackball to focus it, and only then is able to
click it. I want the item to be directly pressable, however, using a
touch motion. But that event never reaches the list view, and thus
onListItemClick() is not called. It seems that for some reason, my
list items consume all touch gestures before they are able to
propagate up to the view and be able to be interpreted as a click. But
that's just a wild guess. I have absolutely no idea how this is even
possible, especially since it works in other ListActivities I use.
--~--~---------~--~----~------------~-------~--~----~
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