Wish Make Powerful Scrollview in Designer

JohnC

Expert
Licensed User
Longtime User
It appears that one of the only things you can do with the scrollview control in the designer is create a layout that contains just a full-size scrollview on it.

It's crazy that I have to create two separate layouts to have a scrollable activity:

B4X:
Activity.LoadLayout("help_sv")
sv.Panel.LoadLayout("help_why")

What would be really cool is if I could place a scrollview in a layout using the designer, and then be able to place other views inside the scroll view using the designer and these child views will be automatically placed inside the scrollview's internal panel, and have the scrollview's internal panel auto adjust it's size for all the views.

This way I only need to load in one layout:

B4X:
Activity.LoadLayout("help_sv")

And I would only need to adjust the scrollviews height property to create an activity that can easily adapt to reduced visibility as when the keyboard is displayed.
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
Top