Android 如何更改 GENYMOTION 屏幕方向?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/20538711/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-20 03:00:14  来源:igfitidea点击:

How to change GENYMOTION screen orientation?

androidorientationemulationlandscapegenymotion

提问by topxebec

Is it possible to change the orientation of the genymotion emulator? Is there a shotcut or setting to change this?

是否可以更改 genymotion 模拟器的方向?是否有一个快捷方式或设置来改变这一点?

I've tried to google it but have not find it. Any suggestion would be appreciated,thank you.

我试过用谷歌搜索,但没有找到。任何建议将不胜感激,谢谢。

回答by slvn

Two ways :

两种方式:

  • Button in the sidebar
  • CTRL + F11
  • 侧边栏中的按钮
  • CTRL + F11

Edit : And if it does not work, it's surely because the application in foreground is orientation locked.

编辑:如果它不起作用,那肯定是因为前景中的应用程序方向锁定。

回答by winterDroid

It seems on Mac it is in the latest version CMD + F11and not CTRL + F11, although it is documented to be the last one.

似乎在 Mac 上它是最新版本CMD + F11而不是CTRL + F11,尽管它被记录为最后一个。

回答by farooq shaik

When device rotates after pressing vibration-like icon, this icon disappears preventing the device from rotating back from landscape to portrait. My solution for this is:

当设备在按下类似振动的图标后旋转时,此图标会消失,防止设备从横向旋转回纵向。我对此的解决方案是:

  1. Open genymotion shell and
  2. type rotation setangle 180(user guidedocumentation)
  1. 打开 genymotion shell 和
  2. 类型 rotation setangle 180用户指南文档)

This will return device again to landscape. I just tried it.

这将使设备再次返回横向。我刚试过。

回答by vlatko606

Just do the following,

只要做到以下几点

  1. navigate to Settings -> Configuration -> Custom
  2. change from ex: 800x1280 to 1280x800
  3. reset
  1. 导航到设置 -> 配置 -> 自定义
  2. 从例如:800x1280 更改为 1280x800
  3. 重启

hope this helps.

希望这可以帮助。

回答by Emzor

In landscape mode, the Rotate screen button does not appear (for some devices at least) and the CMD + F11 (for mac) did not work for me. I solved this with the following steps:

在横向模式下,旋转屏幕按钮不会出现(至少对于某些设备)并且 CMD + F11(对于 Mac)对我不起作用。我通过以下步骤解决了这个问题:

  1. from landscape, click the Home button (go back to the home screen)

  2. on home screen, press CMD + F11 (for mac)

  3. relaunch the app from the genymotion emulator, this should restore the portrait mode.

  1. 从横向,单击主页按钮(返回主屏幕)

  2. 在主屏幕上,按 CMD + F11(对于 Mac)

  3. 从 genymotion 模拟器重新启动应用程序,这应该会恢复纵向模式。

Hope this helps someone.

希望这可以帮助某人。

回答by Hamlet Kraskian

This worked for me.

这对我有用。

In genymotion start screen, Right click on the device. Select settings And inside it change height and width values.

在 genymotion 开始屏幕中,右键单击设备。选择设置并在其中更改高度和宽度值。

回答by Recomer

Maybe you can just go to the :

也许你可以去:

Settings >> Display

设置 >> 显示

And uncheck the "auto-rotate" option.It will turn back it's initial rotation.

并取消选中“自动旋转”选项。它将转回初始旋转。

Hope it helps.

希望能帮助到你。