You could try setSelection(int pos, boolean animate)...
http://developer.android.com/reference/android/widget/AbsSpinner.html#setSelection%28int,%20boolean%29

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Fri, May 18, 2012 at 8:24 AM, Put_tiMe <[email protected]> wrote:

> I am trying to scroll a 'Gallery' widget programmatically.
>
> I actually scroll the gallery manually. Then when I do a 'getScrollX and
> Y', then it always returns me 0.
> It always returns me 'zero' no matter how much ever I have scrolled.
>
> How do I do this then?
>
>
>  --
> 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

-- 
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