Samsung Galaxy S2 AVD - Official skin, how to render correct dimensions

倖福魔咒の 提交于 2019-12-10 14:53:54

问题


I have installed the official Samsung Galaxy S2 skin thanks to another stackoverflow question, in Eclipse.

The problem I have is that it doesn't render my app anywhere near the resolution of the actual device when running in the Emulator, surely this is the point of using the skin.

Please see the screenshots and settings I'm using, where am I going wrong?

Emulator output - API 11

Emulator output - API 15

Device screenshot

AVD settings - automatically generated by the skin


回答1:


Try changing Abstracted LCD density hardware argument from 300 to 218 ppi.




回答2:


In AVD Manager, select your Galaxy SII emulator, click the "Start..." button and then in the Launch Options dialog configure the display as follows:




回答3:


I see that your AVD target is Android 3.0 but the GUI on your physical device looks different. Make sure to test using an emulator with the same Android version and theme than your real phone.



来源:https://stackoverflow.com/questions/12386895/samsung-galaxy-s2-avd-official-skin-how-to-render-correct-dimensions

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!