Answers for "android studio disable rotate screen"

1

how to disable screen rotation android studio

//put this <
this.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT);
 // > In your MainActivity.java
Posted by: Guest on August-23-2021
0

how to prevent screen rotating in app android studio

android:screenOrientation="portrait or landscape"
Posted by: Guest on December-22-2020

Code answers related to "android studio disable rotate screen"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language