Android Tutorial ScrollView example with a Panel higher than the screen

hibrid0

Active Member
Licensed User
Hi I follow this for my small project, I create the layaout for load on the scrollview, that work fine.
Create a script on designer for the layout for load on the scrollview, but when I run the app, all views on the layout are not in order like the script, just like put on the designer.
I reply to my question:

If you want to load a layout file (with a script) to the inner panel then you will need to first set the panel width: ScrollView.Panel.Width = ScrollView.Width.

Source:
https://www.b4x.com/android/forum/threads/designer-scripts-tutorial.16120/
 
Top