在想要禁止的Activity中加入 android:screenOrientation=”portrait” 属性,其中,portrait是竖屏,landscape是横屏
贡献者
分享
程序员金钟
这家伙很懒,只想把你留下。
该资源仅限VIP专享下载