a guest Aug 18th, 2018 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- onConfigurationChanged not called when new language is selected from the app in Android
- Locale locale = new Locale("language_code");
- Configuration config = new Configuration();
- config.locale = locale;
- getBaseContext().getResources().updateConfiguration(config, null);
RAW Paste Data