do not use scrollView at all and use LinearLauout and use combination of
touch events and scrollBy(int,
int)<file:///E:/android-sdk-windows-1.5_r3/docs/reference/android/view/View.html#scrollBy%28int,%20int%29>,
scrollTo(int, 
int)<file:///E:/android-sdk-windows-1.5_r3/docs/reference/android/view/View.html#scrollTo%28int,%20int%29>.
By this way you can also achieve horizontal scrolling.


--
Best Regards,
Atif Gulzar

I ◘◘◘◘ Unicode, ɹɐzlnƃ ɟıʇɐ



On Mon, Aug 10, 2009 at 2:50 PM, rukiman <[email protected]> wrote:

>
> Just wondering if there is an easier way to simply stop ScrollView
> from being scrolled via touch inputs? I will programmatically get the
> ScrollView to scroll to top or bottom.
>
> As a last resort, I guess I will have to inherit from ScrollView and
> capture all the ontouch events. But wondering if there is an easier
> way before I take this approach?
>
> Thanks.
> >
>

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