Esempio n. 1
0
 public static int getDialogTheme() {
   // Light theme dialogs don't work on Android Api < 11
   if (Settings.isLightSkin() && VERSION.SDK_INT >= VERSION_CODES.HONEYCOMB) {
     return R.style.popup_light;
   }
   return R.style.popup_dark;
 }
Esempio n. 2
0
 private static int getThemeId() {
   if (Settings.isLightSkin()) {
     return R.style.light;
   }
   return R.style.dark;
 }