更改Android模拟器大小以适合我的屏幕 [英] Changing Android Emulator Size to fit on my Screen

查看:181
本文介绍了更改Android模拟器大小以适合我的屏幕的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这可能是一个愚蠢的问题,但我一直在做Android的发展相当长的一段时间,但刚刚安装的SDK和ADT Eclipse插件的新版本。

this may be a stupid question, but I've been doing Android Development for quite some time but just installed the new version of the SDK and ADT Eclipse plugin.

我注意到,当我创建一个新的AVD我可以选择特定的设备,即的Nexus 7和Nexus手机。我选择了Galaxy Nexus的,但仿真器不适合在屏幕上,所以我不能看到设备的底部。目前,我正在我的台式机具有21英寸显示器(1600×900),没有在世界上最最高的规格,但我希望能够以适应设备的屏幕上。我也有,我平时保持仿真器上,所以我可以看到code和仿真器,方便的调试用的辅助屏幕,但此屏幕要小得多,只有1280×800的分辨率目前,这将是不可能的后背,家里的按钮preSS,如果我做我的笔记本电脑,这显然是一个更小屏幕发展,很可能将无法看到大部分的设备,如AVD似乎并没有按比例以适合屏幕。

I've noticed that when I create a new AVD I can choose a specific device, I.e. Nexus 7 or Nexus Phone. I've selected the Galaxy Nexus but the emulator doesn't fit on the screen so I can't see the bottom of the device. At the moment I'm working on my Desktop which has a 21 inch monitor (1600 x 900) not the most highest spec in the world but I want to be able to fit the device on the screen. I also have a secondary screen which I usually keep the emulator on so I can see the code and the emulator, handy for debugging purposes, but this screen is much smaller and only has a resolution of 1280 x 800. At the moment, it would be impossible to press on the back and home buttons, and if I do development on my laptop, which is obviously a much smaller screen, probably wouldn't be able to see most of the device, as the AVD doesn't seem to scale to fit the screen.

有没有一种方式,可以做到这一点。下面是一个截屏的设备如何看我的屏幕上。

Is there a way that this can be done. Below is a screen shot of how the device looks on my screen.

推荐答案

右键点击您的项目 - >运行配置 - >选择目标 - >额外的仿真器的命令行选项的文本框中,键入-scale 0.75'和运行应用程序

Right click your project -> Run Configuration -> select target -> in additional emulator command line option text box, type '-scale 0.75' and run your app

这篇关于更改Android模拟器大小以适合我的屏幕的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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