I am using StdActionBar with ScrollView, codes is like this
B4X:
Private ScvVw As ScrollView
Sub Activity_Create(FirstTime As Boolean)
Dim height As Int = CalculateHeight(True, False)
vp.Initialize("vp", 2, 100%x, height)
Activity.AddView(vp.AsView, 0, 0, 100%x, height)
vp.Panels(0).LoadLayout("sales")
vp.Panels(1).LoadLayout("Lay1")
ScvVw.Panel.LoadLayout("others")
End Sub
The ScrollView on the layout 'Lay1' and other views (edittext,label,etc) are in 'others' Layout and they are design by the Designer.
I am not able to scroll the screen in the layout Lay1.
Found the problem. It was caused by ScrollView, which need a minimum Height to be able to scroll.
Attached is the simplified ver of the project. Scrollview in this project doesn't works, but if you change the panel Height to more than 430, than Scrollview works ok.
Setting Vertical Anchor to BOTH didn't work either.