安卓30:Android Studio app默认打开为横屏显示(代码)

只需在AndroidManifest.xml文件的activity标签中使用以下代码,即可实现app默认横屏打开。
android:screenOrientation="landscape"在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/qq_43374694/article/details/113776134