Reputation: 734
In my app I want show some image if the language is English and another image when the language is something else. I did it with the strings in string.xml by providing values-ru and other values folders. But I don't know how to change image like that.
Upvotes: 1
Views: 47
Reputation: 3382
You can use it for example drawable-ru-xhdpi etc like you did it with the values folders
Upvotes: 2
Reputation: 35651
You do it in exactly the same way as you did with strings.
Create a folder called drawable-ru in your res folder and this folder will be used for your drawables if the user is using Russian language.
Upvotes: 2