Set the simulator screen size in eclipse android

Source: Internet
Author: User

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

  1. 320x480, portrait: emulator-skin HVGA-P (default)
  2. 320x240, landscape: emulator-skin QVGA-L
  3. 480x320, landscape: emulator-skin HVGA-L
  4. 240x320, portrait: emulator-skin QVGA-P
  5. 480*320, wqvga432
  6. 800*480 wvga800
  7. 800*540 wvga854

Simulator resolution collection

  1. Qvga = 320*240;
  2. Wqvga = 320*480;
  3. Wqvga2 = 400*240;
  4. Wqvga3. = 432*240;
  5. Hvga = 480*320;
  6. VGA = 640*480;
  7. WVGA = 800*480;
  8. Wvga2 = 768*480;
  9. Fwvga = 854*480;
  10. Dvga = 960*640;
  11. Pal = 576*520;
  12. NTSC = 486*440;
  13. Svga = 800*600;
  14. Wsvga = 1024*576;
  15. XGA = 1024*768;
  16. Xgaplus = 1152*864;
  17. Hd720 = 1280*720;
  18. Wxga = 1280*768;
  19. Wxga2 = 1280*800;
  20. Wxga3. = 1280*854;
  21. Sxga = 1280*1024;
  22. Wxga4 = 1366*768;
  23. Sxgaminus = 1280*960;
  24. Sxgaplus = 1400*1050;
  25. Wxgaplus = 1440*900;
  26. Hd900 = 1600*900;
  27. Wsxga = 1600*1024;
  28. Wsxgaplus = 1680*1050;
  29. Uxga = 1600*1200;
  30. Hd1080 = 1920*1080;
  31. Qwxga = 2048*1152;
  32. Wuxga = 1920*1200;
  33. Txga = 1920*1400;
  34. Qxga = 2048*1536;
  35. Wqhd = 2560*1440;
  36. Wqxga = 2560*1600;
  37. Qsxga = 2560*2048;
  38. Qsxgaplus = 2800*2100;
  39. Wqsxga = 3200*2048;
  40. Quxga = 3200*2400;
  41. Optional Hd = 3840*2160;
  42. Wquxga = 3840*2400;
  43. Hd4k = 4096*2304;
  44. Hxga = 4096*3072;
  45. Whxga = 5120*3200;
  46. Hsxga = 5120*4096;
  47. Whsxga = 6400*4096;
  48. Huxga = 6400*4800;
  49. SHV = 7680*4320;
  50. 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

 

 

 

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.