简体   繁体   English

具有自定义分辨率的模拟器无法使用Android自动缩放功能

[英]Android auto-scaling doesn't work on emulator with custom resolution

I have an AVD with custom resolution 480x800 and it seems like auto-scaling fails even with . 我有一个自定义分辨率为480x800的AVD,即使使用,它也似乎自动缩放失败。 Bitmaps remains small, attached to left top corner of Canvas. 位图仍然很小,附着在Canvas的左上角。 Auto-scaling perfectly works with any build-in skins on emulator. 自动缩放功能可与模拟器上的任何内置外观完美配合。 I using Somebody, please tell me, Why could this happen ? 我使用某人,请告诉我,为什么会发生这种情况?

Thank you 谢谢

Create an AVD with custom DPI, 240 for example. 创建具有自定义DPI(例如240)的AVD。 替代文字

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM