ITeye博客

android 固定屏幕显示方向

jguangyou · 2012-06-07 11:27 · android · 移动开发 · Markdown

如果需要设定应用程序的显示方向,可以增加android:screenOrientation参数 1.landscape 横向显示 2.portrait 纵向显示 3.unspecified 默认值 4.user 用户当前方向 5.sensor 根据重力感应显示 6.nosensor 不接受重力感应

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。