How do you set a panel to cover the entire screen? I tried to use 100%y but that didnt work and also how do you get a scrollview to resize to the bottom of a label? Here is the code I have tried.
I tried this and the scrollview still has a big white space area below the text. Any ideas?
B4X:
Dim stu As StringUtils
lblText.Height = stu.MeasureMultilineTextHeight(lblText, lViewPoke.lblText)
ScrollView1.Panel.Height = Panel5.Top + Panel5.Height
Panel5.Height = lblText.Top + lblText.Height
I tried this and the scrollview still has a big white space area below the text. Any ideas?