I'm trying to load a panel with all of its child views into a scroll view but I am failing miserably.
I have an activity that when a button is pressed a panel will pop up asking for information, but a lot of information is asked for so the panel goes outside the viewing area. I've tried setting up a scroll view and then loading the panel into it but nothing shows at all, just blank.
Also tried adding
but no luck.
Ive used the method described in the tutorial here but I don't want to load another layout.
I have an activity that when a button is pressed a panel will pop up asking for information, but a lot of information is asked for so the panel goes outside the viewing area. I've tried setting up a scroll view and then loading the panel into it but nothing shows at all, just blank.
B4X:
Dim ScrollView1 As ScrollView
ScrollView1.Initialize(InfoPanel.Height)
ScrollView1 .Panel.Height = InfoPanel.Height + 50dip
ScrollView1 .RemoveView
ScrollView1 .Panel.AddView(InfoPanel,0,0,100%x,100%y)
Also tried adding
B4X:
For Each v As View In InfoPanel.GetAllViewsRecursive
Next
Ive used the method described in the tutorial here but I don't want to load another layout.