Solution is to put the table insede a ScrollView, which is inside a HorizontalScrollView.
Best, Johan On 28 Sep., 22:02, Mobil Tester <pdctes...@gmail.com> wrote: > Hello, > > I have aTableViewthat gets truncated, if it is larger than the > screen. Most of the time, it is small enough to be shown on the > screen, but in case it gets too big, I would like to be able to scroll > vertically and horizontally. > How do I do that? > > At one point, I tried to put theTableViewinside a GridView (which > should be scrollable both horizontally and vertically, right?) But it > was crashing, so I abandonned that path. > > I also tried to put theTableViewinside a ScrollView, and that worked > fined, except that ScrollView only supports vertical scroll. > > If I can't get this to work, I will make LinearLayouts inside another > LinearLayout, where I set one to have orientation vertical and the > other to be horizontal. But the drawback of this solution is that the > embedded LinearLayouts only scrolls independently. > > Regards, > Johan -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en