How to keep app in portrait mode?

18 views
Skip to first unread message

Tom Farrell

unread,
Feb 1, 2023, 6:46:59 PM2/1/23
to DroidScript
I just need to know how to keep my DroidScript app from going into landscape mode when my phot gets rotated, if in fact that is possible?  Thanks!

Right2TheV0id

unread,
Feb 2, 2023, 3:34:56 AM2/2/23
to DroidScript
To achieve this you can either put "app.SetOrientation( "Portrait" );" On top of your OnStart function,
or add cfg.Portrait on top of your main script.

Reply all
Reply to author
Forward
0 new messages