Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何在安卓模拟器中模拟横向?
尝试按 ctrl+F12 :)
水平模拟是什么意思?如果您正在谈论活动方向,那么您可以在 AndroidManifest xml 文件中定义它,如下所示:
<activity .... android:screenOrientation="landscape"/>
setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE);