6

this may be a stupid question, but I've been doing Android Development for quite some time but just installed the new version of the SDK and ADT Eclipse plugin.

I've noticed that when I create a new AVD I can choose a specific device, I.e. Nexus 7 or Nexus Phone. I've selected the Galaxy Nexus but the emulator doesn't fit on the screen so I can't see the bottom of the device. At the moment I'm working on my Desktop which has a 21 inch monitor (1600 x 900) not the most highest spec in the world but I want to be able to fit the device on the screen. I also have a secondary screen which I usually keep the emulator on so I can see the code and the emulator, handy for debugging purposes, but this screen is much smaller and only has a resolution of 1280 x 800. At the moment, it would be impossible to press on the back and home buttons, and if I do development on my laptop, which is obviously a much smaller screen, probably wouldn't be able to see most of the device, as the AVD doesn't seem to scale to fit the screen.

Is there a way that this can be done. Below is a screen shot of how the device looks on my screen.

enter image description here

Boardy
  • 35,417
  • 104
  • 256
  • 447
  • http://stackoverflow.com/questions/2359895/android-emulator-screen-too-tall, see the answer here. First hit for a Google "android emulator scale" – Simon Dec 01 '12 at 15:50

3 Answers3

9

Right click your project -> Run Configuration -> select target -> in additional emulator command line option text box, type '-scale 0.75' and run your app

kumar_android
  • 2,273
  • 1
  • 21
  • 30
2

For those using Ionic CLI or other solutions, the following worked for me:

ionic run android -scale=0.75
isherwood
  • 58,414
  • 16
  • 114
  • 157
0

In Android Studio, the option is set in the AVD Manager, under "Startup size and orientation".

WM1
  • 451
  • 7
  • 14