Reputation: 75
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
Reputation: 6952
Add this line to your AndroidManifest.xml under the activity tag:
android:screenOrientation="portrait"
Upvotes: 2