android studio make app portrait code example
Example: how to make android app only portrait
<activity android:name=".YourActivity"
android:configChanges="orientation"
android:screenOrientation="portrait"/>
<activity android:name=".YourActivity"
android:configChanges="orientation"
android:screenOrientation="portrait"/>