Can I change app icon according to locale or language?

1,489 views
Skip to first unread message

YongHak Park

unread,
Jun 6, 2011, 8:32:32 PM6/6/11
to android-platform
I need to change app icon according to locale or language.
( app icon means the icon that can be displayed at menu, home screen
and widget )


For example.
I want to display english characterd icon at USA
and want to display other icon according to the country where user is.

Is it possible like strings use different things following the
country?

If possible, how can i do that??

Dianne Hackborn

unread,
Jun 6, 2011, 9:34:49 PM6/6/11
to android-...@googlegroups.com
You can put different strings for the different configurations.  Please look at the Android documentation or standard SDK programming resources; having your app name change based on locale is basic app functionality.


--
You received this message because you are subscribed to the Google Groups "android-platform" group.
To post to this group, send email to android-...@googlegroups.com.
To unsubscribe from this group, send email to android-platfo...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/android-platform?hl=en.




--
Dianne Hackborn
Android framework engineer
hac...@android.com

Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails.  All such questions should be posted on public forums, where I and others can see and answer them.

YongHak Park

unread,
Jun 6, 2011, 10:21:54 PM6/6/11
to android-platform
Hello!

I already know what you mentioned.

What I want to change is application ICON!! NOT application string.

It's a drawable object which is displayed on launcher represent my
application.

Is it possible if i make specific directory like drawable-uk, drawable-
fr..
and put different icon into each directory.

has anyone ever been tried this?
> hack...@android.com

YongHak Park

unread,
Jun 6, 2011, 11:03:39 PM6/6/11
to android-platform
Making a different drawable directory is possible to do things what I
wanted to..
Thanks Dianne.
Reply all
Reply to author
Forward
0 new messages