How to resize the AVD emulator (in Eclipse)?

Scott Saunders picture Scott Saunders · Mar 2, 2010 · Viewed 84.8k times · Source

I'm writing my first Android app for a small business that has some Droid phones. I set up an AVD for the phone with the right resolution: 854 pixels high.

I'm working on a MacBook Pro with a max screen resolution 900 pixels high, so when the emulator starts up, the bottom is cut off.

Is there a way to scale the emulator display down to 75% or something so that it fits on my screen? Any other solution (other than running everything on the phone itself)?

Answer

Walter Heck picture Walter Heck · Feb 11, 2011

This is actually possible from your project as well, no need to start the emulator through the AVD manager:

  1. Go to Run > Run Configurations... > (Select your application on the left hand side) > (Click the "Target" tab on the right hand side).

  2. At the bottom there, you'll see Emulator launch parameters. In the additional emulator command line options, add '-scale 0.75' (to make the screen 75% of full size)

Next time you start the emulator it will have scaled properly.