Android java: How to orientation activity layout automatically ?
Add ~android:screenOrientation="fullSensor"~ to the activity
AndroidManifest.xml activity android:name=".MainActivity" android:screenOrientation="fullSensor"
Add ~android:screenOrientation="fullSensor"~ to the activity
AndroidManifest.xml activity android:name=".MainActivity" android:screenOrientation="fullSensor"