Hi Erel,
I am new to Basic4Android and I have a question re the Scroll View.
It is giving me an unexpected result.
I have a scrollview sv which is defined using the Designer in Basic4Android for layout Main - I loaded the scrollview panel with another Layout designed in the designer also
using
Activity.LoadLayout("Main")
sv.Panel.LoadLayout("MainPanel")
and in the designer script I have for Main
AutoScaleAll
sv.SetLeftAndRight(0,100%x)
sv.SetTopAndBottom(0,100%y)
sv.Height = 100%y
sv.Width = 100%x
The MainPanel is designed to take up the full screen of a Samsung Galaxy S3 but when I run the app I get a black area at the bottom which hides/covers the bottom part of the MainPanel.
If I change Activity.LoadLayout("Main") to Activity.LoadLayout("MainPanel") I then can see all the MainPanel views with no black area at bottom. So it seems that it is something to do with the scroll view and the way that I have defined it and its panel. Any help would be greatly appreciated.
Thank You.
Kind Regards,
Tom