亚行设定的显示尺寸采用横向显示不正确的画像 [英] ADB set display-size is incorrectly displaying portrait using landscape

查看:145
本文介绍了亚行设定的显示尺寸采用横向显示不正确的画像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用的是亚洲开发银行的功能设置屏幕大小,看看应用程序看起来如何在较小的屏幕。
使用命令:

I am using the adb feature to set the screensize to see how the app looks on smaller screens. using the command :

adb shell am display-size 1200x720

在4.3的命令是

adb shell wm size 1200x720

但它似乎是愚蠢的行为,因为它会显示在设备的横向视图应用的纵向视图。

But it is seems to be behaving stupidly as it displays portrait view of the app in landscape view of the device.

不习惯离开这么多屏和结果比需要的是一个较小的看的设备。该设备是的Nexus 7

Leaving so much screen not used and result is a smaller looking device than need be. The device is the Nexus 7

推荐答案

只是交换维度的顺序。因此,而不是1200x720内,使用720x1200。这应该为你做它。

Just swap the order of the dimensions. So instead of 1200x720, use 720x1200. That should do it for you.

这篇关于亚行设定的显示尺寸采用横向显示不正确的画像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆