]> gitweb.fperrin.net Git - Dictionary.git/blobdiff - src/com/hughes/android/dictionary/C.java
Try to fix font issue.
[Dictionary.git] / src / com / hughes / android / dictionary / C.java
index 4c6fff4189c9029cb649bd417eaf0570c9407ee5..452c98b2fe2376fb3ff204366ee1bc632c73da0f 100644 (file)
 package com.hughes.android.dictionary;
 
 public class C {
-  
-  static final String DICTIONARY_CONFIGS = "dictionaryConfigs";
 
-  static final String DICT_INDEX = "dictIndex";
+  static final String DICTIONARY_CONFIGS = "dictionaryConfigs2";
+
+  static final String DICT_FILE = "dictFile";
   static final String INDEX_INDEX = "indexIndex";
   static final String SEARCH_TOKEN = "searchToken";
+  static final String CAN_AUTO_LAUNCH_DICT = "canAutoLaunch";
+  public static final String SHOW_LOCAL = "showLocal";
 
   public static final String THANKS_FOR_UPDATING_VERSION = "thanksForUpdatingVersion";
-  
+
+  public static final String FONT_WORKAROUND = "fontWorkaround";
+
+
   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,
+    DEFAULT(R.style.Theme_Default, R.style.Theme_Default_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_Light_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;
@@ -39,7 +50,7 @@ public class C {
       this.tokenRowOtherBg = tokenRowOtherBg;
       this.otherLangBg = otherLangBg;
     }
-    
+
     final int themeId;
     final int tokenRowFg;
     final int tokenRowMainBg;
@@ -47,5 +58,4 @@ public class C {
     final int otherLangBg;
   }
 
-
 }