Android simulator resolution

Source: Internet
Author: User

Skins: HVGA, HVGA-L, HVGA-P, QVGA-L, QVGA-P

The <skinID> parameters available for Android 2.0 are listed as follows:

Skins: HVGA, QVGA, WVGA800, and WVGA854

The <skinID> parameters available for Android 2.1 and 2.2 are listed as follows:

Skins: HVGA, QVGA, WQVGA400, WQVGA432, WVGA800, WVGA854

The corresponding window size is defined as follows:

QVGA (240x320)

WQVGA400 (240x400)

WQVGA432 (240x320)

HVGA (320x480)

WVGA800 (480x800)

WVGA854 (480X854)

No horizontal parameter is available for the <skinID> parameter defined in Android 2.2. You can directly define the window length and width, for example, "-skin 480x320 ".

-The <filepath> parameter of sdcard uses the file path mycard of the SD memory card created by mksdcard.

 

 

QVGA (240x320) HVGA (320x480) WQVGA400 (240x400) WQVGA432 (240x432) WVGA800 (480x800) WVGA854 (480x854)
XML matching is the most commonly used method. It is mainly used for situations where there are too many controls in the layout and it is not convenient to modify them in java code. It is very easy to solve the mismatch problem in xml. for the resolution of different mobile phones, create the corresponding layout file. For example: resolution 480x800, you can create a layout-800x400 folder; resolution 240x320, you can create a layout-320x240 folder. Note: A large one is written in front, for example, 800,320. A small one is written in the back, for example, 480,240. After creating the corresponding layout, you must adjust the widget size and position on different mobile phones.
Finally, the following code must be configured in androidmainfest: <supports-screensandroid: smallScreens = "true" android: normalScreens = "true" android: largeScreens = "true" android: xlargeScreens = "true" android: anyDensity = "true"/>
Note: Because different android versions do not support xlargeScreens, you can remove android: xlargeScreens = "true" directly. 1: Android simulator size classification 1) 320x480, portrait: emulator-skin HVGA-P (default) 2) 320x240, landscape: emulator-skin QVGA-L3) 480x320, landscape: emulator-skin HVGA-L4) 240x320, portrait: emulator-skin QVGA-P5) 480*320, WQVGA4326) 800*480 WVGA8007) 800*540 WVGA854 2: resize 1) generally, when creating a simulator, the size and capacity can be set in the Skin-> Built-in list on the simulator creation interface. 2) If the simulator has been created and needs to be adjusted, follow these steps. Disable the simulator before making any changes. Open Eclipse-> Window-> Android SDK and AVD Manager-> select the simulator to be adjusted-> Edit-> reselect the simulator in the Skin-> Built-in list-> Edit AVD-> Refresh-> restart Simulator-> is the simulator size adjusted? The simulator resolution is collected by QVGA = 320*240; WQVGA = 320*480; WQVGA2 = 400*240; WQVGA = 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; hybrid 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;

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.