I have a table with 10 columns and 11 rows. All the columns are the same
size, except the first and last. I only want to display three columns at a
time - the first, a middle column, and the last column. Vertical scrolling
is handle normally.
My layout is:
LinearLayout
ScrollView (for vertical scrolling)
HorizontalScrollView
TableLayout
My plan is to extend HorizontalScrollView and override onGenericMotionEvent,
use the ActionMask to find any horizontal scrolling, and scroll the table by
using collapseColumn() to make one of the middle columns visible based on
the x direction of scrolling. Does this seem feasible? Has anyone tried this
before? Is there a better way?
Thanks!
Mark
--
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