在平板电脑上模拟较小的屏幕? [英] Simulate smaller screen on a Tablet?

查看:152
本文介绍了在平板电脑上模拟较小的屏幕?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使用Android平板电脑作为测试工具开发了一个应用程序.我想在较小的屏幕上进行测试,但发现该模拟器太慢了.有什么方法可以将平板电脑配置为模拟小屏幕-也许使周围的所有内容变暗,只显示一个小方块?

I've developed an app using my Android tablet as a testing tool. I want to test it on smaller screens and I find the emulator damn slow. Is there a way I can configure my tablet to simulate a small screen - perhaps darken everything around and only display a small square?

就像在Windows中,我们如何在设置屏幕中更改显示分辨率...要求太多?

Like how in Windows we can change the display resolution in the settings screen...asking for too much?

推荐答案

是可能的..如果您在xml布局中完成了设计,请给定root标记的高度和宽度作为所需的屏幕尺寸,而不是fillparent而不是fillparent

ya it is possible.. if you done your design in the xml layout give the give root tag height and width as fix as your required screen size instead of fillparent

这篇关于在平板电脑上模拟较小的屏幕?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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