Wednesday, February 27, 2013

How to control the screen size of the emulator to fit into your laptop/desktop screen?

The emulator screen size always fit to the laptop/desktop screen size when it is launched. This has caused a lot of inconvenience when I wish to tap on the "Back" button on screen.

From my personal experience, I prefer to resize the emulator screen size to 0.5, instead of 0.75 ratio.

  • Right click on your project, select "Run As" -> "Run Configurations"
  • Select "Target" tab, enter "-scale 0.5" in the "Additional Emulator Command Line Options" textbox, this will scale the screen size to 0.5 ratio. Please refer to the screen as shown below.

Note: Eclipse IDE required you to scroll down your "Target" tab screen to see the "Additional Emulator Command Line Options" textbox.
  • Click on "Run" button, the emulator screen size will be scaled down.

No comments: