Is possible use drawable-mdpi-fr, drawable-hdpi-fr, drawable-ldpi-fr, for localization with different resolutions

与世无争的帅哥 提交于 2019-12-12 07:34:16

问题


I want to use different images for different localisations. However, I have images for all resolutions and for all languages. Is there any way to do this?


回答1:


yes, it is possible by. drawable-de-rDE-ldpi,drawable-de-rDE-mdpi . check it.




回答2:


Is possible use drawable-mdpi-fr, drawable-hdpi-fr, drawable-ldpi-fr, for localization with different resolutions

Yes.

Obviously, this gets tedious for too many translations, and if there are too many affected images your APK size may grow substantially. Since Android will automatically rescale images, you might try just res/drawable-fr-xhdpi/ and see what it looks like on lower-density devices.



来源:https://stackoverflow.com/questions/7349851/is-possible-use-drawable-mdpi-fr-drawable-hdpi-fr-drawable-ldpi-fr-for-locali

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