仿真器的窗口比移动屏幕大得多 [英] The window of the Emulator is too big than a mobile screen

查看:88
本文介绍了仿真器的窗口比移动屏幕大得多的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经做了一个小例子来测试我的Android环境,当我在AVD上启动执行时,它看起来太大了(就像是一个平板电脑屏幕)。我如何修改大小,使其看起来像一个移动屏幕?

i have make a small example to test my Android environment, when i launch the execution on the AVD, it looks too big(as if it is a tablet screen). How can i fix the size so that it look like a mobile screen?

推荐答案

要设置模拟器你的大小可以这样做,

To Set the Size of the Emulator You can do this,

    Window -> Android SDK and AVD Manager 
    -> Select the virtual device you are using 
    -> Click on Edit -> Skin

    SELECT : Resolution and give the Height and Width say 320 X 480

您还应该在

        Window -> Android SDK and AVD Manager 
        -> Select the virtual device you are using 
        -> Click on Edit -> Hardware 

        SELECT : Abstracted LCD Density and Give Values
        i.e. 240X320 = 120, 320X480 = 160 and 480X800 = 240

这篇关于仿真器的窗口比移动屏幕大得多的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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