diff options
Diffstat (limited to 'java/res')
-rw-r--r-- | java/res/values/config.xml | 2 | ||||
-rw-r--r-- | java/res/values/styles.xml | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/java/res/values/config.xml b/java/res/values/config.xml index 9e962ee99..635b216c8 100644 --- a/java/res/values/config.xml +++ b/java/res/values/config.xml @@ -48,7 +48,7 @@ <integer name="config_keyboard_grid_height">16</integer> <integer name="config_double_spaces_turn_into_period_timeout">1100</integer> <!-- This configuration is the index of the array {@link KeyboardSwitcher.KEYBOARD_THEMES}. --> - <string name="config_default_keyboard_theme_id" translatable="false">5</string> + <string name="config_default_keyboard_theme_index" translatable="false">5</string> <integer name="config_max_more_keys_column">5</integer> <!-- Configuration for KeyboardView diff --git a/java/res/values/styles.xml b/java/res/values/styles.xml index 325ee9a79..228665953 100644 --- a/java/res/values/styles.xml +++ b/java/res/values/styles.xml @@ -17,6 +17,7 @@ <resources> <!-- Theme "Basic" --> <style name="Keyboard"> + <!-- This should be aligned with KeyboardSwitcher.KEYBOARD_THEMES[] --> <item name="themeId">0</item> <item name="touchPositionCorrectionData">@array/touch_position_correction_data_empty</item> <item name="rowHeight">25%p</item> @@ -141,6 +142,7 @@ name="Keyboard.HighContrast" parent="Keyboard" > + <!-- This should be aligned with KeyboardSwitcher.KEYBOARD_THEMES[] --> <item name="themeId">1</item> </style> <style @@ -165,6 +167,7 @@ name="Keyboard.Stone" parent="Keyboard" > + <!-- This should be aligned with KeyboardSwitcher.KEYBOARD_THEMES[] --> <item name="themeId">6</item> <item name="keyboardHeight">@dimen/keyboardHeight_stone</item> <item name="keyboardTopPadding">@fraction/keyboard_top_padding_stone</item> @@ -216,6 +219,7 @@ name="Keyboard.Stone.Bold" parent="Keyboard.Stone" > + <!-- This should be aligned with KeyboardSwitcher.KEYBOARD_THEMES[] --> <item name="themeId">7</item> </style> <style @@ -239,6 +243,7 @@ name="Keyboard.Gingerbread" parent="Keyboard" > + <!-- This should be aligned with KeyboardSwitcher.KEYBOARD_THEMES[] --> <item name="themeId">8</item> <item name="touchPositionCorrectionData">@array/touch_position_correction_data_gingerbread</item> <item name="horizontalGap">@fraction/key_horizontal_gap_gb</item> @@ -281,6 +286,7 @@ name="Keyboard.IceCreamSandwich" parent="Keyboard" > + <!-- This should be aligned with KeyboardSwitcher.KEYBOARD_THEMES[] --> <item name="themeId">5</item> <item name="keyboardTopPadding">@fraction/keyboard_top_padding_ics</item> <item name="keyboardBottomPadding">@fraction/keyboard_bottom_padding_ics</item> |