This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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: 1070
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: 4164
    
  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: 1070
Thanks Steve.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: columns and rows in scroll view
 
Similar Threads
JTable row
Horizontal scrolling with fixed columns
Get Reference of JScrollPane from JPanel
Problem With Richfaces datatable and datascroller
TextArea