i have some activity with portrait and two activities that i set landscape with this code:
when i switch from on landscape activity to another landscape activity, first it switch to portrait and then goes to landscape Orientation.
how can i handle this problem?
tnx for your replies.
B4X:
Sub Globals
Dim ph1 As Phone
End Sub
Sub Activity_Create(FirstTime As Boolean)
ph1.SetScreenOrientation(0) '-1 Unspecified, 0 - Landscape, 1 - Portrait
End Sub
when i switch from on landscape activity to another landscape activity, first it switch to portrait and then goes to landscape Orientation.
how can i handle this problem?
tnx for your replies.