I had a similar problem in touch mode. In my case, individual OnClickListeners for each single convertView caused the problem. They were created by a custom adapter. E.g. I had code like this:
public class MyAdapter extends ArrayAdapter<MyData> { ... public View getView(int position, View convertView, ViewGroup parent) { ... convertView.setOnClickListener(itemData.onClickListenerRef); } } Removing this one line solved the problem for me - the list then stops to scroll whenever a touch-down event occurs. Instead I was using myList.setOnItemClickListener(...) with a general OnClickListener, because this did not affect the scrolling behavior of the list. Might be not your case though, just posting this for you to check. @Romain: Could you post the link to the issue that got addressed with your fix from last week? Or what was the issue that we should keep in mind when using previous framework versions? -- Philipp On Nov 16, 2:46 pm, Loki117 <thomas.sheppar...@gmail.com> wrote: > Damn still no joy > > I haveListView > > FocusableInTouchMode, Focusable > > Children > > Focusable but not in touch mode. > > itemsCanFocus set to true and still the same result I can see the > children highlight for the touch its just as if the event is not > bubbled up to theListViewtostopthe scroll .... I may just have to > wait for this fix hu? > > On Nov 16, 5:32 pm, Romain Guy <romain...@google.com> wrote: > > >ListViewalso has to be focusable in touch mode :) > > > On Mon, Nov 16, 2009 at 11:24 PM, Loki117 <thomas.sheppar...@gmail.com> > > wrote: > > > Oh Also apparently I lied theListViewis focusable already (just > > > tried to switch it to be so) but not focusable in touch mode could > > > this be the cause? > > > > On Nov 16, 5:06 pm, Romain Guy <romain...@google.com> wrote: > > >> > It doesn't HAVE to be programmatically it just happens that at the > > >> > moment when the user flings the list and then places there finger on > > >> > the list it doesn'tstopit keepscrollingbit highlights the selected > > >> > child in the list. > > > >> Ok that's not something you should have to handle. It happens to be a > > >> known issue I fixed last week, so it will be made public in whatever > > >> next release of Android. > > > >> > list view has not been set to focusable (it doesnt work even if it > > >> > does have a focusable / focusable touch) > > > >> TheListViewshould be focusable, it is very wrong to remove the > > >> focusability fromListView. > > > >> > all children are focusable > > > >> That's your problem. This is what causes the aforementioned bug. When > > >> you do this, you need to tellListViewthat is children are focusable. > > > >> -- > > >> Romain Guy > > >> Android framework engineer > > >> romain...@android.com > > > >> Note: please don't send private questions to me, as I don't have time > > >> to provide private support. All such questions should be posted on > > >> public forums, where I and others can see and answer them > > > > -- > > > 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 > > > -- > > Romain Guy > > Android framework engineer > > romain...@android.com > > > Note: please don't send private questions to me, as I don't have time > > to provide private support. All such questions should be posted on > > public forums, where I and others can see and answer them -- 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