锁定水平视图 [英] Lock Horizontal View

查看:93
本文介绍了锁定水平视图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在我的应用程序锁定水平视图,这可能吗?

I want to lock horizontal view in my app, is it possible?

帮助是非常AP preciated,

Help is highly appreciated,

谢谢,

推荐答案

在添加此code你menifest ...

add this code in your menifest...

<activity android:name=".activity"
        android:configChanges="orientation"   android:screenOrientation="portrait"></activity>

这篇关于锁定水平视图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆