I went as far as to fully hack the ScrollView class itself to 2D
scrolling capability.  I'm pretty sure I got the class set up
properly, but I could never get it to receive horizontal scrolling
events, so it never triggered the horizontal routines I incorporated
into it.  I believe the problem occurs at a higher level of the layout
manager.  I have, as yet, failed to produce a solution.  If you look
at my app, Shread Spreet, you will see that I have resorted to a
combination of true vertical scrolling and "paged" horizontal
scrolling using buttons that rebuild the layout from scratch on a per-
page basis.  Until I find a better way, that's how I'm going to have
to do it.  <sigh>

On Jan 4, 4:39 pm, Moto <[email protected]> wrote:
> I've read all over and everyone one asks how to achieve a horizontal
> scrolling on a LinearLayout.  It's really bad that no one has a
> solution to this issue...
>
> My question is;
>
> 1. How do you use Scroller class? do I have to extend the class?
> 2. How could I track finger location movement on a layout?
>
> A little hard coded Horizontal moving of a Layout.
>
> Move Item Horizontally:
> LinearLayout tbl = (LinearLayout)findViewById( R.id.MenuBarLayout );
> tbl.scrollTo(40, 0);
>
> Hopefully someone can point me to the right direction...
>
> Thanks,
> Moto!
--~--~---------~--~----~------------~-------~--~----~
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