blob: 955a276315cbe79fcbbbee692f96ad9dfc9ca379 [file] [log] [blame]
satok979f8692010-08-20 14:35:02 +09001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2010 The Android Open Source Project
3
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15-->
16
Tadashi G. Takaokaca57f5b2012-07-30 16:06:19 +090017<resources xmlns:android="http://schemas.android.com/apk/res/android">
Tadashi G. Takaoka13a74192011-05-24 21:08:20 +090018 <!-- Theme "Basic" -->
Tadashi G. Takaokaa6196732011-06-16 17:20:29 +090019 <style name="Keyboard">
Tadashi G. Takaoka411749a2012-03-08 16:20:22 +090020 <!-- This should be aligned with KeyboardSwitcher.KEYBOARD_THEMES[] -->
Tadashi G. Takaoka5c269222011-09-30 21:12:20 +090021 <item name="themeId">0</item>
22 <item name="touchPositionCorrectionData">@array/touch_position_correction_data_empty</item>
Tadashi G. Takaoka237af542011-06-17 11:55:42 +090023 <item name="rowHeight">25%p</item>
24 <item name="keyboardHeight">@dimen/keyboardHeight</item>
25 <item name="maxKeyboardHeight">@fraction/maxKeyboardHeight</item>
26 <item name="minKeyboardHeight">@fraction/minKeyboardHeight</item>
Tadashi G. Takaoka2affaf92012-02-08 16:12:11 +090027 <item name="moreKeysTemplate">@xml/kbd_more_keys_keyboard_template</item>
Tadashi G. Takaoka9812fb02011-07-04 15:09:21 +090028 <item name="keyboardTopPadding">@fraction/keyboard_top_padding</item>
29 <item name="keyboardBottomPadding">@fraction/keyboard_bottom_padding</item>
Tadashi G. Takaoka287f4f82011-09-26 11:26:38 +090030 <item name="keyboardHorizontalEdgesPadding">@fraction/keyboard_horizontal_edges_padding</item>
Tadashi G. Takaoka9812fb02011-07-04 15:09:21 +090031 <item name="horizontalGap">@fraction/key_horizontal_gap</item>
32 <item name="verticalGap">@fraction/key_bottom_gap</item>
Tadashi G. Takaoka9d5601e2011-08-31 15:26:32 +090033 <item name="maxMoreKeysColumn">@integer/config_max_more_keys_column</item>
Tadashi G. Takaokab7758d62011-06-15 13:38:58 +090034 </style>
Tadashi G. Takaoka5a309f52010-12-02 18:46:21 +090035 <style name="KeyboardView">
satok979f8692010-08-20 14:35:02 +090036 <item name="android:background">@drawable/keyboard_background</item>
satok979f8692010-08-20 14:35:02 +090037 <item name="keyBackground">@drawable/btn_keyboard_key</item>
Tadashi G. Takaokad1578342011-05-12 23:49:19 +090038 <item name="keyLetterRatio">@fraction/key_letter_ratio</item>
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +090039 <item name="keyLargeLetterRatio">@fraction/key_large_letter_ratio</item>
Tadashi G. Takaoka9d9522a2011-06-15 12:36:53 +090040 <item name="keyLabelRatio">@fraction/key_label_ratio</item>
Tadashi G. Takaoka88d378b2012-05-18 11:46:42 +090041 <item name="keyLargeLabelRatio">@fraction/key_large_label_ratio</item>
Tadashi G. Takaoka9d9522a2011-06-15 12:36:53 +090042 <item name="keyHintLetterRatio">@fraction/key_hint_letter_ratio</item>
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +090043 <item name="keyHintLabelRatio">@fraction/key_hint_label_ratio</item>
Tadashi G. Takaokaca2f0512012-01-26 18:03:30 +090044 <item name="keyShiftedLetterHintRatio">@fraction/key_uppercase_letter_ratio</item>
Tadashi G. Takaoka9d9522a2011-06-15 12:36:53 +090045 <item name="keyTextStyle">normal</item>
satok979f8692010-08-20 14:35:02 +090046 <item name="keyTextColor">#FFFFFFFF</item>
Tadashi G. Takaoka9d9522a2011-06-15 12:36:53 +090047 <item name="keyTextInactivatedColor">#FFFFFFFF</item>
48 <item name="keyHintLetterColor">#80000000</item>
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +090049 <item name="keyHintLabelColor">#E0E0E4E5</item>
Tadashi G. Takaokaca2f0512012-01-26 18:03:30 +090050 <item name="keyShiftedLetterHintInactivatedColor">#66E0E4E5</item>
51 <item name="keyShiftedLetterHintActivatedColor">#CCE0E4E5</item>
Tadashi G. Takaokad773bf32011-06-28 16:32:39 +090052 <item name="keyLabelHorizontalPadding">@dimen/key_label_horizontal_padding</item>
53 <item name="keyHintLetterPadding">@dimen/key_hint_letter_padding</item>
Ken Wakasa6b97d2b2011-09-07 21:56:42 +090054 <item name="keyPopupHintLetterPadding">@dimen/key_popup_hint_letter_padding</item>
Tadashi G. Takaokaca2f0512012-01-26 18:03:30 +090055 <item name="keyShiftedLetterHintPadding">@dimen/key_uppercase_letter_padding</item>
satok395d5012010-09-13 21:54:15 +090056 <item name="keyPreviewLayout">@layout/key_preview</item>
Tadashi G. Takaoka8aee7592011-06-27 17:51:36 +090057 <item name="keyPreviewBackground">@drawable/keyboard_key_feedback</item>
Tadashi G. Takaokad87f28f2011-06-28 03:01:35 +090058 <item name="keyPreviewLeftBackground">@null</item>
59 <item name="keyPreviewRightBackground">@null</item>
Tadashi G. Takaoka8aee7592011-06-27 17:51:36 +090060 <item name="keyPreviewTextColor">#FFFFFFFF</item>
Tadashi G. Takaoka2b4cc0d2010-09-28 14:35:21 +090061 <item name="keyPreviewOffset">@dimen/key_preview_offset</item>
62 <item name="keyPreviewHeight">@dimen/key_preview_height</item>
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +090063 <item name="keyPreviewTextRatio">@fraction/key_preview_text_ratio</item>
Tadashi G. Takaoka160f0122012-01-25 20:14:39 +090064 <item name="keyPreviewLingerTimeout">@integer/config_key_preview_linger_timeout</item>
Tadashi G. Takaoka2affaf92012-02-08 16:12:11 +090065 <item name="moreKeysLayout">@layout/more_keys_keyboard</item>
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +090066 <item name="verticalCorrection">@dimen/keyboard_vertical_correction</item>
satok979f8692010-08-20 14:35:02 +090067 <item name="shadowColor">#BB000000</item>
68 <item name="shadowRadius">2.75</item>
Tadashi G. Takaoka299ac262012-03-13 17:28:52 +090069 <item name="backgroundDimAlpha">128</item>
Tadashi G. Takaokaca57f5b2012-07-30 16:06:19 +090070 <!-- android:color/holo_blue_light=#FF33B5E5 -->
71 <item name="gestureFloatingPreviewTextSize">@dimen/gesture_floating_preview_text_size</item>
72 <item name="gestureFloatingPreviewTextColor">@android:color/white</item>
73 <item name="gestureFloatingPreviewTextOffset">@dimen/gesture_floating_preview_text_offset</item>
74 <item name="gestureFloatingPreviewTextShadingColor">@android:color/holo_blue_light</item>
75 <item name="gestureFloatingPreviewTextShadingBorder">@dimen/gesture_floating_preview_text_shading_border</item>
76 <item name="gestureFloatingPreviewTextShadowColor">#FF252525</item>
77 <item name="gestureFloatingPreviewTextShadowBorder">@dimen/gesture_floating_preview_text_shadow_border</item>
78 <item name="gestureFloatingPreviewTextConnectorColor">@android:color/white</item>
79 <item name="gestureFloatingPreviewTextConnectorWidth">@dimen/gesture_floating_preview_text_connector_width</item>
80 <item name="gesturePreviewTrailColor">@android:color/holo_blue_light</item>
81 <item name="gesturePreviewTrailWidth">@dimen/gesture_preview_trail_width</item>
Tadashi G. Takaokac8e45dd2012-07-23 10:27:14 +090082 <!-- Common attributes of MainKeyboardView -->
Tadashi G. Takaoka160f0122012-01-25 20:14:39 +090083 <item name="keyHysteresisDistance">@dimen/config_key_hysteresis_distance</item>
84 <item name="touchNoiseThresholdTime">@integer/config_touch_noise_threshold_time</item>
85 <item name="touchNoiseThresholdDistance">@dimen/config_touch_noise_threshold_distance</item>
86 <item name="slidingKeyInputEnable">@bool/config_sliding_key_input_enabled</item>
87 <item name="keyRepeatStartTimeout">@integer/config_key_repeat_start_timeout</item>
88 <item name="keyRepeatInterval">@integer/config_key_repeat_interval</item>
89 <item name="longPressKeyTimeout">@integer/config_long_press_key_timeout</item>
90 <item name="longPressShiftKeyTimeout">@integer/config_long_press_shift_key_timeout</item>
Tadashi G. Takaoka73a46bf2012-03-14 14:46:22 +090091 <item name="ignoreAltCodeKeyTimeout">@integer/config_ignore_alt_code_key_timeout</item>
Tadashi G. Takaoka2affaf92012-02-08 16:12:11 +090092 <item name="showMoreKeysKeyboardAtTouchedPoint">@bool/config_show_more_keys_keyboard_at_touched_point</item>
Tadashi G. Takaoka31c94ce2012-03-16 14:05:20 +090093 <item name="languageOnSpacebarFinalAlpha">@integer/config_language_on_spacebar_final_alpha</item>
Tadashi G. Takaokad7c4ba12012-03-14 12:33:03 +090094 <item name="languageOnSpacebarFadeoutAnimator">@anim/language_on_spacebar_fadeout</item>
Tadashi G. Takaoka73a46bf2012-03-14 14:46:22 +090095 <item name="altCodeKeyWhileTypingFadeoutAnimator">@anim/alt_code_key_while_typing_fadeout</item>
96 <item name="altCodeKeyWhileTypingFadeinAnimator">@anim/alt_code_key_while_typing_fadein</item>
satok979f8692010-08-20 14:35:02 +090097 </style>
Tadashi G. Takaokac04bbc12011-08-26 15:13:30 +090098 <style
Tadashi G. Takaokac8e45dd2012-07-23 10:27:14 +090099 name="MainKeyboardView"
Tadashi G. Takaoka5afc3ae2011-12-18 04:55:17 +0900100 parent="KeyboardView">
Tadashi G. Takaoka4112dc02011-12-18 08:13:36 +0900101 <item name="autoCorrectionSpacebarLedEnabled">true</item>
102 <item name="autoCorrectionSpacebarLedIcon">@drawable/sym_keyboard_space_led</item>
103 <item name="spacebarTextRatio">@fraction/spacebar_text_ratio</item>
104 <item name="spacebarTextColor">#FFC0C0C0</item>
105 <item name="spacebarTextShadowColor">#80000000</item>
Tadashi G. Takaoka5afc3ae2011-12-18 04:55:17 +0900106 </style>
107 <style
Tadashi G. Takaoka2affaf92012-02-08 16:12:11 +0900108 name="MoreKeysKeyboard"
Tadashi G. Takaokaea0c5672011-09-05 18:58:30 +0900109 parent="Keyboard"
110 >
Tadashi G. Takaoka7c38b732012-03-21 19:08:58 +0900111 <item name="keyboardTopPadding">0dp</item>
112 <item name="keyboardBottomPadding">0dp</item>
113 <item name="horizontalGap">0dp</item>
Tadashi G. Takaokaea0c5672011-09-05 18:58:30 +0900114 </style>
115 <style
Tadashi G. Takaoka2affaf92012-02-08 16:12:11 +0900116 name="MoreKeysKeyboardView"
Tadashi G. Takaokac04bbc12011-08-26 15:13:30 +0900117 parent="KeyboardView"
118 >
Tadashi G. Takaoka13a74192011-05-24 21:08:20 +0900119 <item name="keyBackground">@drawable/btn_keyboard_key_popup</item>
Tadashi G. Takaoka2affaf92012-02-08 16:12:11 +0900120 <item name="verticalCorrection">@dimen/more_keys_keyboard_vertical_correction</item>
Tadashi G. Takaoka13a74192011-05-24 21:08:20 +0900121 </style>
Tadashi G. Takaoka2affaf92012-02-08 16:12:11 +0900122 <style name="MoreKeysKeyboardPanelStyle">
Tadashi G. Takaoka13a74192011-05-24 21:08:20 +0900123 <item name="android:background">@drawable/keyboard_popup_panel_background</item>
Tadashi G. Takaoka13a74192011-05-24 21:08:20 +0900124 </style>
125 <style name="SuggestionsStripBackgroundStyle">
126 <item name="android:background">@drawable/keyboard_suggest_strip</item>
127 </style>
Tadashi G. Takaokac04bbc12011-08-26 15:13:30 +0900128 <style
Tadashi G. Takaoka47026712012-07-23 15:28:28 +0900129 name="SuggestionStripViewStyle"
Tadashi G. Takaokac04bbc12011-08-26 15:13:30 +0900130 parent="SuggestionsStripBackgroundStyle"
131 >
Tadashi G. Takaokaa44685a2011-12-15 16:38:17 +0900132 <item name="suggestionStripOption">autoCorrectBold|validTypedWordBold</item>
133 <item name="colorValidTypedWord">#FFFCAE00</item>
Tadashi G. Takaoka697bf582011-09-13 12:35:52 +0900134 <item name="colorTypedWord">@android:color/white</item>
Tadashi G. Takaoka08a6f2a2011-06-15 11:49:57 +0900135 <item name="colorAutoCorrect">#FFFCAE00</item>
136 <item name="colorSuggested">#FFFCAE00</item>
Tadashi G. Takaoka697bf582011-09-13 12:35:52 +0900137 <item name="alphaObsoleted">50</item>
Tadashi G. Takaoka913e2ae2011-09-01 14:54:28 +0900138 <item name="suggestionsCountInStrip">@integer/suggestions_count_in_strip</item>
139 <item name="centerSuggestionPercentile">@integer/center_suggestion_percentile</item>
Tadashi G. Takaoka96760382011-09-05 17:22:34 +0900140 <item name="maxMoreSuggestionsRow">@integer/max_more_suggestions_row</item>
141 <item name="minMoreSuggestionsWidth">@fraction/min_more_suggestions_width</item>
Tadashi G. Takaoka08a6f2a2011-06-15 11:49:57 +0900142 </style>
Tadashi G. Takaoka0e2fa662011-09-05 16:46:15 +0900143 <style
144 name="MoreSuggestionsViewStyle"
Tadashi G. Takaoka2affaf92012-02-08 16:12:11 +0900145 parent="MoreKeysKeyboardView"
Tadashi G. Takaoka0e2fa662011-09-05 16:46:15 +0900146 >
147 </style>
148 <style name="SuggestionBackgroundStyle">
149 <item name="android:background">@drawable/btn_suggestion</item>
150 </style>
151 <style name="SuggestionPreviewBackgroundStyle">
152 <item name="android:background">@drawable/suggestion_feedback_background</item>
153 </style>
Tadashi G. Takaoka13a74192011-05-24 21:08:20 +0900154 <!-- Theme "Basic high contrast" -->
Tadashi G. Takaokac04bbc12011-08-26 15:13:30 +0900155 <style
Tadashi G. Takaoka5c269222011-09-30 21:12:20 +0900156 name="Keyboard.HighContrast"
157 parent="Keyboard"
158 >
Tadashi G. Takaoka411749a2012-03-08 16:20:22 +0900159 <!-- This should be aligned with KeyboardSwitcher.KEYBOARD_THEMES[] -->
Tadashi G. Takaoka5c269222011-09-30 21:12:20 +0900160 <item name="themeId">1</item>
161 </style>
162 <style
Tadashi G. Takaokac04bbc12011-08-26 15:13:30 +0900163 name="KeyboardView.HighContrast"
164 parent="KeyboardView"
165 >
Tadashi G. Takaoka13a74192011-05-24 21:08:20 +0900166 <item name="android:background">@android:color/black</item>
167 <item name="keyBackground">@drawable/btn_keyboard_key3</item>
168 </style>
Tadashi G. Takaoka5afc3ae2011-12-18 04:55:17 +0900169 <style
Tadashi G. Takaokac8e45dd2012-07-23 10:27:14 +0900170 name="MainKeyboardView.HighContrast"
Tadashi G. Takaoka5afc3ae2011-12-18 04:55:17 +0900171 parent="KeyboardView.HighContrast"
172 >
Tadashi G. Takaoka4112dc02011-12-18 08:13:36 +0900173 <item name="autoCorrectionSpacebarLedEnabled">true</item>
174 <item name="autoCorrectionSpacebarLedIcon">@drawable/sym_keyboard_space_led</item>
175 <item name="spacebarTextRatio">@fraction/spacebar_text_ratio</item>
176 <item name="spacebarTextColor">#FFC0C0C0</item>
177 <item name="spacebarTextShadowColor">#80000000</item>
Tadashi G. Takaoka5afc3ae2011-12-18 04:55:17 +0900178 </style>
Tadashi G. Takaoka13a74192011-05-24 21:08:20 +0900179 <!-- Theme "Stone" -->
Tadashi G. Takaokac04bbc12011-08-26 15:13:30 +0900180 <style
181 name="Keyboard.Stone"
182 parent="Keyboard"
183 >
Tadashi G. Takaoka411749a2012-03-08 16:20:22 +0900184 <!-- This should be aligned with KeyboardSwitcher.KEYBOARD_THEMES[] -->
Tadashi G. Takaoka5c269222011-09-30 21:12:20 +0900185 <item name="themeId">6</item>
Tadashi G. Takaoka9812fb02011-07-04 15:09:21 +0900186 <item name="keyboardTopPadding">@fraction/keyboard_top_padding_stone</item>
187 <item name="keyboardBottomPadding">@fraction/keyboard_bottom_padding_stone</item>
188 <item name="horizontalGap">@fraction/key_horizontal_gap_stone</item>
189 <item name="verticalGap">@fraction/key_bottom_gap_stone</item>
Tadashi G. Takaoka9116bf12011-06-21 20:10:51 +0900190 </style>
Tadashi G. Takaokac04bbc12011-08-26 15:13:30 +0900191 <style
Tadashi G. Takaokac04bbc12011-08-26 15:13:30 +0900192 name="KeyboardView.Stone"
193 parent="KeyboardView"
194 >
Tadashi G. Takaoka13a74192011-05-24 21:08:20 +0900195 <item name="keyBackground">@drawable/btn_keyboard_key_stone</item>
Tadashi G. Takaoka9116bf12011-06-21 20:10:51 +0900196 <item name="keyTextColor">#FF000000</item>
Tadashi G. Takaoka9d9522a2011-06-15 12:36:53 +0900197 <item name="keyTextInactivatedColor">#FF808080</item>
Tadashi G. Takaoka8aee7592011-06-27 17:51:36 +0900198 <item name="keyHintLetterColor">#80000000</item>
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +0900199 <item name="keyHintLabelColor">#E0000000</item>
Tadashi G. Takaokaca2f0512012-01-26 18:03:30 +0900200 <item name="keyShiftedLetterHintInactivatedColor">#66000000</item>
201 <item name="keyShiftedLetterHintActivatedColor">#CC000000</item>
Tadashi G. Takaoka9116bf12011-06-21 20:10:51 +0900202 <item name="shadowColor">#FFFFFFFF</item>
Tadashi G. Takaoka13a74192011-05-24 21:08:20 +0900203 </style>
Tadashi G. Takaokac04bbc12011-08-26 15:13:30 +0900204 <style
Tadashi G. Takaokac8e45dd2012-07-23 10:27:14 +0900205 name="MainKeyboardView.Stone"
Tadashi G. Takaoka5afc3ae2011-12-18 04:55:17 +0900206 parent="KeyboardView.Stone"
207 >
Tadashi G. Takaoka4112dc02011-12-18 08:13:36 +0900208 <item name="autoCorrectionSpacebarLedEnabled">true</item>
209 <item name="autoCorrectionSpacebarLedIcon">@drawable/sym_keyboard_space_led</item>
210 <item name="spacebarTextRatio">@fraction/spacebar_text_ratio</item>
211 <item name="spacebarTextColor">#FF000000</item>
212 <item name="spacebarTextShadowColor">#D0FFFFFF</item>
Tadashi G. Takaoka5afc3ae2011-12-18 04:55:17 +0900213 </style>
214 <style
Tadashi G. Takaoka2affaf92012-02-08 16:12:11 +0900215 name="MoreKeysKeyboard.Stone"
Tadashi G. Takaokaea0c5672011-09-05 18:58:30 +0900216 parent="Keyboard.Stone"
217 >
Tadashi G. Takaoka7c38b732012-03-21 19:08:58 +0900218 <item name="keyboardTopPadding">0dp</item>
219 <item name="keyboardBottomPadding">0dp</item>
220 <item name="horizontalGap">0dp</item>
Tadashi G. Takaokaea0c5672011-09-05 18:58:30 +0900221 </style>
222 <style
Tadashi G. Takaoka2affaf92012-02-08 16:12:11 +0900223 name="MoreKeysKeyboardView.Stone"
224 parent="MoreKeysKeyboardView"
Tadashi G. Takaokac04bbc12011-08-26 15:13:30 +0900225 >
Tadashi G. Takaoka13a74192011-05-24 21:08:20 +0900226 <item name="keyBackground">@drawable/btn_keyboard_key_stone</item>
Tadashi G. Takaoka9116bf12011-06-21 20:10:51 +0900227 <item name="keyTextColor">#FF000000</item>
228 <item name="shadowColor">#FFFFFFFF</item>
Tadashi G. Takaoka13a74192011-05-24 21:08:20 +0900229 </style>
230 <!-- Theme "Stone bold" -->
Tadashi G. Takaokac04bbc12011-08-26 15:13:30 +0900231 <style
Tadashi G. Takaoka5c269222011-09-30 21:12:20 +0900232 name="Keyboard.Stone.Bold"
233 parent="Keyboard.Stone"
234 >
Tadashi G. Takaoka411749a2012-03-08 16:20:22 +0900235 <!-- This should be aligned with KeyboardSwitcher.KEYBOARD_THEMES[] -->
Tadashi G. Takaoka5c269222011-09-30 21:12:20 +0900236 <item name="themeId">7</item>
237 </style>
238 <style
Tadashi G. Takaokac04bbc12011-08-26 15:13:30 +0900239 name="KeyboardView.Stone.Bold"
240 parent="KeyboardView.Stone"
241 >
Tadashi G. Takaoka9d9522a2011-06-15 12:36:53 +0900242 <item name="keyTextStyle">bold</item>
Tadashi G. Takaoka13a74192011-05-24 21:08:20 +0900243 </style>
Tadashi G. Takaoka5afc3ae2011-12-18 04:55:17 +0900244 <style
Tadashi G. Takaokac8e45dd2012-07-23 10:27:14 +0900245 name="MainKeyboardView.Stone.Bold"
Tadashi G. Takaoka5afc3ae2011-12-18 04:55:17 +0900246 parent="KeyboardView.Stone.Bold"
247 >
Tadashi G. Takaoka4112dc02011-12-18 08:13:36 +0900248 <item name="autoCorrectionSpacebarLedEnabled">true</item>
249 <item name="autoCorrectionSpacebarLedIcon">@drawable/sym_keyboard_space_led</item>
250 <item name="spacebarTextRatio">@fraction/spacebar_text_ratio</item>
251 <item name="spacebarTextColor">#FF000000</item>
252 <item name="spacebarTextShadowColor">#D0FFFFFF</item>
Tadashi G. Takaoka5afc3ae2011-12-18 04:55:17 +0900253 </style>
Tadashi G. Takaoka13a74192011-05-24 21:08:20 +0900254 <!-- Theme "Gingerbread" -->
Tadashi G. Takaokac04bbc12011-08-26 15:13:30 +0900255 <style
256 name="Keyboard.Gingerbread"
257 parent="Keyboard"
258 >
Tadashi G. Takaoka411749a2012-03-08 16:20:22 +0900259 <!-- This should be aligned with KeyboardSwitcher.KEYBOARD_THEMES[] -->
Tadashi G. Takaoka5c269222011-09-30 21:12:20 +0900260 <item name="themeId">8</item>
261 <item name="touchPositionCorrectionData">@array/touch_position_correction_data_gingerbread</item>
Tadashi G. Takaoka9812fb02011-07-04 15:09:21 +0900262 <item name="horizontalGap">@fraction/key_horizontal_gap_gb</item>
263 <item name="verticalGap">@fraction/key_bottom_gap_gb</item>
Tadashi G. Takaokad773bf32011-06-28 16:32:39 +0900264 </style>
Tadashi G. Takaokac04bbc12011-08-26 15:13:30 +0900265 <style
266 name="KeyboardView.Gingerbread"
267 parent="KeyboardView"
268 >
Tadashi G. Takaoka13a74192011-05-24 21:08:20 +0900269 <item name="android:background">@drawable/keyboard_dark_background</item>
270 <item name="keyBackground">@drawable/btn_keyboard_key_gingerbread</item>
Tadashi G. Takaoka9d9522a2011-06-15 12:36:53 +0900271 <item name="keyTextStyle">bold</item>
Tadashi G. Takaoka13a74192011-05-24 21:08:20 +0900272 </style>
Tadashi G. Takaokac04bbc12011-08-26 15:13:30 +0900273 <style
Tadashi G. Takaokac8e45dd2012-07-23 10:27:14 +0900274 name="MainKeyboardView.Gingerbread"
Tadashi G. Takaoka5afc3ae2011-12-18 04:55:17 +0900275 parent="KeyboardView.Gingerbread"
276 >
Tadashi G. Takaoka4112dc02011-12-18 08:13:36 +0900277 <item name="autoCorrectionSpacebarLedEnabled">true</item>
278 <item name="autoCorrectionSpacebarLedIcon">@drawable/sym_keyboard_space_led</item>
279 <item name="spacebarTextRatio">@fraction/spacebar_text_ratio</item>
280 <item name="spacebarTextColor">#FFC0C0C0</item>
281 <item name="spacebarTextShadowColor">#80000000</item>
Tadashi G. Takaoka5afc3ae2011-12-18 04:55:17 +0900282 </style>
283 <style
Tadashi G. Takaoka2affaf92012-02-08 16:12:11 +0900284 name="MoreKeysKeyboard.Gingerbread"
Tadashi G. Takaokaea0c5672011-09-05 18:58:30 +0900285 parent="Keyboard.Gingerbread"
286 >
Tadashi G. Takaoka7c38b732012-03-21 19:08:58 +0900287 <item name="keyboardTopPadding">0dp</item>
288 <item name="keyboardBottomPadding">0dp</item>
289 <item name="horizontalGap">0dp</item>
Tadashi G. Takaokaea0c5672011-09-05 18:58:30 +0900290 </style>
291 <style
Tadashi G. Takaoka2affaf92012-02-08 16:12:11 +0900292 name="MoreKeysKeyboardView.Gingerbread"
293 parent="MoreKeysKeyboardView"
Tadashi G. Takaokac04bbc12011-08-26 15:13:30 +0900294 >
Tadashi G. Takaoka13a74192011-05-24 21:08:20 +0900295 <item name="android:background">@null</item>
296 </style>
Tadashi G. Takaoka9116bf12011-06-21 20:10:51 +0900297 <!-- Theme "IceCreamSandwich" -->
Tadashi G. Takaokac04bbc12011-08-26 15:13:30 +0900298 <style
299 name="Keyboard.IceCreamSandwich"
300 parent="Keyboard"
301 >
Tadashi G. Takaoka411749a2012-03-08 16:20:22 +0900302 <!-- This should be aligned with KeyboardSwitcher.KEYBOARD_THEMES[] -->
Tadashi G. Takaoka5c269222011-09-30 21:12:20 +0900303 <item name="themeId">5</item>
Tadashi G. Takaoka9812fb02011-07-04 15:09:21 +0900304 <item name="keyboardTopPadding">@fraction/keyboard_top_padding_ics</item>
305 <item name="keyboardBottomPadding">@fraction/keyboard_bottom_padding_ics</item>
306 <item name="horizontalGap">@fraction/key_horizontal_gap_ics</item>
307 <item name="verticalGap">@fraction/key_bottom_gap_ics</item>
Tadashi G. Takaoka5c269222011-09-30 21:12:20 +0900308 <item name="touchPositionCorrectionData">@array/touch_position_correction_data_ice_cream_sandwich</item>
Tadashi G. Takaokab7758d62011-06-15 13:38:58 +0900309 </style>
Tadashi G. Takaokac04bbc12011-08-26 15:13:30 +0900310 <style
Tadashi G. Takaokac04bbc12011-08-26 15:13:30 +0900311 name="KeyboardView.IceCreamSandwich"
312 parent="KeyboardView"
313 >
Tadashi G. Takaoka13a74192011-05-24 21:08:20 +0900314 <item name="android:background">@drawable/keyboard_background_holo</item>
Tadashi G. Takaoka9116bf12011-06-21 20:10:51 +0900315 <item name="keyBackground">@drawable/btn_keyboard_key_ics</item>
Tadashi G. Takaoka9d9522a2011-06-15 12:36:53 +0900316 <item name="keyTextStyle">bold</item>
317 <item name="keyTextInactivatedColor">#66E0E4E5</item>
318 <item name="keyHintLetterColor">#80000000</item>
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +0900319 <item name="keyHintLabelColor">#A0FFFFFF</item>
Tadashi G. Takaokaca2f0512012-01-26 18:03:30 +0900320 <item name="keyShiftedLetterHintInactivatedColor">#66E0E4E5</item>
321 <item name="keyShiftedLetterHintActivatedColor">#FFFFFFFF</item>
Tadashi G. Takaoka8aee7592011-06-27 17:51:36 +0900322 <item name="keyPreviewBackground">@drawable/keyboard_key_feedback_ics</item>
Tadashi G. Takaokad87f28f2011-06-28 03:01:35 +0900323 <item name="keyPreviewLeftBackground">@drawable/keyboard_key_feedback_left_ics</item>
324 <item name="keyPreviewRightBackground">@drawable/keyboard_key_feedback_right_ics</item>
Tadashi G. Takaoka8aee7592011-06-27 17:51:36 +0900325 <item name="keyPreviewTextColor">#FFFFFFFF</item>
Tadashi G. Takaoka9116bf12011-06-21 20:10:51 +0900326 <item name="keyPreviewOffset">@dimen/key_preview_offset_ics</item>
Tadashi G. Takaoka13a74192011-05-24 21:08:20 +0900327 <item name="shadowColor">#00000000</item>
328 <item name="shadowRadius">0.0</item>
329 </style>
Tadashi G. Takaokac04bbc12011-08-26 15:13:30 +0900330 <style
Tadashi G. Takaokac8e45dd2012-07-23 10:27:14 +0900331 name="MainKeyboardView.IceCreamSandwich"
Tadashi G. Takaoka5afc3ae2011-12-18 04:55:17 +0900332 parent="KeyboardView.IceCreamSandwich"
333 >
Tadashi G. Takaoka4112dc02011-12-18 08:13:36 +0900334 <item name="autoCorrectionSpacebarLedEnabled">false</item>
335 <item name="autoCorrectionSpacebarLedIcon">@drawable/sym_keyboard_space_led_holo</item>
336 <item name="spacebarTextRatio">@fraction/spacebar_text_ratio</item>
337 <item name="spacebarTextColor">#FFC0C0C0</item>
338 <item name="spacebarTextShadowColor">#80000000</item>
Tadashi G. Takaoka42fcb2d2011-12-19 01:11:09 +0900339 </style>
Tadashi G. Takaoka5afc3ae2011-12-18 04:55:17 +0900340 <style
Tadashi G. Takaoka2affaf92012-02-08 16:12:11 +0900341 name="MoreKeysKeyboard.IceCreamSandwich"
Tadashi G. Takaokaea0c5672011-09-05 18:58:30 +0900342 parent="Keyboard.IceCreamSandwich"
343 >
Tadashi G. Takaoka7c38b732012-03-21 19:08:58 +0900344 <item name="keyboardTopPadding">0dp</item>
345 <item name="keyboardBottomPadding">0dp</item>
346 <item name="horizontalGap">0dp</item>
Tadashi G. Takaokaea0c5672011-09-05 18:58:30 +0900347 </style>
348 <style
Tadashi G. Takaoka2affaf92012-02-08 16:12:11 +0900349 name="MoreKeysKeyboardView.IceCreamSandwich"
350 parent="MoreKeysKeyboardView"
Tadashi G. Takaokac04bbc12011-08-26 15:13:30 +0900351 >
Tadashi G. Takaoka13a74192011-05-24 21:08:20 +0900352 <item name="android:background">@null</item>
Tadashi G. Takaoka9116bf12011-06-21 20:10:51 +0900353 <item name="keyBackground">@drawable/btn_keyboard_key_popup_ics</item>
Tadashi G. Takaoka48f63212012-03-07 18:34:15 +0900354 <item name="verticalCorrection">@dimen/more_keys_keyboard_vertical_correction_ics</item>
Tadashi G. Takaoka13a74192011-05-24 21:08:20 +0900355 </style>
Tadashi G. Takaoka2affaf92012-02-08 16:12:11 +0900356 <style name="MoreKeysKeyboardPanelStyle.IceCreamSandwich">
Tadashi G. Takaokaea0c5672011-09-05 18:58:30 +0900357 <item name="android:background">@drawable/keyboard_popup_panel_background_holo</item>
Tadashi G. Takaoka13a74192011-05-24 21:08:20 +0900358 </style>
Tadashi G. Takaoka9116bf12011-06-21 20:10:51 +0900359 <style name="SuggestionsStripBackgroundStyle.IceCreamSandwich">
Tadashi G. Takaoka13a74192011-05-24 21:08:20 +0900360 <item name="android:background">@drawable/keyboard_suggest_strip_holo</item>
361 </style>
Tadashi G. Takaoka29e7b7e2011-08-24 14:44:46 +0900362 <style
Tadashi G. Takaoka47026712012-07-23 15:28:28 +0900363 name="SuggestionStripViewStyle.IceCreamSandwich"
Tadashi G. Takaokac04bbc12011-08-26 15:13:30 +0900364 parent="SuggestionsStripBackgroundStyle.IceCreamSandwich"
365 >
Tadashi G. Takaokad47a9552011-08-16 18:18:58 -0700366 <item name="suggestionStripOption">autoCorrectBold|validTypedWordBold</item>
Tadashi G. Takaoka697bf582011-09-13 12:35:52 +0900367 <!-- android:color/holo_blue_light=#FF33B5E5 -->
Tadashi G. Takaokaa44685a2011-12-15 16:38:17 +0900368 <item name="colorValidTypedWord">@android:color/holo_blue_light</item>
Tadashi G. Takaoka697bf582011-09-13 12:35:52 +0900369 <item name="colorTypedWord">@android:color/holo_blue_light</item>
370 <item name="colorAutoCorrect">@android:color/holo_blue_light</item>
371 <item name="colorSuggested">@android:color/holo_blue_light</item>
Tadashi G. Takaokaa44685a2011-12-15 16:38:17 +0900372 <item name="alphaValidTypedWord">85</item>
Tadashi G. Takaoka697bf582011-09-13 12:35:52 +0900373 <item name="alphaTypedWord">85</item>
Tadashi G. Takaoka697bf582011-09-13 12:35:52 +0900374 <item name="alphaSuggested">70</item>
375 <item name="alphaObsoleted">70</item>
Tadashi G. Takaoka913e2ae2011-09-01 14:54:28 +0900376 <item name="suggestionsCountInStrip">@integer/suggestions_count_in_strip</item>
377 <item name="centerSuggestionPercentile">@integer/center_suggestion_percentile</item>
Tadashi G. Takaoka96760382011-09-05 17:22:34 +0900378 <item name="maxMoreSuggestionsRow">@integer/max_more_suggestions_row</item>
379 <item name="minMoreSuggestionsWidth">@fraction/min_more_suggestions_width</item>
Tadashi G. Takaoka08a6f2a2011-06-15 11:49:57 +0900380 </style>
Tadashi G. Takaoka0e2fa662011-09-05 16:46:15 +0900381 <style
382 name="MoreSuggestionsViewStyle.IceCreamSandwich"
Tadashi G. Takaoka2affaf92012-02-08 16:12:11 +0900383 parent="MoreKeysKeyboardView.IceCreamSandwich"
Tadashi G. Takaoka0e2fa662011-09-05 16:46:15 +0900384 >
385 </style>
386 <style name="SuggestionBackgroundStyle.IceCreamSandwich">
387 <item name="android:background">@drawable/btn_suggestion_ics</item>
388 </style>
389 <style
390 name="SuggestionPreviewBackgroundStyle.IceCreamSandwich"
Tadashi G. Takaoka2affaf92012-02-08 16:12:11 +0900391 parent="MoreKeysKeyboardPanelStyle.IceCreamSandwich"
Tadashi G. Takaoka0e2fa662011-09-05 16:46:15 +0900392 >
393 </style>
Tadashi G. Takaoka2affaf92012-02-08 16:12:11 +0900394 <style name="MoreKeysKeyboardAnimation">
395 <item name="android:windowEnterAnimation">@anim/more_keys_keyboard_fadein</item>
396 <item name="android:windowExitAnimation">@anim/more_keys_keyboard_fadeout</item>
Tadashi G. Takaoka0ae817c2010-09-16 14:54:45 +0900397 </style>
satok979f8692010-08-20 14:35:02 +0900398</resources>