hi, i use the following code to change the language via the menu:
void switchLanguage(Locale pLocale) {
Resources res = getResources();
DisplayMetrics dm = res.getDisplayMetrics();
Configuration conf = res.getConfiguration();
conf.locale = pLocale;
res.updateConfiguration(conf, dm);
}
how can i now update the whole activity to refresh and use the new
content in all my views, the title and the menu?
tried to start new intent with the same activity but didn't refresh
(launchMode="singleTop" is defined in manifest).
when i close the app and start it again the language is changed (this
activity is my lauch activity).
thx marc
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en