Win a copy of Securing DevOps this week in the Security forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

columns and rows in scroll view  RSS feed

 
Ranch Hand
Posts: 1279
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ?
 
Bartender
Posts: 4181
22
IntelliJ IDE Java Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
sam liya
Ranch Hand
Posts: 1279
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Steve.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!