android forced screen horizontal screen

A recent scan code when a function, open the page, the screen automatically switches to landscape mode, the operation for the scan code is also more convenient.
You can add attributes directly in the configuration file.
Add property label activity in a landscape of need:

            android:screenOrientation="sensorLandscape"
Published 139 original articles · won praise 35 · views 180 000 +

Guess you like

Origin blog.csdn.net/kanglovejava/article/details/101050317