I've found solution. I think emulator calculates display size based on AVD resolution and density. Before, I was changing hw.lcd.density
in AVD's config.ini
but it didn't work. In skin folder, I've found hardware.ini
file which contains skin specified parameters, I think these parameters overwrite settings from AVD's config.ini
.
Solution
If you have set high screen resolution for AVD (i.e. 800x1280
), choose skin which has high display density. Alternatively, in [SDK location]/platforms/android-[version]/skins/[skin-name]/hardware.ini
set hw.lcd.density
parameter to higher value (i.e. 300
). Choose suitable skin for your AVD and emulator should load Android in phone mode.