Android Studio 3.6.
I want my app to be always in portrait mode. So in my AndroidMainfest.xml:
portrait
AndroidMainfest.xml
In your manifest tag (just under xmlns:android="http://schemas.android.com/apk/res/android"), put
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
Then inside the application tag, put
tools:ignore="LockedOrientationActivity"