Have you tried following the Notepad tutorial and this line in your onCreate method?
registerForContextMenu(getListView()); On Mar 23, 1:31 pm, Matthias <m.kaepp...@googlemail.com> wrote: > Hi, > > I have been struggling for over two hours now getting a custom > ListActivity to respond to touch/click events directly on its list > items. However, onListItemClick() is only called when first focusing a > list element and then pressing the trackball or dpad-center button. > > The odd thing is that it works in another custom ListActivity I > wrote... any general ideas when this can actually happen? I tried > playing around with the focusable und clickable attributes on all the > list entry views and the list view itself. I think I tried every > possible combination, but it never works.... it simply looks as if the > list items views are consuming the click event, so the list view never > gets to it, but then again, why would it work using the dpad then?? > > Any help greatly appreciated. > > Best, > Matthias --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---