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.
Alt+Enter is the keyboard shortcut to toggle full screen mode in the emulator, just do it again to exit full screen.
Pressing and holding the Cmd (Ctrl) key, and then zooming in/out using the mouse works. Yes, Holding Ctrl key while left click your mouse. For example, it works well while using google map. Also, you can double left or right click to zoom in and double left or right click + Ctrl to zoom out.
The pinch key on the emulator is the Alt key. Hold down Alt and click and drag your mouse button.
Right click your project -> Run Configuration -> select target -> in additional emulator command line option text box, type '-scale 0.75' and run your app
For those using Ionic CLI or other solutions, the following worked for me:
ionic run android -scale=0.75
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With