Android Question No Rotation a view

netsistemas

Active Member
Licensed User
Longtime User
#SupportedOrientations is defined for all proyect, but...

How do no ratation a activity/layout?
 
Thanks. Perfect

In Activity_create
Dim P As Phone
p.SetScreenOrientation(0)


Orientation - -1 for unspecified, 0 for landscape and 1 for portrait.
 
Upvote 0
Back
Top