如何自定义ARC-Welder的屏幕尺寸? [英] How to customize the screen size of ARC-Welder?

查看:114
本文介绍了如何自定义ARC-Welder的屏幕尺寸?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想将ARC-Welder chrome-extension的屏幕尺寸更改为7英寸屏幕(显示在我的PC上),以测试不同屏幕尺寸的应用程序.

I would like to change the screen size of the ARC-Welder chrome-extention to a 7inch screen - displayed on my pc - to test an app on different screen sizes.

可以使用例如元数据输入来完成此操作吗?

Can this be done using for example the meta-data input?

推荐答案

类似于我最近提出的问题,但我认为也有相同的答案.似乎在外形尺寸方面几乎没有选择,并且基于对我的问题的回答,我认为您现在只能使用三种外形尺寸预设.

Similar to a question that I asked recently but I think shares the same answer. It seems that there are few choices when it comes to form factor, and based on the answer to my question I think that you can only use the three form factor presets for now.

(来自@Elijah Taylor)

(from @Elijah Taylor)

根据活动*窗口的大小是不可配置的,但是方向是可以配置的. ARC Welder中控制窗口的两个选项是:

The size of the window is not configurable per activity*, but the orientation is. The two options in ARC Welder that control the window are:

  • 方向:这是横向或纵向,这将是您应用程序的默认方向.但是,如果您在Android活动上设置screenOrientation,则可以覆盖每个活动的方向,同时旋转窗口以进行补偿.旋转这种方式会降低性能,因为插件将通过CSS旋转.

  • Orientation: This is either landscape or portrait, which will be the default orientation for your app. However, if you set a screenOrientation on your Android activity, this can override the orientation per activity, with the window rotating to compensate. There is a performance cost to rotating this way because the plugin will be rotated via CSS.

外形:这是手机,平板电脑或最大化的手机之一.这样可以全局控制您应用的总体大小.

Form Factor: This is one of phone, tablet, or maximized. This controls the overall size of your app globally.

,但对于Chrome 42及更高版本,您可以使用元数据{"resize":"reconfigure"}允许任意调整用户大小.在此模式下,您的应用必须能够以各种纵横比和分辨率进行中继.

but for Chrome 42 and up you can use the metadata {"resize": "reconfigure"} to allow arbitrary user resizing. Your app must be able to relayout with a variety of aspect ratios and resolutions in this mode.

我的问题位于:适用于Chrome的Android ARC应用,为不同的活动/布局设置窗口大小

这篇关于如何自定义ARC-Welder的屏幕尺寸?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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