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 \ android-sdk \ tools directory to run. Android2.2 is the AVD name you created. Click to zoom in)
Android simulator size classification
- 320×480, portrait : emulator -skin HVGA-P (default)
- 320×240, landscape: emulator -skin QVGA-L
- 480×320, landscape: emulator -skin HVGA-L
- 240×320, 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;
- 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;
Summary:
InEclipse AndroidSet inSimulatorThe screen size is introduced.Eclipse AndroidContent learning is helpful to you!