Android禁止程序自动旋转的配置 在想要禁止的Activity中加入 android:screenOrientation="portrait" 属性,其中,portrait是竖屏,landscape是横屏 -----人若无名,则可专心练剑