Set the window size of the Android emulator

Source: Internet
Author: User

Two locations in the Android SDK to set the window size of the Android emulator

1. Set the resolution of the Android emulator

When creating an AVD in Android Virtual Device Manager, the window middle resolution item can customize the window size, but there may not be a keyboard.

The built-in drop-down list box allows you to select the resolution of a common model.

Built-in list of resolutions for various popular models:
WXGA800 480X800
WVGA854 480X854
WXGA720 720X1280
WQVGA400 240X400
WSVGA 1024X600
WVGA800 480X800
QVGA
WQVGA432 240X432
HVGA 480X320

2. Run-time Set screen scale-scale display to real size

The Runtime emulator window size is scaled according to the "screen size" scale. emulator window size = RAW Resolution * "scale" value. The screen size (in) takes a value of 1-30.

Monitor DPI Setting the resolution of your computer monitor

Note: This modification does not work for run and debug applications, and the emulator still uses the original wide-high resolution when run and Debug.

Eclipse's Run configurations setting uses "-scale xx" To resize the emulator window, and XX is the scale ratio of the simulator, such as-scale 0.50. The smaller the value, the smaller the simulator size; the larger the value, the larger the emulator size.

Set the window size of the Android emulator

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.