I had read about localization here: http://developer.android.com/guide/topics/resources/localization.html But I need to switch language in my android applicartion in run time, e.g. via Spinner.
I attempted to do subj in this way
DisplayMetrics dm = res.getDisplayMetrics();
Configuration conf = res.getConfiguration();
conf.locale = new Locale(language_code.toLowerCase(),
coutry_code.toUpperCase());
res.updateConfiguration(conf, dm);
but all changes apply only after restarting app Could anyone help me?