Roger, this is what i have done;
1. i duplicate main.bal with other file name say main1.bal
2. i remove landscape variant in main.bal, and so i remove potrait variant in main1.bal
3. change activity_create with:
Sub Activity_Create(FirstTime As Boolean)
ScrnOrientVal = StateManager.GetSetting2("ScrnOrientVal", 1)
If ScrnOrientVal = 0 Then
Activity.LoadLayout("main1") 'landscape
Else
Activity.LoadLayout("main") 'portrait
End If
Phone1.SetScreenOrientation(ScrnOrientVal)
Canvas1.Initialize(Activity)
...
...
End Sub
4. no change with
PortLand_Click sub, since orientation change will raise Activity_Create event and load correct layout
5. i change script in main1.bal to arrange the buttons
This is how it look on my real-device;
View attachment 88180
i believe there is another part which should be adapt with landscape layout like about, help, review etc...etc... and you know what it is
*the project EXCLUDE font file, so you must add manually