How Do I Make My Android App Only Portrait?
Contents

With android_configChanges=”orientation” you tell Android that you will be responsible of the changes of orientation. android_screenOrientation=”portrait” you set the default orientation mode.

How do I change the orientation of my apps on Android?

On the main screen of Rotation Manager, select an orientation by tapping on either the vertical or horizontal icons next to a specific app to lock it into either landscape or portrait mode. Highlighting both icons will allow that particular app to auto-rotate.

How do you stop Android apps from rotating?

If you want to disable Landscape mode for your android app ( or a single activity) all you need to do is add, android_screenOrientation=”portrait” to the activity tag in AndroidManifest. xml file.

Elena Rostova

Elena Rostova

Lead Health, Wellness & Medical Journalist

Elena Rostova holds a Master's degree in Public Health Journalism. She covers groundbreaking medical research, holistic wellness trends, mental health awareness, and nutritional science.

Share this article
Twitter Facebook Pinterest