i have make a small example to test my Android environment, when i launch the execution on the AVD, it looks too big(as if it is a tablet screen). How can i fix the size so that it look like a mobile screen?
To Set the Size of the Emulator You can do this,
Window -> Android SDK and AVD Manager
-> Select the virtual device you are using
-> Click on Edit -> Skin
SELECT : Resolution and give the Height and Width say 320 X 480
You Should also give Density in
Window -> Android SDK and AVD Manager
-> Select the virtual device you are using
-> Click on Edit -> Hardware
SELECT : Abstracted LCD Density and Give Values
i.e. 240X320 = 120, 320X480 = 160 and 480X800 = 240
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