Rev 18 | Details | Compare with Previous | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 9 | chris | 1 | package com.gebauz.ZhuyinQuiz; |
| 2 | |||
| 3 | public class Constants { |
||
| 17 | chris | 4 | /* |
| 5 | "\u3105", "b", "", // 0 |
||
| 6 | "\u3106", "p", "", // 1 |
||
| 7 | "\u3107", "m", "", // 2 |
||
| 8 | "\u3108", "f", "", // 3 |
||
| 9 | "\u3109", "d", "", // 4 |
||
| 10 | "\u310A", "t", "", // 5 |
||
| 11 | "\u310B", "n", "", // 6 |
||
| 12 | "\u310C", "l", "", // 7 |
||
| 13 | "\u310D", "g", "", // 8 |
||
| 14 | "\u310E", "k", "", // 9 |
||
| 15 | "\u310F", "h", "", // 10 |
||
| 16 | "\u3110", "j", "", // 11 |
||
| 17 | "\u3111", "q", "", // 12 |
||
| 18 | "\u3112", "x", "", // 13 |
||
| 19 | |||
| 20 | "\u3113", "zhi", "[zh]", // 14 |
||
| 21 | "\u3114", "chi", "[ch]", // 15 |
||
| 22 | "\u3115", "shi", "[sh]", // 16 |
||
| 23 | "\u3116", "ri", "[r]", // 17 |
||
| 24 | "\u3117", "zi", "[z]", // 18 |
||
| 25 | "\u3118", "ci", "[c]", // 19 |
||
| 26 | "\u3119", "si", "[s]", // 20 |
||
| 27 | |||
| 28 | "\u311A", "a", "", // 21 |
||
| 29 | "\u311B", "o", "", // 22 |
||
| 30 | "\u311C", "e", "", // 23 |
||
| 31 | "\u311D", "ê", "", // 24 |
||
| 32 | "\u311E", "ai", "", // 25 |
||
| 33 | "\u311F", "ei", "", // 26 |
||
| 34 | "\u3120", "ao", "", // 27 |
||
| 35 | "\u3121", "ou", "", // 28 |
||
| 36 | "\u3122", "an", "", // 29 |
||
| 37 | "\u3123", "en", "", // 30 |
||
| 38 | "\u3124", "ang", "", // 31 |
||
| 39 | "\u3125", "eng", "", // 32 |
||
| 40 | "\u3126", "er", "", // 33 |
||
| 41 | |||
| 42 | "\u3127", "yi", "[i]", // 34 |
||
| 43 | "\u3127 \u3123", "yin", "[in]", // 35 |
||
| 44 | "\u3127 \u3125", "ying", "[ing]", // 36 |
||
| 45 | |||
| 46 | "\u3128", "wu", "[u]", // 37 |
||
| 47 | "\u3128 \u3123", "wen", "[un]", // 38 |
||
| 48 | "\u3128 \u3125", "weng", "[ong]", // 39 |
||
| 49 | |||
| 50 | "\u3129", "yu", "[u, ü]", // 40 |
||
| 51 | "\u3129 \u3123", "yun", "[un]", // 41 |
||
| 52 | "\u3129 \u3125", "yong", "[iong]", // 42 |
||
| 53 | */ |
||
| 54 | |||
| 9 | chris | 55 | |
| 17 | chris | 56 | public static final int MODE_ZHUYIN = 0; |
| 57 | public static final int MODE_PINYIN = 1; |
||
| 58 | |||
| 59 | public static final int QUIZ_ALL = 0; |
||
| 60 | public static final int QUIZ_INITIALS = 1; |
||
| 61 | public static final int QUIZ_FINALS = 2; |
||
| 62 | public static final int QUIZ_BEGINNER = 3; |
||
| 63 | public static final int QUIZ_INTERMEDIATE = 4; |
||
| 64 | public static final int QUIZ_ADVANCED = 5; |
||
| 9 | chris | 65 | |
| 17 | chris | 66 | public static final int[] QUIZ_LIMITS = |
| 67 | { |
||
| 68 | 0, 42, // QUIZ_ALL |
||
| 69 | 0, 20, // QUIZ_INITIALS |
||
| 70 | 21, 42, // QUIZ_FINALS |
||
| 71 | 0, 10, // QUIZ_BEGINNER |
||
| 72 | 0, 20, // QUIZ_INTERMEDIATE |
||
| 73 | 0, 33, // QUIZ_ADVANCED |
||
| 74 | }; |
||
| 75 | |||
| 76 | public static final int INPUT_SMALL = 0; |
||
| 77 | public static final int INPUT_ALL = 1; |
||
| 78 | |||
| 79 | public static final int INPUT_SMALL_COUNT = 8; |
||
| 80 | |||
| 9 | chris | 81 | public static final int GRID_TEXT_SIZE_SHORT_ITEM = 36; |
| 82 | public static final int GRID_TEXT_SIZE_LONG_ITEM = 16; |
||
| 83 | public static final int GRID_BACKGROUND_COLOR = 0xff335533; |
||
| 17 | chris | 84 | public static final int GRID_BUTTON_SIZE_DIP = 65; |
| 9 | chris | 85 | |
| 18 | chris | 86 | public static final int TABLE_ITEM_SIZE_DIP = 140; |
| 87 | public static final int TABLE_TEXT_SIZE_SHORT_ITEM = 40; |
||
| 88 | public static final int TABLE_TEXT_SIZE_LONG_ITEM = 24; |
||
| 89 | |||
| 90 | |||
| 9 | chris | 91 | public static final String LOG_TAG = "QUIZ"; |
| 92 | |||
| 93 | public static final int DIALOG_CORRECT = 0; |
||
| 94 | public static final int DIALOG_INCORRECT = 1; |
||
| 14 | chris | 95 | |
| 22 | chris | 96 | public static final String ADMOB_PUBLISHER_ID = "a14ea091b1a94ea"; |
| 97 | |||
| 9 | chris | 98 | |
| 99 | private Constants() |
||
| 100 | { |
||
| 17 | chris | 101 | } |
| 102 | |||
| 9 | chris | 103 | } |