Tony George
Tony George

Reputation: 75

Setting Orientation in Gluon Application

I want to prevent my Gluon Application which written with javaFX from rotating by setting the Orientation to Portrait only

anyone can help ?

Upvotes: 2

Views: 499

Answers (1)

jns
jns

Reputation: 6952

Add this line to your AndroidManifest.xml under the activity tag:

     android:screenOrientation="portrait" 

Upvotes: 2

Related Questions