1.android:screenOrientation="portrait",表示当切换横竖屏的时候,屏幕的内容始终以竖屏显示,而不会根据屏幕的方向来显示内容. 2.插入个Android Studio永久显示行数小技巧:目前我用的是Android Studio 1.5,低版本和高版本设置略有不同,百度搜的大部分是以前版本的,所以还是力推Google.如下图:…
在Android的官方文档当中,对android:screenOrientation的说明如下: http://www.cnblogs.com/snowberg/archive/2012/07/15/2618908.html android:screenOrientationThe orientation of the activity's display on the device. The value can be any one of the following strings: "uns…
android:screenOrientationThe orientation of the activity's display on the device. The value can be any one of the following strings: "unspecified" The default value. The system chooses the orientation. The policy it uses, and therefore the choic…