开发者

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

开发者 https://www.devze.com 2023-04-03 08:25 出处:网络
I want to use different imag开发者_运维问答es for different localisations. However, I have images for all resolutions and for all languages. Is there any way to do this?yes, it is possible by. drawabl

I want to use different imag开发者_运维问答es for different localisations. However, I have images for all resolutions and for all languages. Is there any way to do this?


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


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消