]> gitweb.fperrin.net Git - Dictionary.git/blobdiff - src/com/hughes/android/dictionary/C.java
Theme, different color rows, dictionary_info, long click begin.
[Dictionary.git] / src / com / hughes / android / dictionary / C.java
index b7f4126936c2609d704c82e67f1afd947216207d..4c6fff4189c9029cb649bd417eaf0570c9407ee5 100644 (file)
@@ -23,6 +23,29 @@ public class C {
   static final String SEARCH_TOKEN = "searchToken";
 
   public static final String THANKS_FOR_UPDATING_VERSION = "thanksForUpdatingVersion";
+  
+  enum Theme {
+    DEFAULT(R.style.Theme_Default, R.style.Theme_Light_TokenRow_Fg, R.drawable.theme_default_token_row_main_bg, R.drawable.theme_default_token_row_other_bg, R.drawable.theme_default_other_lang_bg),
+    LIGHT(R.style.Theme_Light, R.style.Theme_Default_TokenRow_Fg, R.drawable.theme_light_token_row_main_bg, R.drawable.theme_light_token_row_other_bg, R.drawable.theme_light_other_lang_bg);
+    
+    private Theme(final int themeId, 
+        final int tokenRowFg,
+        final int tokenRowMainBg,
+        final int tokenRowOtherBg,
+        final int otherLangBg) {
+      this.themeId = themeId;
+      this.tokenRowFg = tokenRowFg;
+      this.tokenRowMainBg = tokenRowMainBg;
+      this.tokenRowOtherBg = tokenRowOtherBg;
+      this.otherLangBg = otherLangBg;
+    }
+    
+    final int themeId;
+    final int tokenRowFg;
+    final int tokenRowMainBg;
+    final int tokenRowOtherBg;
+    final int otherLangBg;
+  }
 
 
 }