在配置文件中对Activity节点添加android:screenOrientation属性(landscape是横向,portrait是纵向) android:launchMode="singleTask" android:screenOrientation="landscape">