Setting the simulator screen size in eclipse Android is the content to be introduced in this article. It is mainly used to understand and learn about the simulator settings in eclipse Android. For details about the eclipse Android content, see this article.
InEclipse androidSet inSimulatorScreen size is the content to be introduced in this article, mainly to understand and learnEclipse androidMediumSimulatorFor more information, seeEclipse androidFor more information, see this article.
Method 1: Select "androidsdkandavdmanager" and select the corresponding AVD,
Click startstheselectedavd on the right.
, Fill in the screen size you need in "screensize (in)", and then "launch", OK (click to enlarge)
However, this method does not affect the simulator after we click "run.
Method 2: Select "androidsdkandavdmanager" and select the corresponding AVD,
Click "edit" on the right and select the corresponding option from the "Built-in:" drop-down menu on the right. This method is effective for the simulator size started when the Android Application is running.
Method 3: Select "Run configuration", select the "target" tab, and enter "-scale0.8" in "additionalemulatorcommandlineoptions". The subsequent numbers are changed as needed, I personally think this should be the scaling of the screen size of the default simulator. If you fill in "-scale1", the simulator size is the default size at runtime.
The command line is: emulator-avdandroid2.2-scale0.8, to DOS into the c: \ Android-SDK \ tools directory to run. Android2.2 is the AVD name you created. (Click to zoom in)
Android simulator size classification
- 320x480, portrait: emulator-skin HVGA-P (default)
- 320x240, landscape: emulator-skin QVGA-L
- 480x320, landscape: emulator-skin HVGA-L
- 240x320, portrait: emulator-skin QVGA-P
- 480*320, wqvga432
- 800*480 wvga800
- 800*540 wvga854
Simulator resolution collection
- 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;
- Optional Hd = 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;
Summary:
InEclipse androidSet inSimulatorThe screen size is introduced.Eclipse androidContent learning is helpful to you!
Turn: http://mobile.51cto.com/android-290816.htm