Oh well look at that...  didn't know Romain added that to HC.  Hm.  Not sure
I'm thrilled about it. :)

On Mon, May 9, 2011 at 5:12 PM, Jona <[email protected]> wrote:

> I haven't tested this but API 11 supports friction. See:
>
> http://developer.android.com/reference/android/widget/AbsListView.html#setFriction(float)
>
> Moto
>
> On May 9, 2:36 pm, Dianne Hackborn <[email protected]> wrote:
> > ListView already limits its fling speed; you shouldn't change it to
> behave
> > differently than it does everywhere else in the UI.
> >
> > On Mon, May 9, 2011 at 12:03 PM, Omar Adobati <[email protected]
> >wrote:
> >
> >
> >
> >
> >
> > > Hi Everyone,
> >
> > > I would like to knoe if I can limit the speed of the fling gestures in
> my
> > > ListActivity and if it is possible to stop the "scrolling" of the same
> list
> > > when I touch it.
> >
> > > My current situation is the following: If I perform a vertical scroll
> that
> > > trigers the Fling state, sometimes (often actually) my List View
> scrolls
> > > full speed to the bottom (or to the top) and dose't stop till it
> reaches the
> > > final position. This is not really user friendly... is there a way to
> limit
> > > it?
> >
> > > I have already tried with setFastScrollEnabled(false); but it seems to
> > > don't work.
> >
> > > Thanks to everyone who would like to help.
> >
> > > --
> > > 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
> >
> > --
> > Dianne Hackborn
> > Android framework engineer
> > [email protected]
> >
> > Note: please don't send private questions to me, as I don't have time to
> > provide private support, and so won't reply to such e-mails.  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 [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
>



-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  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 [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