zoukankan      html  css  js  c++  java
  • 在Eclipse中设置Android模拟器屏幕大小

    方法一、选择"Android SDK and AVD Manager",选中相应的AVD,

    点击右侧的"Starts the selected AVD"按钮

    如图,在"Screen Size (in)"中填入你需要的屏幕尺寸,然后"Launch",OK

    但是这种方法对我们点击“运行”后的模拟器没有影响。

    方法二、同样选择"Android SDK and AVD Manager",选中相应的AVD,

    点击右侧“Edit”,在"Built-in:"右侧下拉菜单选择相应选项,该方法对我们运行android应用程序时启动的模拟器大小有效。

    方法三、选择“运行配置”,选“Target”标签页,在“Additional Emulator Command Line Options”里填入“-scale 0.8”,后面的数字根据自己需要改变,个人感觉这里应该是对默认模拟器屏幕尺寸的缩放,如果填入"-scale 1",则在运行时模拟器尺寸是默认大小。

    命令行是:emulator -avd android2.2 -scale 0.8 ,要在DOS中进入到C:\Android\android-sdk\tools目录下运行。android2.2是你建立的AVD名称。

    一:Android模拟器大小分类
    1)320×480, portrait : emulator -skin HVGA-P (default)
    2)320×240, landscape: emulator -skin QVGA-L
    3)480×320, landscape: emulator -skin HVGA-L
    4)240×320, portrait : emulator -skin QVGA-P
    5)480*320,WQVGA432
    6)800*480 WVGA800
    7)800*540 WVGA854

    模拟器分辨率收集

    QVGA = 320 * 240;
    WQVGA = 320 * 480;
    WQVGA2 = 400 * 240;
    WQVGA3 = 432 * 240;
    HVGA = 480 * 320;
    VGA = 640 * 480;
    WVGA = 800 * 480;
    WVGA2 = 768 * 480;
    FWVGA = 854 * 480;
    DVGA = 960 * 640;
    PAL = 576 * 520;
    NTSC = 486 * 440;
    SVGA = 800 * 600;
    WSVGA = 1024 * 576;
    XGA = 1024 * 768;
    XGAPLUS = 1152 * 864;
    HD720 = 1280 * 720;
    WXGA = 1280 * 768;
    WXGA2 = 1280 * 800;
    WXGA3 = 1280 * 854;
    SXGA = 1280 * 1024;
    WXGA4 = 1366 * 768;
    SXGAMINUS = 1280 * 960;
    SXGAPLUS = 1400 * 1050;
    WXGAPLUS = 1440 * 900;
    HD900 = 1600 * 900;
    WSXGA = 1600 * 1024;
    WSXGAPLUS = 1680 * 1050;
    UXGA = 1600 * 1200;
    HD1080 = 1920 * 1080;
    QWXGA = 2048 * 1152;
    WUXGA = 1920 * 1200;
    TXGA = 1920 * 1400;
    QXGA = 2048 * 1536;
    WQHD = 2560 * 1440;
    WQXGA = 2560 * 1600;
    QSXGA = 2560 * 2048;
    QSXGAPLUS = 2800 * 2100;
    WQSXGA = 3200 * 2048;
    QUXGA = 3200 * 2400;
    QFHD = 3840 * 2160;
    WQUXGA = 3840 * 2400;
    HD4K = 4096 * 2304;
    HXGA = 4096 * 3072;
    WHXGA = 5120 * 3200;
    HSXGA = 5120 * 4096;
    WHSXGA = 6400 * 4096;
    HUXGA = 6400 * 4800;
    SHV = 7680 * 4320;
    WHUXGA = 7680 * 4800;

  • 相关阅读:
    centos7.6 使用yum安装mysql5.7
    解决hadoop本地库问题
    docker-compose 启动警告
    docker 安装zabbix5.0 界面乱码问题解决
    docker 部署zabbix问题
    zookeeper 超时问题
    hbase regionserver异常宕机
    (转载)hadoop 滚动升级
    hadoop Requested data length 86483783 is longer than maximum configured RPC length
    zkfc 异常退出问题,报错Received stat error from Zookeeper. code:CONNECTIONLOSS
  • 原文地址:https://www.cnblogs.com/mumue/p/2439853.html
Copyright © 2011-2022 走看看