Пример #1
0
 @Override
 public void onSharedPreferenceChanged(SharedPreferences prefs, String key) {
   if (key.equals(ThemeManager.THEME_SELECTION)) {
     ThemeManager.applyTheme(this);
   }
 }
Пример #2
0
 @Override
 protected void onResume() {
   super.onResume();
   ThemeManager.applyTheme(this);
 }