I want to use the "portrait" orientation to phones and "unspecified" orientation to tablets.
I try this code in main activity, but don't works:
'SupportedOrientations possible values: unspecified, landscape or portrait.
If GetDeviceLayoutValues.ApproximateScreenSize > 6 Then
#SupportedOrientations: unspecified
Else
#SupportedOrientations: portrait
End If
Is possible to set orientation to phone (= portrait) and tablet (=unspecified)?
How I can do this?
Thanks in advance for any tip.