blob: 19d6da86efa5e504ccad255d69e3bf9ba6bedb9a [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>
Tadashi G. Takaoka17752012012-09-27 15:27:51 +090022 <item name="touchPositionCorrectionData">@array/touch_position_correction_data_default</item>
Tadashi G. Takaoka237af542011-06-17 11:55:42 +090023 <item name="rowHeight">25%p</item>
Tadashi G. Takaoka2affaf92012-02-08 16:12:11 +090024 <item name="moreKeysTemplate">@xml/kbd_more_keys_keyboard_template</item>
Tadashi G. Takaoka9812fb02011-07-04 15:09:21 +090025 <item name="keyboardTopPadding">@fraction/keyboard_top_padding</item>
26 <item name="keyboardBottomPadding">@fraction/keyboard_bottom_padding</item>
Tadashi G. Takaoka287f4f82011-09-26 11:26:38 +090027 <item name="keyboardHorizontalEdgesPadding">@fraction/keyboard_horizontal_edges_padding</item>
Tadashi G. Takaoka9812fb02011-07-04 15:09:21 +090028 <item name="horizontalGap">@fraction/key_horizontal_gap</item>
29 <item name="verticalGap">@fraction/key_bottom_gap</item>
Tadashi G. Takaoka9d5601e2011-08-31 15:26:32 +090030 <item name="maxMoreKeysColumn">@integer/config_max_more_keys_column</item>
Tadashi G. Takaokab7758d62011-06-15 13:38:58 +090031 </style>
Tadashi G. Takaoka5a309f52010-12-02 18:46:21 +090032 <style name="KeyboardView">
satok979f8692010-08-20 14:35:02 +090033 <item name="android:background">@drawable/keyboard_background</item>
satok979f8692010-08-20 14:35:02 +090034 <item name="keyBackground">@drawable/btn_keyboard_key</item>
Tadashi G. Takaoka9fa07362012-08-28 12:39:28 +090035 <item name="keyLetterSize">@fraction/key_letter_ratio</item>
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +090036 <item name="keyLargeLetterRatio">@fraction/key_large_letter_ratio</item>
Tadashi G. Takaoka9fa07362012-08-28 12:39:28 +090037 <item name="keyLabelSize">@fraction/key_label_ratio</item>
Tadashi G. Takaoka88d378b2012-05-18 11:46:42 +090038 <item name="keyLargeLabelRatio">@fraction/key_large_label_ratio</item>
Tadashi G. Takaoka9d9522a2011-06-15 12:36:53 +090039 <item name="keyHintLetterRatio">@fraction/key_hint_letter_ratio</item>
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +090040 <item name="keyHintLabelRatio">@fraction/key_hint_label_ratio</item>
Tadashi G. Takaokaca2f0512012-01-26 18:03:30 +090041 <item name="keyShiftedLetterHintRatio">@fraction/key_uppercase_letter_ratio</item>
Tadashi G. Takaokad20652c2012-08-28 11:28:42 +090042 <item name="keyTypeface">normal</item>
Tadashi G. Takaokaebbb5862012-11-22 18:18:53 +090043 <item name="keyTextColor">@color/key_text_color_default</item>
44 <item name="keyTextInactivatedColor">@color/key_text_color_default</item>
45 <item name="keyHintLetterColor">@color/key_hint_letter_color_default</item>
46 <item name="keyHintLabelColor">@color/key_hint_label_color_default</item>
47 <item name="keyShiftedLetterHintInactivatedColor">@color/key_shifted_letter_hint_inactivated_color_default</item>
48 <item name="keyShiftedLetterHintActivatedColor">@color/key_shifted_letter_hint_activated_color_default</item>
Tadashi G. Takaokad773bf32011-06-28 16:32:39 +090049 <item name="keyLabelHorizontalPadding">@dimen/key_label_horizontal_padding</item>
50 <item name="keyHintLetterPadding">@dimen/key_hint_letter_padding</item>
Ken Wakasa6b97d2b2011-09-07 21:56:42 +090051 <item name="keyPopupHintLetterPadding">@dimen/key_popup_hint_letter_padding</item>
Tadashi G. Takaokaca2f0512012-01-26 18:03:30 +090052 <item name="keyShiftedLetterHintPadding">@dimen/key_uppercase_letter_padding</item>
Tadashi G. Takaokaebbb5862012-11-22 18:18:53 +090053 <item name="keyPreviewTextColor">@color/key_text_color_default</item>
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +090054 <item name="keyPreviewTextRatio">@fraction/key_preview_text_ratio</item>
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +090055 <item name="verticalCorrection">@dimen/keyboard_vertical_correction</item>
Tadashi G. Takaokaebbb5862012-11-22 18:18:53 +090056 <item name="keyTextShadowColor">@color/key_text_shadow_color_default</item>
Tadashi G. Takaoka749cc182012-08-30 16:05:40 +090057 <item name="keyTextShadowRadius">2.75</item>
Tadashi G. Takaoka299ac262012-03-13 17:28:52 +090058 <item name="backgroundDimAlpha">128</item>
Tadashi G. Takaokaca57f5b2012-07-30 16:06:19 +090059 <item name="gestureFloatingPreviewTextSize">@dimen/gesture_floating_preview_text_size</item>
Tadashi G. Takaokaebbb5862012-11-22 18:18:53 +090060 <item name="gestureFloatingPreviewTextColor">@color/highlight_color_default</item>
Tadashi G. Takaokaca57f5b2012-07-30 16:06:19 +090061 <item name="gestureFloatingPreviewTextOffset">@dimen/gesture_floating_preview_text_offset</item>
Tadashi G. Takaokaebbb5862012-11-22 18:18:53 +090062 <item name="gestureFloatingPreviewColor">@color/gesture_floating_preview_color_default</item>
Tadashi G. Takaoka71e2e812012-09-05 19:03:02 +090063 <item name="gestureFloatingPreviewHorizontalPadding">@dimen/gesture_floating_preview_horizontal_padding</item>
64 <item name="gestureFloatingPreviewVerticalPadding">@dimen/gesture_floating_preview_vertical_padding</item>
65 <item name="gestureFloatingPreviewRoundRadius">@dimen/gesture_floating_preview_round_radius</item>
Tadashi G. Takaoka333a3002012-08-20 12:57:34 +090066 <item name="gesturePreviewTrailFadeoutStartDelay">@integer/config_gesture_preview_trail_fadeout_start_delay</item>
67 <item name="gesturePreviewTrailFadeoutDuration">@integer/config_gesture_preview_trail_fadeout_duration</item>
68 <item name="gesturePreviewTrailUpdateInterval">@integer/config_gesture_preview_trail_update_interval</item>
Tadashi G. Takaokaebbb5862012-11-22 18:18:53 +090069 <item name="gesturePreviewTrailColor">@color/highlight_color_default</item>
Tadashi G. Takaokac1780c12012-09-06 12:12:10 +090070 <item name="gesturePreviewTrailStartWidth">@dimen/gesture_preview_trail_start_width</item>
71 <item name="gesturePreviewTrailEndWidth">@dimen/gesture_preview_trail_end_width</item>
Tadashi G. Takaokac8e45dd2012-07-23 10:27:14 +090072 <!-- Common attributes of MainKeyboardView -->
Tadashi G. Takaoka160f0122012-01-25 20:14:39 +090073 <item name="keyHysteresisDistance">@dimen/config_key_hysteresis_distance</item>
Tadashi G. Takaokaf731eb12012-10-06 23:22:36 +090074 <item name="keyHysteresisDistanceForSlidingModifier">@dimen/config_key_hysteresis_distance_for_sliding_modifier</item>
Tadashi G. Takaoka160f0122012-01-25 20:14:39 +090075 <item name="touchNoiseThresholdTime">@integer/config_touch_noise_threshold_time</item>
76 <item name="touchNoiseThresholdDistance">@dimen/config_touch_noise_threshold_distance</item>
77 <item name="slidingKeyInputEnable">@bool/config_sliding_key_input_enabled</item>
Tadashi G. Takaokaff961dd2013-01-24 16:08:33 +090078 <item name="slidingKeyInputPreviewColor">@color/highlight_translucent_color_default</item>
79 <item name="slidingKeyInputPreviewWidth">@dimen/config_sliding_key_input_preview_width</item>
Tadashi G. Takaoka160f0122012-01-25 20:14:39 +090080 <item name="keyRepeatStartTimeout">@integer/config_key_repeat_start_timeout</item>
81 <item name="keyRepeatInterval">@integer/config_key_repeat_interval</item>
Tadashi G. Takaokacc5e4a42013-01-18 12:19:59 +090082 <item name="longPressShiftLockTimeout">@integer/config_longpress_shift_lock_timeout</item>
Tadashi G. Takaoka73a46bf2012-03-14 14:46:22 +090083 <item name="ignoreAltCodeKeyTimeout">@integer/config_ignore_alt_code_key_timeout</item>
Tadashi G. Takaoka37598212013-01-21 15:57:32 +090084 <item name="keyPreviewLayout">@layout/key_preview</item>
Tadashi G. Takaoka0e4f0da2013-01-21 15:23:32 +090085 <item name="keyPreviewOffset">@dimen/key_preview_offset</item>
86 <item name="keyPreviewHeight">@dimen/key_preview_height</item>
87 <item name="keyPreviewLingerTimeout">@integer/config_key_preview_linger_timeout</item>
Tadashi G. Takaokad9449cc2013-01-21 14:41:33 +090088 <item name="moreKeysKeyboardLayout">@layout/more_keys_keyboard</item>
Tadashi G. Takaoka2affaf92012-02-08 16:12:11 +090089 <item name="showMoreKeysKeyboardAtTouchedPoint">@bool/config_show_more_keys_keyboard_at_touched_point</item>
Tadashi G. Takaoka31c94ce2012-03-16 14:05:20 +090090 <item name="languageOnSpacebarFinalAlpha">@integer/config_language_on_spacebar_final_alpha</item>
Tadashi G. Takaokad7c4ba12012-03-14 12:33:03 +090091 <item name="languageOnSpacebarFadeoutAnimator">@anim/language_on_spacebar_fadeout</item>
Tadashi G. Takaoka73a46bf2012-03-14 14:46:22 +090092 <item name="altCodeKeyWhileTypingFadeoutAnimator">@anim/alt_code_key_while_typing_fadeout</item>
93 <item name="altCodeKeyWhileTypingFadeinAnimator">@anim/alt_code_key_while_typing_fadein</item>
Tadashi G. Takaoka80bcb992012-10-05 12:12:54 +090094 <!-- Common attributes of MainKeyboardView for gesture typing detection and recognition -->
Tadashi G. Takaoka37598212013-01-21 15:57:32 +090095 <item name="gestureFloatingPreviewTextLingerTimeout">@integer/config_gesture_floating_preview_text_linger_timeout</item>
Tadashi G. Takaoka80bcb992012-10-05 12:12:54 +090096 <item name="gestureStaticTimeThresholdAfterFastTyping">@integer/config_gesture_static_time_threshold_after_fast_typing</item>
97 <item name="gestureDetectFastMoveSpeedThreshold">@fraction/config_gesture_detect_fast_move_speed_threshold</item>
98 <item name="gestureDynamicThresholdDecayDuration">@integer/config_gesture_dynamic_threshold_decay_duration</item>
99 <item name="gestureDynamicTimeThresholdFrom">@integer/config_gesture_dynamic_time_threshold_from</item>
100 <item name="gestureDynamicTimeThresholdTo">@integer/config_gesture_dynamic_time_threshold_to</item>
101 <item name="gestureDynamicDistanceThresholdFrom">@fraction/config_gesture_dynamic_distance_threshold_from</item>
102 <item name="gestureDynamicDistanceThresholdTo">@fraction/config_gesture_dynamic_distance_threshold_to</item>
103 <item name="gestureSamplingMinimumDistance">@fraction/config_gesture_sampling_minimum_distance</item>
104 <item name="gestureRecognitionMinimumTime">@integer/config_gesture_recognition_minimum_time</item>
Tadashi G. Takaoka72fd0962012-11-22 11:04:41 +0900105 <item name="gestureRecognitionUpdateTime">@integer/config_gesture_recognition_update_time</item>
Tadashi G. Takaoka80bcb992012-10-05 12:12:54 +0900106 <item name="gestureRecognitionSpeedThreshold">@fraction/config_gesture_recognition_speed_threshold</item>
Tadashi G. Takaoka3623b972012-10-05 14:37:22 +0900107 <item name="suppressKeyPreviewAfterBatchInputDuration">@integer/config_suppress_key_preview_after_batch_input_duration</item>
satok979f8692010-08-20 14:35:02 +0900108 </style>
Tadashi G. Takaokac04bbc12011-08-26 15:13:30 +0900109 <style
Tadashi G. Takaokac8e45dd2012-07-23 10:27:14 +0900110 name="MainKeyboardView"
Tadashi G. Takaoka5afc3ae2011-12-18 04:55:17 +0900111 parent="KeyboardView">
Tadashi G. Takaoka4112dc02011-12-18 08:13:36 +0900112 <item name="autoCorrectionSpacebarLedEnabled">true</item>
113 <item name="autoCorrectionSpacebarLedIcon">@drawable/sym_keyboard_space_led</item>
114 <item name="spacebarTextRatio">@fraction/spacebar_text_ratio</item>
Tadashi G. Takaokaebbb5862012-11-22 18:18:53 +0900115 <item name="spacebarTextColor">@color/spacebar_text_color_default</item>
116 <item name="spacebarTextShadowColor">@color/spacebar_text_shadow_color_default</item>
Tadashi G. Takaoka5afc3ae2011-12-18 04:55:17 +0900117 </style>
118 <style
Tadashi G. Takaoka2affaf92012-02-08 16:12:11 +0900119 name="MoreKeysKeyboard"
Tadashi G. Takaokaea0c5672011-09-05 18:58:30 +0900120 parent="Keyboard"
121 >
Tadashi G. Takaoka7c38b732012-03-21 19:08:58 +0900122 <item name="keyboardTopPadding">0dp</item>
123 <item name="keyboardBottomPadding">0dp</item>
124 <item name="horizontalGap">0dp</item>
Tadashi G. Takaokaf9aa99c2012-10-03 20:49:57 +0900125 <item name="touchPositionCorrectionData">@null</item>
Tadashi G. Takaokaea0c5672011-09-05 18:58:30 +0900126 </style>
127 <style
Tadashi G. Takaoka2affaf92012-02-08 16:12:11 +0900128 name="MoreKeysKeyboardView"
Tadashi G. Takaokac04bbc12011-08-26 15:13:30 +0900129 parent="KeyboardView"
130 >
Tadashi G. Takaoka13a74192011-05-24 21:08:20 +0900131 <item name="keyBackground">@drawable/btn_keyboard_key_popup</item>
Tadashi G. Takaoka2affaf92012-02-08 16:12:11 +0900132 <item name="verticalCorrection">@dimen/more_keys_keyboard_vertical_correction</item>
Tadashi G. Takaoka13a74192011-05-24 21:08:20 +0900133 </style>
Tadashi G. Takaoka2affaf92012-02-08 16:12:11 +0900134 <style name="MoreKeysKeyboardPanelStyle">
Tadashi G. Takaoka13a74192011-05-24 21:08:20 +0900135 <item name="android:background">@drawable/keyboard_popup_panel_background</item>
Tadashi G. Takaoka13a74192011-05-24 21:08:20 +0900136 </style>
137 <style name="SuggestionsStripBackgroundStyle">
138 <item name="android:background">@drawable/keyboard_suggest_strip</item>
139 </style>
Tadashi G. Takaokac04bbc12011-08-26 15:13:30 +0900140 <style
Tadashi G. Takaoka47026712012-07-23 15:28:28 +0900141 name="SuggestionStripViewStyle"
Tadashi G. Takaokac04bbc12011-08-26 15:13:30 +0900142 parent="SuggestionsStripBackgroundStyle"
143 >
Tadashi G. Takaokaa44685a2011-12-15 16:38:17 +0900144 <item name="suggestionStripOption">autoCorrectBold|validTypedWordBold</item>
Tadashi G. Takaokaebbb5862012-11-22 18:18:53 +0900145 <item name="colorValidTypedWord">@color/highlight_color_default</item>
146 <item name="colorTypedWord">@color/typed_word_color_default</item>
147 <item name="colorAutoCorrect">@color/highlight_color_default</item>
148 <item name="colorSuggested">@color/highlight_color_default</item>
Tadashi G. Takaokaef2bfad2012-08-28 13:10:03 +0900149 <item name="alphaObsoleted">50%</item>
Tadashi G. Takaoka913e2ae2011-09-01 14:54:28 +0900150 <item name="suggestionsCountInStrip">@integer/suggestions_count_in_strip</item>
Tadashi G. Takaokaef2bfad2012-08-28 13:10:03 +0900151 <item name="centerSuggestionPercentile">@fraction/center_suggestion_percentile</item>
Tadashi G. Takaoka96760382011-09-05 17:22:34 +0900152 <item name="maxMoreSuggestionsRow">@integer/max_more_suggestions_row</item>
153 <item name="minMoreSuggestionsWidth">@fraction/min_more_suggestions_width</item>
Tadashi G. Takaoka08a6f2a2011-06-15 11:49:57 +0900154 </style>
Tadashi G. Takaoka0e2fa662011-09-05 16:46:15 +0900155 <style
156 name="MoreSuggestionsViewStyle"
Tadashi G. Takaoka2affaf92012-02-08 16:12:11 +0900157 parent="MoreKeysKeyboardView"
Tadashi G. Takaoka0e2fa662011-09-05 16:46:15 +0900158 >
159 </style>
160 <style name="SuggestionBackgroundStyle">
161 <item name="android:background">@drawable/btn_suggestion</item>
162 </style>
Tadashi G. Takaoka13a74192011-05-24 21:08:20 +0900163 <!-- Theme "Basic high contrast" -->
Tadashi G. Takaokac04bbc12011-08-26 15:13:30 +0900164 <style
Tadashi G. Takaoka5c269222011-09-30 21:12:20 +0900165 name="Keyboard.HighContrast"
166 parent="Keyboard"
167 >
Tadashi G. Takaoka411749a2012-03-08 16:20:22 +0900168 <!-- This should be aligned with KeyboardSwitcher.KEYBOARD_THEMES[] -->
Tadashi G. Takaoka5c269222011-09-30 21:12:20 +0900169 <item name="themeId">1</item>
170 </style>
171 <style
Tadashi G. Takaokac04bbc12011-08-26 15:13:30 +0900172 name="KeyboardView.HighContrast"
173 parent="KeyboardView"
174 >
Tadashi G. Takaoka13a74192011-05-24 21:08:20 +0900175 <item name="android:background">@android:color/black</item>
176 <item name="keyBackground">@drawable/btn_keyboard_key3</item>
177 </style>
Tadashi G. Takaoka5afc3ae2011-12-18 04:55:17 +0900178 <style
Tadashi G. Takaokac8e45dd2012-07-23 10:27:14 +0900179 name="MainKeyboardView.HighContrast"
Tadashi G. Takaoka5afc3ae2011-12-18 04:55:17 +0900180 parent="KeyboardView.HighContrast"
181 >
Tadashi G. Takaoka4112dc02011-12-18 08:13:36 +0900182 <item name="autoCorrectionSpacebarLedEnabled">true</item>
183 <item name="autoCorrectionSpacebarLedIcon">@drawable/sym_keyboard_space_led</item>
184 <item name="spacebarTextRatio">@fraction/spacebar_text_ratio</item>
Tadashi G. Takaokaebbb5862012-11-22 18:18:53 +0900185 <item name="spacebarTextColor">@color/spacebar_text_color_default</item>
186 <item name="spacebarTextShadowColor">@color/spacebar_text_shadow_color_default</item>
Tadashi G. Takaoka5afc3ae2011-12-18 04:55:17 +0900187 </style>
Tadashi G. Takaoka13a74192011-05-24 21:08:20 +0900188 <!-- Theme "Stone" -->
Tadashi G. Takaokac04bbc12011-08-26 15:13:30 +0900189 <style
190 name="Keyboard.Stone"
191 parent="Keyboard"
192 >
Tadashi G. Takaoka411749a2012-03-08 16:20:22 +0900193 <!-- This should be aligned with KeyboardSwitcher.KEYBOARD_THEMES[] -->
Tadashi G. Takaoka5c269222011-09-30 21:12:20 +0900194 <item name="themeId">6</item>
Tadashi G. Takaoka9812fb02011-07-04 15:09:21 +0900195 <item name="keyboardTopPadding">@fraction/keyboard_top_padding_stone</item>
196 <item name="keyboardBottomPadding">@fraction/keyboard_bottom_padding_stone</item>
197 <item name="horizontalGap">@fraction/key_horizontal_gap_stone</item>
198 <item name="verticalGap">@fraction/key_bottom_gap_stone</item>
Tadashi G. Takaoka9116bf12011-06-21 20:10:51 +0900199 </style>
Tadashi G. Takaokac04bbc12011-08-26 15:13:30 +0900200 <style
Tadashi G. Takaokac04bbc12011-08-26 15:13:30 +0900201 name="KeyboardView.Stone"
202 parent="KeyboardView"
203 >
Tadashi G. Takaoka13a74192011-05-24 21:08:20 +0900204 <item name="keyBackground">@drawable/btn_keyboard_key_stone</item>
Tadashi G. Takaokaebbb5862012-11-22 18:18:53 +0900205 <item name="keyTextColor">@color/key_text_color_stone</item>
206 <item name="keyTextInactivatedColor">@color/key_text_inactivated_color_stone</item>
207 <item name="keyHintLetterColor">@color/key_hint_letter_color_stone</item>
208 <item name="keyHintLabelColor">@color/key_hint_label_color_stone</item>
209 <item name="keyShiftedLetterHintInactivatedColor">@color/key_shifted_letter_hint_inactivated_color_stone</item>
210 <item name="keyShiftedLetterHintActivatedColor">@color/key_shifted_letter_hint_activated_color_stone</item>
211 <item name="keyTextShadowColor">@color/key_text_shadow_color_stone</item>
Tadashi G. Takaoka13a74192011-05-24 21:08:20 +0900212 </style>
Tadashi G. Takaokac04bbc12011-08-26 15:13:30 +0900213 <style
Tadashi G. Takaokac8e45dd2012-07-23 10:27:14 +0900214 name="MainKeyboardView.Stone"
Tadashi G. Takaoka5afc3ae2011-12-18 04:55:17 +0900215 parent="KeyboardView.Stone"
216 >
Tadashi G. Takaoka4112dc02011-12-18 08:13:36 +0900217 <item name="autoCorrectionSpacebarLedEnabled">true</item>
218 <item name="autoCorrectionSpacebarLedIcon">@drawable/sym_keyboard_space_led</item>
219 <item name="spacebarTextRatio">@fraction/spacebar_text_ratio</item>
Tadashi G. Takaokaebbb5862012-11-22 18:18:53 +0900220 <item name="spacebarTextColor">@color/spacebar_text_color_stone</item>
221 <item name="spacebarTextShadowColor">@color/spacebar_text_shadow_color_stone</item>
Tadashi G. Takaoka5afc3ae2011-12-18 04:55:17 +0900222 </style>
223 <style
Tadashi G. Takaoka2affaf92012-02-08 16:12:11 +0900224 name="MoreKeysKeyboard.Stone"
Tadashi G. Takaokaea0c5672011-09-05 18:58:30 +0900225 parent="Keyboard.Stone"
226 >
Tadashi G. Takaoka7c38b732012-03-21 19:08:58 +0900227 <item name="keyboardTopPadding">0dp</item>
228 <item name="keyboardBottomPadding">0dp</item>
229 <item name="horizontalGap">0dp</item>
Tadashi G. Takaokaf9aa99c2012-10-03 20:49:57 +0900230 <item name="touchPositionCorrectionData">@null</item>
Tadashi G. Takaokaea0c5672011-09-05 18:58:30 +0900231 </style>
232 <style
Tadashi G. Takaoka2affaf92012-02-08 16:12:11 +0900233 name="MoreKeysKeyboardView.Stone"
234 parent="MoreKeysKeyboardView"
Tadashi G. Takaokac04bbc12011-08-26 15:13:30 +0900235 >
Tadashi G. Takaoka13a74192011-05-24 21:08:20 +0900236 <item name="keyBackground">@drawable/btn_keyboard_key_stone</item>
Tadashi G. Takaokaebbb5862012-11-22 18:18:53 +0900237 <item name="keyTextColor">@color/key_text_color_stone</item>
238 <item name="keyTextShadowColor">@color/key_text_shadow_color_stone</item>
Tadashi G. Takaoka13a74192011-05-24 21:08:20 +0900239 </style>
240 <!-- Theme "Stone bold" -->
Tadashi G. Takaokac04bbc12011-08-26 15:13:30 +0900241 <style
Tadashi G. Takaoka5c269222011-09-30 21:12:20 +0900242 name="Keyboard.Stone.Bold"
243 parent="Keyboard.Stone"
244 >
Tadashi G. Takaoka411749a2012-03-08 16:20:22 +0900245 <!-- This should be aligned with KeyboardSwitcher.KEYBOARD_THEMES[] -->
Tadashi G. Takaoka5c269222011-09-30 21:12:20 +0900246 <item name="themeId">7</item>
247 </style>
248 <style
Tadashi G. Takaokac04bbc12011-08-26 15:13:30 +0900249 name="KeyboardView.Stone.Bold"
250 parent="KeyboardView.Stone"
251 >
Tadashi G. Takaokad20652c2012-08-28 11:28:42 +0900252 <item name="keyTypeface">bold</item>
Tadashi G. Takaoka13a74192011-05-24 21:08:20 +0900253 </style>
Tadashi G. Takaoka5afc3ae2011-12-18 04:55:17 +0900254 <style
Tadashi G. Takaokac8e45dd2012-07-23 10:27:14 +0900255 name="MainKeyboardView.Stone.Bold"
Tadashi G. Takaoka5afc3ae2011-12-18 04:55:17 +0900256 parent="KeyboardView.Stone.Bold"
257 >
Tadashi G. Takaoka4112dc02011-12-18 08:13:36 +0900258 <item name="autoCorrectionSpacebarLedEnabled">true</item>
259 <item name="autoCorrectionSpacebarLedIcon">@drawable/sym_keyboard_space_led</item>
260 <item name="spacebarTextRatio">@fraction/spacebar_text_ratio</item>
Tadashi G. Takaokaebbb5862012-11-22 18:18:53 +0900261 <item name="spacebarTextColor">@color/spacebar_text_color_stone</item>
262 <item name="spacebarTextShadowColor">@color/spacebar_text_shadow_color_stone</item>
Tadashi G. Takaoka5afc3ae2011-12-18 04:55:17 +0900263 </style>
Tadashi G. Takaoka13a74192011-05-24 21:08:20 +0900264 <!-- Theme "Gingerbread" -->
Tadashi G. Takaokac04bbc12011-08-26 15:13:30 +0900265 <style
266 name="Keyboard.Gingerbread"
267 parent="Keyboard"
268 >
Tadashi G. Takaoka411749a2012-03-08 16:20:22 +0900269 <!-- This should be aligned with KeyboardSwitcher.KEYBOARD_THEMES[] -->
Tadashi G. Takaoka5c269222011-09-30 21:12:20 +0900270 <item name="themeId">8</item>
271 <item name="touchPositionCorrectionData">@array/touch_position_correction_data_gingerbread</item>
Tadashi G. Takaoka9812fb02011-07-04 15:09:21 +0900272 <item name="horizontalGap">@fraction/key_horizontal_gap_gb</item>
273 <item name="verticalGap">@fraction/key_bottom_gap_gb</item>
Tadashi G. Takaokad773bf32011-06-28 16:32:39 +0900274 </style>
Tadashi G. Takaokac04bbc12011-08-26 15:13:30 +0900275 <style
276 name="KeyboardView.Gingerbread"
277 parent="KeyboardView"
278 >
Tadashi G. Takaoka13a74192011-05-24 21:08:20 +0900279 <item name="android:background">@drawable/keyboard_dark_background</item>
280 <item name="keyBackground">@drawable/btn_keyboard_key_gingerbread</item>
Tadashi G. Takaokad20652c2012-08-28 11:28:42 +0900281 <item name="keyTypeface">bold</item>
Tadashi G. Takaoka13a74192011-05-24 21:08:20 +0900282 </style>
Tadashi G. Takaokac04bbc12011-08-26 15:13:30 +0900283 <style
Tadashi G. Takaokac8e45dd2012-07-23 10:27:14 +0900284 name="MainKeyboardView.Gingerbread"
Tadashi G. Takaoka5afc3ae2011-12-18 04:55:17 +0900285 parent="KeyboardView.Gingerbread"
286 >
Tadashi G. Takaoka4112dc02011-12-18 08:13:36 +0900287 <item name="autoCorrectionSpacebarLedEnabled">true</item>
288 <item name="autoCorrectionSpacebarLedIcon">@drawable/sym_keyboard_space_led</item>
289 <item name="spacebarTextRatio">@fraction/spacebar_text_ratio</item>
Tadashi G. Takaokaebbb5862012-11-22 18:18:53 +0900290 <item name="spacebarTextColor">@color/spacebar_text_color_default</item>
291 <item name="spacebarTextShadowColor">@color/spacebar_text_shadow_color_default</item>
Tadashi G. Takaoka5afc3ae2011-12-18 04:55:17 +0900292 </style>
293 <style
Tadashi G. Takaoka2affaf92012-02-08 16:12:11 +0900294 name="MoreKeysKeyboard.Gingerbread"
Tadashi G. Takaokaea0c5672011-09-05 18:58:30 +0900295 parent="Keyboard.Gingerbread"
296 >
Tadashi G. Takaoka7c38b732012-03-21 19:08:58 +0900297 <item name="keyboardTopPadding">0dp</item>
298 <item name="keyboardBottomPadding">0dp</item>
299 <item name="horizontalGap">0dp</item>
Tadashi G. Takaokaf9aa99c2012-10-03 20:49:57 +0900300 <item name="touchPositionCorrectionData">@null</item>
Tadashi G. Takaokaea0c5672011-09-05 18:58:30 +0900301 </style>
302 <style
Tadashi G. Takaoka2affaf92012-02-08 16:12:11 +0900303 name="MoreKeysKeyboardView.Gingerbread"
304 parent="MoreKeysKeyboardView"
Tadashi G. Takaokac04bbc12011-08-26 15:13:30 +0900305 >
Tadashi G. Takaoka13a74192011-05-24 21:08:20 +0900306 <item name="android:background">@null</item>
307 </style>
Tadashi G. Takaoka9116bf12011-06-21 20:10:51 +0900308 <!-- Theme "IceCreamSandwich" -->
Tadashi G. Takaokac04bbc12011-08-26 15:13:30 +0900309 <style
310 name="Keyboard.IceCreamSandwich"
311 parent="Keyboard"
312 >
Tadashi G. Takaoka411749a2012-03-08 16:20:22 +0900313 <!-- This should be aligned with KeyboardSwitcher.KEYBOARD_THEMES[] -->
Tadashi G. Takaoka5c269222011-09-30 21:12:20 +0900314 <item name="themeId">5</item>
Tadashi G. Takaoka9812fb02011-07-04 15:09:21 +0900315 <item name="keyboardTopPadding">@fraction/keyboard_top_padding_ics</item>
316 <item name="keyboardBottomPadding">@fraction/keyboard_bottom_padding_ics</item>
317 <item name="horizontalGap">@fraction/key_horizontal_gap_ics</item>
318 <item name="verticalGap">@fraction/key_bottom_gap_ics</item>
Tadashi G. Takaoka5c269222011-09-30 21:12:20 +0900319 <item name="touchPositionCorrectionData">@array/touch_position_correction_data_ice_cream_sandwich</item>
Tadashi G. Takaokab7758d62011-06-15 13:38:58 +0900320 </style>
Tadashi G. Takaokac04bbc12011-08-26 15:13:30 +0900321 <style
Tadashi G. Takaokac04bbc12011-08-26 15:13:30 +0900322 name="KeyboardView.IceCreamSandwich"
323 parent="KeyboardView"
324 >
Tadashi G. Takaoka13a74192011-05-24 21:08:20 +0900325 <item name="android:background">@drawable/keyboard_background_holo</item>
Tadashi G. Takaoka9116bf12011-06-21 20:10:51 +0900326 <item name="keyBackground">@drawable/btn_keyboard_key_ics</item>
Tadashi G. Takaokad20652c2012-08-28 11:28:42 +0900327 <item name="keyTypeface">bold</item>
Tadashi G. Takaokaebbb5862012-11-22 18:18:53 +0900328 <item name="keyTextInactivatedColor">@color/key_text_inactivated_color_ics</item>
329 <item name="keyHintLetterColor">@color/key_hint_letter_color_ics</item>
330 <item name="keyHintLabelColor">@color/key_hint_label_color_ics</item>
331 <item name="keyShiftedLetterHintInactivatedColor">@color/key_shifted_letter_hint_inactivated_color_ics</item>
332 <item name="keyShiftedLetterHintActivatedColor">@color/key_shifted_letter_hint_activated_color_ics</item>
Tadashi G. Takaokae8c6d5a2012-09-05 15:34:51 +0900333 <item name="keyPreviewLayout">@layout/key_preview_ics</item>
Tadashi G. Takaokaebbb5862012-11-22 18:18:53 +0900334 <item name="keyPreviewTextColor">@color/key_text_color_ics</item>
Tadashi G. Takaoka9116bf12011-06-21 20:10:51 +0900335 <item name="keyPreviewOffset">@dimen/key_preview_offset_ics</item>
Tadashi G. Takaokaebbb5862012-11-22 18:18:53 +0900336 <item name="keyTextShadowColor">@color/key_text_shadow_color_ics</item>
Tadashi G. Takaoka749cc182012-08-30 16:05:40 +0900337 <item name="keyTextShadowRadius">0.0</item>
Tadashi G. Takaokaff961dd2013-01-24 16:08:33 +0900338 <item name="slidingKeyInputPreviewColor">@color/highlight_translucent_color_ics</item>
Tadashi G. Takaokaebbb5862012-11-22 18:18:53 +0900339 <item name="gestureFloatingPreviewTextColor">@color/highlight_color_ics</item>
340 <item name="gesturePreviewTrailColor">@color/highlight_color_ics</item>
Tadashi G. Takaoka13a74192011-05-24 21:08:20 +0900341 </style>
Tadashi G. Takaokac04bbc12011-08-26 15:13:30 +0900342 <style
Tadashi G. Takaokac8e45dd2012-07-23 10:27:14 +0900343 name="MainKeyboardView.IceCreamSandwich"
Tadashi G. Takaoka5afc3ae2011-12-18 04:55:17 +0900344 parent="KeyboardView.IceCreamSandwich"
345 >
Tadashi G. Takaoka4112dc02011-12-18 08:13:36 +0900346 <item name="autoCorrectionSpacebarLedEnabled">false</item>
347 <item name="autoCorrectionSpacebarLedIcon">@drawable/sym_keyboard_space_led_holo</item>
348 <item name="spacebarTextRatio">@fraction/spacebar_text_ratio</item>
Tadashi G. Takaokaebbb5862012-11-22 18:18:53 +0900349 <item name="spacebarTextColor">@color/spacebar_text_color_ics</item>
350 <item name="spacebarTextShadowColor">@color/spacebar_text_shadow_color_ics</item>
Tadashi G. Takaoka42fcb2d2011-12-19 01:11:09 +0900351 </style>
Tadashi G. Takaoka5afc3ae2011-12-18 04:55:17 +0900352 <style
Tadashi G. Takaoka2affaf92012-02-08 16:12:11 +0900353 name="MoreKeysKeyboard.IceCreamSandwich"
Tadashi G. Takaokaea0c5672011-09-05 18:58:30 +0900354 parent="Keyboard.IceCreamSandwich"
355 >
Tadashi G. Takaoka7c38b732012-03-21 19:08:58 +0900356 <item name="keyboardTopPadding">0dp</item>
357 <item name="keyboardBottomPadding">0dp</item>
358 <item name="horizontalGap">0dp</item>
Tadashi G. Takaokaf9aa99c2012-10-03 20:49:57 +0900359 <item name="touchPositionCorrectionData">@null</item>
Tadashi G. Takaokaea0c5672011-09-05 18:58:30 +0900360 </style>
361 <style
Tadashi G. Takaoka2affaf92012-02-08 16:12:11 +0900362 name="MoreKeysKeyboardView.IceCreamSandwich"
363 parent="MoreKeysKeyboardView"
Tadashi G. Takaokac04bbc12011-08-26 15:13:30 +0900364 >
Tadashi G. Takaoka13a74192011-05-24 21:08:20 +0900365 <item name="android:background">@null</item>
Tadashi G. Takaoka9116bf12011-06-21 20:10:51 +0900366 <item name="keyBackground">@drawable/btn_keyboard_key_popup_ics</item>
Tadashi G. Takaoka48f63212012-03-07 18:34:15 +0900367 <item name="verticalCorrection">@dimen/more_keys_keyboard_vertical_correction_ics</item>
Tadashi G. Takaoka13a74192011-05-24 21:08:20 +0900368 </style>
Tadashi G. Takaoka2affaf92012-02-08 16:12:11 +0900369 <style name="MoreKeysKeyboardPanelStyle.IceCreamSandwich">
Tadashi G. Takaokaea0c5672011-09-05 18:58:30 +0900370 <item name="android:background">@drawable/keyboard_popup_panel_background_holo</item>
Tadashi G. Takaoka13a74192011-05-24 21:08:20 +0900371 </style>
Tadashi G. Takaoka9116bf12011-06-21 20:10:51 +0900372 <style name="SuggestionsStripBackgroundStyle.IceCreamSandwich">
Tadashi G. Takaoka13a74192011-05-24 21:08:20 +0900373 <item name="android:background">@drawable/keyboard_suggest_strip_holo</item>
374 </style>
Tadashi G. Takaoka29e7b7e2011-08-24 14:44:46 +0900375 <style
Tadashi G. Takaoka47026712012-07-23 15:28:28 +0900376 name="SuggestionStripViewStyle.IceCreamSandwich"
Tadashi G. Takaokac04bbc12011-08-26 15:13:30 +0900377 parent="SuggestionsStripBackgroundStyle.IceCreamSandwich"
378 >
Tadashi G. Takaokad47a9552011-08-16 18:18:58 -0700379 <item name="suggestionStripOption">autoCorrectBold|validTypedWordBold</item>
Tadashi G. Takaokaebbb5862012-11-22 18:18:53 +0900380 <item name="colorValidTypedWord">@color/highlight_color_ics</item>
381 <item name="colorTypedWord">@color/highlight_color_ics</item>
382 <item name="colorAutoCorrect">@color/highlight_color_ics</item>
383 <item name="colorSuggested">@color/highlight_color_ics</item>
Tadashi G. Takaokaef2bfad2012-08-28 13:10:03 +0900384 <item name="alphaValidTypedWord">85%</item>
385 <item name="alphaTypedWord">85%</item>
386 <item name="alphaSuggested">70%</item>
387 <item name="alphaObsoleted">70%</item>
Tadashi G. Takaoka913e2ae2011-09-01 14:54:28 +0900388 <item name="suggestionsCountInStrip">@integer/suggestions_count_in_strip</item>
Tadashi G. Takaokaef2bfad2012-08-28 13:10:03 +0900389 <item name="centerSuggestionPercentile">@fraction/center_suggestion_percentile</item>
Tadashi G. Takaoka96760382011-09-05 17:22:34 +0900390 <item name="maxMoreSuggestionsRow">@integer/max_more_suggestions_row</item>
391 <item name="minMoreSuggestionsWidth">@fraction/min_more_suggestions_width</item>
Tadashi G. Takaoka08a6f2a2011-06-15 11:49:57 +0900392 </style>
Tadashi G. Takaoka0e2fa662011-09-05 16:46:15 +0900393 <style
394 name="MoreSuggestionsViewStyle.IceCreamSandwich"
Tadashi G. Takaoka2affaf92012-02-08 16:12:11 +0900395 parent="MoreKeysKeyboardView.IceCreamSandwich"
Tadashi G. Takaoka0e2fa662011-09-05 16:46:15 +0900396 >
397 </style>
398 <style name="SuggestionBackgroundStyle.IceCreamSandwich">
399 <item name="android:background">@drawable/btn_suggestion_ics</item>
400 </style>
401 <style
402 name="SuggestionPreviewBackgroundStyle.IceCreamSandwich"
Tadashi G. Takaoka2affaf92012-02-08 16:12:11 +0900403 parent="MoreKeysKeyboardPanelStyle.IceCreamSandwich"
Tadashi G. Takaoka0e2fa662011-09-05 16:46:15 +0900404 >
405 </style>
Tadashi G. Takaoka2affaf92012-02-08 16:12:11 +0900406 <style name="MoreKeysKeyboardAnimation">
407 <item name="android:windowEnterAnimation">@anim/more_keys_keyboard_fadein</item>
408 <item name="android:windowExitAnimation">@anim/more_keys_keyboard_fadeout</item>
Tadashi G. Takaoka0ae817c2010-09-16 14:54:45 +0900409 </style>
satok979f8692010-08-20 14:35:02 +0900410</resources>