Android Question add views to scrollview

Cenny

Active Member
Licensed User
Longtime User
Hi,
is it possible to add views to the scrollview's innerpanel using the designer?

Cenny
 

MarkusR

Well-Known Member
Licensed User
Longtime User
i believe not, i missed this too.
but at runtime you can load a layout into.
B4X:
ScrollView1.Panel.LoadLayout("Scroll")
 
Upvote 0

klaus

Expert
Licensed User
Longtime User
Not directly.
You can define a layout file in the Designer and load it onto the internal ScrollView.Panel in the code.
The ScrollView can be in another layout file defined in the Designer.

You may have a look at ScrollView Examples summary.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…