AndroidManifest.xml文件中,
screenOrientation="landscape" 为横屏,
screenOrientation="portrait"为竖屏
本文介绍了如何在AndroidManifest.xml文件中设置应用的屏幕显示方向。通过使用screenOrientation属性,开发者可以选择landscape(横屏)或portrait(竖屏)来指定应用的默认屏幕方向。
AndroidManifest.xml文件中,
screenOrientation="landscape" 为横屏,
screenOrientation="portrait"为竖屏
686

被折叠的 条评论
为什么被折叠?