I have an app which allows you to switch between 2 different languages. I do that by updating the configuration and restarting the activity:
Locale locale = new Locale(lang);
Locale.setDefault(locale);
Configuration config = new Configuration();
config.locale = locale;
language = lang;
getBaseContext().getResources().updateConfiguration(config,
getBaseContext().getResources().getDisplayMetrics());
activity.recreate();
Now I have the problem that before switching the language the font sizes are displayed differently than after switching. See screenshots. Any ideas?