aspose file tools*
The moose likes Android and the fly likes columns and rows in scroll view Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "columns and rows in scroll view" Watch "columns and rows in scroll view" New topic
Author

columns and rows in scroll view

sam liyanage
Ranch Hand

Joined: Nov 25, 2008
Posts: 1087
I need to shows columns and rows in scroll view.But normally scrollview doesn't allow to have more than one child.So how to do this ?
Steve Luke
Bartender

Joined: Jan 28, 2003
Posts: 4179
    
  21

Let me quote myself from the last time you asked this same question:
Steve Luke wrote:From the API:
A HorizontalScrollView is a FrameLayout, meaning you should place one child in it containing the entire contents to scroll; this child may itself be a layout manager with a complex hierarchy of objects.


This is as true for the ScrollView as it is for the HorizontalScrollView, which you would know if you ever read the API, but I assume that is beyond hope at this point.


Steve
sam liyanage
Ranch Hand

Joined: Nov 25, 2008
Posts: 1087
Thanks Steve.
 
 
subject: columns and rows in scroll view