如何在Android Instant app中禁用屏幕方向???
我在每个Manifest文件中使用了qazxsw poi(在3个文件中),但它没有帮助!
感谢您报告错误Igor。在即时应用程序中通过Manifest设置screenOrientation的修复工具即将推出。
你可以这样做 来自片段
android:screenOrientation="portrait"
来自活动
getActivity().setRequestedOrientation (ActivityInfo.SCREEN_ORIENTATION_PORTRAIT); // programmatically