how to get orientation lock to portrait android stackoverflow

Solutions on MaxInterview for how to get orientation lock to portrait android stackoverflow by the best coders in the world

we are a community of more than 2 million smartest coders
registration for
employee referral programs
are now open
get referred to google, amazon, flipkart and more
register now
  
pinned-register now
showing results for - "how to get orientation lock to portrait android stackoverflow"
Daniela
18 Jan 2021
1 <activity
2            android:name="com.example.demo_spinner.MainActivity"
3            android:label="@string/app_name"
4            android:screenOrientation="portrait" >
5        </activity>