Simulate smaller screen on a Tablet?

让人想犯罪 __ 提交于 2019-12-07 15:50:25

问题


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?

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


回答1:


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



来源:https://stackoverflow.com/questions/10860347/simulate-smaller-screen-on-a-tablet

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!