Check out this forum post for ideas: http://www.anddev.org/creating_a_contextmenu_on_a_listview-t2438.html
On Jun 11, 7:05 am, Mark Murphy <mmur...@commonsware.com> wrote: > Dexter's Brain wrote: > > I have a ListView whose layout contains several TextViews. When an > > item is clicked on the ListView, is it possible to capture on which > > TextView he has clicked? > > You will want to call setOnItemClickListener() and/or > setOnItemSelectedListener() on the ListView. The former is for > screen-taps on list items; the latter is when the user scrolls to the > item via the trackball/d-pad and then clicks on it (again, with the > trackball/d-pad). > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://twitter.com/commonsguy > > Looking for Android opportunties?http://wiki.andmob.org/hado --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---