Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
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 Software Craftsman this week in the Agile 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 liya
Ranch Hand

Joined: Nov 25, 2008
Posts: 1239
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: 4181
    
  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 liya
Ranch Hand

Joined: Nov 25, 2008
Posts: 1239
Thanks Steve.
 
Have you tried LearnNowOnline? http://www.learnnowonline.com/
 
subject: columns and rows in scroll view