@Override public void onConfigurationChanged(Configuration newConfig) { } I have 2 languages in the app. Arabic and English. In addition, the phone itself works in Russian.
When I enter the application, I can programmatically change the language of the application to Arabic.
After I watch the video and flip the screen. Called onConfigurationChanged. And before that, the Layout is taken from the English folder. Although it should be taken from Arabic.
Which handler should I call to change the configuration from English to Arabic.
To when creating a window. layout came from arabic
newConfig.setLocale(new Locale("ar"));- will not help? - Barmaley