how to get orientation lock to portrait android stackoverflow code example
Example: how to get orientation lock to portrait android stackoverflow
<activity
android:name="com.example.demo_spinner.MainActivity"
android:label="@string/app_name"
android:screenOrientation="portrait" >
</activity>