blob: 8b6c29e59f3cf3e3dfe2d1f2de15822b5c7774a1 [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. Takaokae1f091c2013-01-30 13:08:44 +090027 <item name="keyboardLeftPadding">@fraction/keyboard_left_padding</item>
28 <item name="keyboardRightPadding">@fraction/keyboard_right_padding</item>
Tadashi G. Takaoka9812fb02011-07-04 15:09:21 +090029 <item name="horizontalGap">@fraction/key_horizontal_gap</item>
30 <item name="verticalGap">@fraction/key_bottom_gap</item>
Tadashi G. Takaoka9d5601e2011-08-31 15:26:32 +090031 <item name="maxMoreKeysColumn">@integer/config_max_more_keys_column</item>
Tadashi G. Takaokab7758d62011-06-15 13:38:58 +090032 </style>
Tadashi G. Takaoka5a309f52010-12-02 18:46:21 +090033 <style name="KeyboardView">
satok979f8692010-08-20 14:35:02 +090034 <item name="android:background">@drawable/keyboard_background</item>
satok979f8692010-08-20 14:35:02 +090035 <item name="keyBackground">@drawable/btn_keyboard_key</item>
Tadashi G. Takaoka9fa07362012-08-28 12:39:28 +090036 <item name="keyLetterSize">@fraction/key_letter_ratio</item>
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +090037 <item name="keyLargeLetterRatio">@fraction/key_large_letter_ratio</item>
Tadashi G. Takaoka9fa07362012-08-28 12:39:28 +090038 <item name="keyLabelSize">@fraction/key_label_ratio</item>
Tadashi G. Takaoka88d378b2012-05-18 11:46:42 +090039 <item name="keyLargeLabelRatio">@fraction/key_large_label_ratio</item>
Tadashi G. Takaoka9d9522a2011-06-15 12:36:53 +090040 <item name="keyHintLetterRatio">@fraction/key_hint_letter_ratio</item>
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +090041 <item name="keyHintLabelRatio">@fraction/key_hint_label_ratio</item>
Tadashi G. Takaokaca2f0512012-01-26 18:03:30 +090042 <item name="keyShiftedLetterHintRatio">@fraction/key_uppercase_letter_ratio</item>
Tadashi G. Takaokad20652c2012-08-28 11:28:42 +090043 <item name="keyTypeface">normal</item>
Tadashi G. Takaokaebbb5862012-11-22 18:18:53 +090044 <item name="keyTextColor">@color/key_text_color_default</item>
45 <item name="keyTextInactivatedColor">@color/key_text_color_default</item>
46 <item name="keyHintLetterColor">@color/key_hint_letter_color_default</item>
47 <item name="keyHintLabelColor">@color/key_hint_label_color_default</item>
48 <item name="keyShiftedLetterHintInactivatedColor">@color/key_shifted_letter_hint_inactivated_color_default</item>
49 <item name="keyShiftedLetterHintActivatedColor">@color/key_shifted_letter_hint_activated_color_default</item>
Tadashi G. Takaokad773bf32011-06-28 16:32:39 +090050 <item name="keyLabelHorizontalPadding">@dimen/key_label_horizontal_padding</item>
51 <item name="keyHintLetterPadding">@dimen/key_hint_letter_padding</item>
Ken Wakasa6b97d2b2011-09-07 21:56:42 +090052 <item name="keyPopupHintLetterPadding">@dimen/key_popup_hint_letter_padding</item>
Tadashi G. Takaokaca2f0512012-01-26 18:03:30 +090053 <item name="keyShiftedLetterHintPadding">@dimen/key_uppercase_letter_padding</item>
Tadashi G. Takaokaebbb5862012-11-22 18:18:53 +090054 <item name="keyPreviewTextColor">@color/key_text_color_default</item>
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +090055 <item name="keyPreviewTextRatio">@fraction/key_preview_text_ratio</item>
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +090056 <item name="verticalCorrection">@dimen/keyboard_vertical_correction</item>
Tadashi G. Takaokaebbb5862012-11-22 18:18:53 +090057 <item name="keyTextShadowColor">@color/key_text_shadow_color_default</item>
Tadashi G. Takaoka749cc182012-08-30 16:05:40 +090058 <item name="keyTextShadowRadius">2.75</item>
Tadashi G. Takaoka299ac262012-03-13 17:28:52 +090059 <item name="backgroundDimAlpha">128</item>
Tadashi G. Takaokaca57f5b2012-07-30 16:06:19 +090060 <item name="gestureFloatingPreviewTextSize">@dimen/gesture_floating_preview_text_size</item>
Tadashi G. Takaokaebbb5862012-11-22 18:18:53 +090061 <item name="gestureFloatingPreviewTextColor">@color/highlight_color_default</item>
Tadashi G. Takaokaca57f5b2012-07-30 16:06:19 +090062 <item name="gestureFloatingPreviewTextOffset">@dimen/gesture_floating_preview_text_offset</item>
Tadashi G. Takaokaebbb5862012-11-22 18:18:53 +090063 <item name="gestureFloatingPreviewColor">@color/gesture_floating_preview_color_default</item>
Tadashi G. Takaoka71e2e812012-09-05 19:03:02 +090064 <item name="gestureFloatingPreviewHorizontalPadding">@dimen/gesture_floating_preview_horizontal_padding</item>
65 <item name="gestureFloatingPreviewVerticalPadding">@dimen/gesture_floating_preview_vertical_padding</item>
66 <item name="gestureFloatingPreviewRoundRadius">@dimen/gesture_floating_preview_round_radius</item>
Ken Wakasacb3bba32013-05-13 13:12:12 +090067 <item name="gestureTrailMinSamplingDistance">@dimen/gesture_trail_min_sampling_distance</item>
68 <item name="gestureTrailMaxInterpolationAngularThreshold">@integer/gesture_trail_max_interpolation_angular_threshold</item>
69 <item name="gestureTrailMaxInterpolationDistanceThreshold">@dimen/gesture_trail_max_interpolation_distance_threshold</item>
70 <item name="gestureTrailMaxInterpolationSegments">@integer/gesture_trail_max_interpolation_segments</item>
71 <item name="gestureTrailFadeoutStartDelay">@integer/config_gesture_trail_fadeout_start_delay</item>
72 <item name="gestureTrailFadeoutDuration">@integer/config_gesture_trail_fadeout_duration</item>
73 <item name="gestureTrailUpdateInterval">@integer/config_gesture_trail_update_interval</item>
74 <item name="gestureTrailColor">@color/highlight_color_default</item>
75 <item name="gestureTrailStartWidth">@dimen/gesture_trail_start_width</item>
76 <item name="gestureTrailEndWidth">@dimen/gesture_trail_end_width</item>
77 <item name="gestureTrailBodyRatio">@integer/gesture_trail_body_ratio</item>
78 <item name="gestureTrailShadowRatio">@integer/gesture_trail_shadow_ratio</item>
Tadashi G. Takaokac8e45dd2012-07-23 10:27:14 +090079 <!-- Common attributes of MainKeyboardView -->
Tadashi G. Takaoka160f0122012-01-25 20:14:39 +090080 <item name="keyHysteresisDistance">@dimen/config_key_hysteresis_distance</item>
Tadashi G. Takaokaf731eb12012-10-06 23:22:36 +090081 <item name="keyHysteresisDistanceForSlidingModifier">@dimen/config_key_hysteresis_distance_for_sliding_modifier</item>
Tadashi G. Takaoka160f0122012-01-25 20:14:39 +090082 <item name="touchNoiseThresholdTime">@integer/config_touch_noise_threshold_time</item>
83 <item name="touchNoiseThresholdDistance">@dimen/config_touch_noise_threshold_distance</item>
84 <item name="slidingKeyInputEnable">@bool/config_sliding_key_input_enabled</item>
Tadashi G. Takaokaff961dd2013-01-24 16:08:33 +090085 <item name="slidingKeyInputPreviewColor">@color/highlight_translucent_color_default</item>
86 <item name="slidingKeyInputPreviewWidth">@dimen/config_sliding_key_input_preview_width</item>
Tadashi G. Takaokac71dde92013-04-16 16:44:23 +090087 <item name="slidingKeyInputPreviewBodyRatio">@integer/config_sliding_key_input_preview_body_ratio</item>
88 <item name="slidingKeyInputPreviewShadowRatio">@integer/config_sliding_key_input_preview_shadow_ratio</item>
Tadashi G. Takaoka160f0122012-01-25 20:14:39 +090089 <item name="keyRepeatStartTimeout">@integer/config_key_repeat_start_timeout</item>
90 <item name="keyRepeatInterval">@integer/config_key_repeat_interval</item>
Tadashi G. Takaokacc5e4a42013-01-18 12:19:59 +090091 <item name="longPressShiftLockTimeout">@integer/config_longpress_shift_lock_timeout</item>
Tadashi G. Takaoka73a46bf2012-03-14 14:46:22 +090092 <item name="ignoreAltCodeKeyTimeout">@integer/config_ignore_alt_code_key_timeout</item>
Tadashi G. Takaoka37598212013-01-21 15:57:32 +090093 <item name="keyPreviewLayout">@layout/key_preview</item>
Tadashi G. Takaoka0e4f0da2013-01-21 15:23:32 +090094 <item name="keyPreviewOffset">@dimen/key_preview_offset</item>
95 <item name="keyPreviewHeight">@dimen/key_preview_height</item>
96 <item name="keyPreviewLingerTimeout">@integer/config_key_preview_linger_timeout</item>
Tadashi G. Takaokad9449cc2013-01-21 14:41:33 +090097 <item name="moreKeysKeyboardLayout">@layout/more_keys_keyboard</item>
Tadashi G. Takaoka2affaf92012-02-08 16:12:11 +090098 <item name="showMoreKeysKeyboardAtTouchedPoint">@bool/config_show_more_keys_keyboard_at_touched_point</item>
Tadashi G. Takaoka31c94ce2012-03-16 14:05:20 +090099 <item name="languageOnSpacebarFinalAlpha">@integer/config_language_on_spacebar_final_alpha</item>
Tadashi G. Takaokad7c4ba12012-03-14 12:33:03 +0900100 <item name="languageOnSpacebarFadeoutAnimator">@anim/language_on_spacebar_fadeout</item>
Tadashi G. Takaoka57372fd2013-04-26 14:36:43 +0900101 <!-- Remove animations for now because it could drain a non-negligible amount of battery while typing.
Tadashi G. Takaoka73a46bf2012-03-14 14:46:22 +0900102 <item name="altCodeKeyWhileTypingFadeoutAnimator">@anim/alt_code_key_while_typing_fadeout</item>
103 <item name="altCodeKeyWhileTypingFadeinAnimator">@anim/alt_code_key_while_typing_fadein</item>
Tadashi G. Takaoka57372fd2013-04-26 14:36:43 +0900104 -->
Tadashi G. Takaoka80bcb992012-10-05 12:12:54 +0900105 <!-- Common attributes of MainKeyboardView for gesture typing detection and recognition -->
Tadashi G. Takaoka37598212013-01-21 15:57:32 +0900106 <item name="gestureFloatingPreviewTextLingerTimeout">@integer/config_gesture_floating_preview_text_linger_timeout</item>
Tadashi G. Takaoka80bcb992012-10-05 12:12:54 +0900107 <item name="gestureStaticTimeThresholdAfterFastTyping">@integer/config_gesture_static_time_threshold_after_fast_typing</item>
108 <item name="gestureDetectFastMoveSpeedThreshold">@fraction/config_gesture_detect_fast_move_speed_threshold</item>
109 <item name="gestureDynamicThresholdDecayDuration">@integer/config_gesture_dynamic_threshold_decay_duration</item>
110 <item name="gestureDynamicTimeThresholdFrom">@integer/config_gesture_dynamic_time_threshold_from</item>
111 <item name="gestureDynamicTimeThresholdTo">@integer/config_gesture_dynamic_time_threshold_to</item>
112 <item name="gestureDynamicDistanceThresholdFrom">@fraction/config_gesture_dynamic_distance_threshold_from</item>
113 <item name="gestureDynamicDistanceThresholdTo">@fraction/config_gesture_dynamic_distance_threshold_to</item>
114 <item name="gestureSamplingMinimumDistance">@fraction/config_gesture_sampling_minimum_distance</item>
115 <item name="gestureRecognitionMinimumTime">@integer/config_gesture_recognition_minimum_time</item>
Tadashi G. Takaoka72fd0962012-11-22 11:04:41 +0900116 <item name="gestureRecognitionUpdateTime">@integer/config_gesture_recognition_update_time</item>
Tadashi G. Takaoka80bcb992012-10-05 12:12:54 +0900117 <item name="gestureRecognitionSpeedThreshold">@fraction/config_gesture_recognition_speed_threshold</item>
Tadashi G. Takaoka3623b972012-10-05 14:37:22 +0900118 <item name="suppressKeyPreviewAfterBatchInputDuration">@integer/config_suppress_key_preview_after_batch_input_duration</item>
satok979f8692010-08-20 14:35:02 +0900119 </style>
Tadashi G. Takaokac04bbc12011-08-26 15:13:30 +0900120 <style
Tadashi G. Takaokac8e45dd2012-07-23 10:27:14 +0900121 name="MainKeyboardView"
Tadashi G. Takaoka5afc3ae2011-12-18 04:55:17 +0900122 parent="KeyboardView">
Tadashi G. Takaoka4112dc02011-12-18 08:13:36 +0900123 <item name="autoCorrectionSpacebarLedEnabled">true</item>
124 <item name="autoCorrectionSpacebarLedIcon">@drawable/sym_keyboard_space_led</item>
125 <item name="spacebarTextRatio">@fraction/spacebar_text_ratio</item>
Tadashi G. Takaokaebbb5862012-11-22 18:18:53 +0900126 <item name="spacebarTextColor">@color/spacebar_text_color_default</item>
127 <item name="spacebarTextShadowColor">@color/spacebar_text_shadow_color_default</item>
Tadashi G. Takaoka5afc3ae2011-12-18 04:55:17 +0900128 </style>
129 <style
Tadashi G. Takaoka2affaf92012-02-08 16:12:11 +0900130 name="MoreKeysKeyboard"
Tadashi G. Takaokaea0c5672011-09-05 18:58:30 +0900131 parent="Keyboard"
132 >
Tadashi G. Takaoka5ee2d792013-01-29 18:30:42 +0900133 <item name="keyboardTopPadding">0%p</item>
134 <item name="keyboardBottomPadding">0%p</item>
135 <item name="horizontalGap">0%p</item>
Tadashi G. Takaokaf9aa99c2012-10-03 20:49:57 +0900136 <item name="touchPositionCorrectionData">@null</item>
Tadashi G. Takaokaea0c5672011-09-05 18:58:30 +0900137 </style>
138 <style
Tadashi G. Takaoka2affaf92012-02-08 16:12:11 +0900139 name="MoreKeysKeyboardView"
Tadashi G. Takaokac04bbc12011-08-26 15:13:30 +0900140 parent="KeyboardView"
141 >
Tadashi G. Takaoka13a74192011-05-24 21:08:20 +0900142 <item name="keyBackground">@drawable/btn_keyboard_key_popup</item>
Tadashi G. Takaoka2affaf92012-02-08 16:12:11 +0900143 <item name="verticalCorrection">@dimen/more_keys_keyboard_vertical_correction</item>
Tadashi G. Takaoka13a74192011-05-24 21:08:20 +0900144 </style>
Tadashi G. Takaoka2affaf92012-02-08 16:12:11 +0900145 <style name="MoreKeysKeyboardPanelStyle">
Tadashi G. Takaoka13a74192011-05-24 21:08:20 +0900146 <item name="android:background">@drawable/keyboard_popup_panel_background</item>
Tadashi G. Takaoka13a74192011-05-24 21:08:20 +0900147 </style>
148 <style name="SuggestionsStripBackgroundStyle">
149 <item name="android:background">@drawable/keyboard_suggest_strip</item>
150 </style>
Tadashi G. Takaokac04bbc12011-08-26 15:13:30 +0900151 <style
Tadashi G. Takaoka47026712012-07-23 15:28:28 +0900152 name="SuggestionStripViewStyle"
Tadashi G. Takaokac04bbc12011-08-26 15:13:30 +0900153 parent="SuggestionsStripBackgroundStyle"
154 >
Tadashi G. Takaokaa44685a2011-12-15 16:38:17 +0900155 <item name="suggestionStripOption">autoCorrectBold|validTypedWordBold</item>
Tadashi G. Takaokaebbb5862012-11-22 18:18:53 +0900156 <item name="colorValidTypedWord">@color/highlight_color_default</item>
157 <item name="colorTypedWord">@color/typed_word_color_default</item>
158 <item name="colorAutoCorrect">@color/highlight_color_default</item>
159 <item name="colorSuggested">@color/highlight_color_default</item>
Tadashi G. Takaokaef2bfad2012-08-28 13:10:03 +0900160 <item name="alphaObsoleted">50%</item>
Tadashi G. Takaoka913e2ae2011-09-01 14:54:28 +0900161 <item name="suggestionsCountInStrip">@integer/suggestions_count_in_strip</item>
Tadashi G. Takaokaef2bfad2012-08-28 13:10:03 +0900162 <item name="centerSuggestionPercentile">@fraction/center_suggestion_percentile</item>
Tadashi G. Takaoka96760382011-09-05 17:22:34 +0900163 <item name="maxMoreSuggestionsRow">@integer/max_more_suggestions_row</item>
164 <item name="minMoreSuggestionsWidth">@fraction/min_more_suggestions_width</item>
Tadashi G. Takaoka08a6f2a2011-06-15 11:49:57 +0900165 </style>
Tadashi G. Takaoka0e2fa662011-09-05 16:46:15 +0900166 <style
167 name="MoreSuggestionsViewStyle"
Tadashi G. Takaoka2affaf92012-02-08 16:12:11 +0900168 parent="MoreKeysKeyboardView"
Tadashi G. Takaoka0e2fa662011-09-05 16:46:15 +0900169 >
170 </style>
171 <style name="SuggestionBackgroundStyle">
172 <item name="android:background">@drawable/btn_suggestion</item>
173 </style>
Tadashi G. Takaoka13a74192011-05-24 21:08:20 +0900174 <!-- Theme "Basic high contrast" -->
Tadashi G. Takaokac04bbc12011-08-26 15:13:30 +0900175 <style
Tadashi G. Takaoka5c269222011-09-30 21:12:20 +0900176 name="Keyboard.HighContrast"
177 parent="Keyboard"
178 >
Tadashi G. Takaoka411749a2012-03-08 16:20:22 +0900179 <!-- This should be aligned with KeyboardSwitcher.KEYBOARD_THEMES[] -->
Tadashi G. Takaoka5c269222011-09-30 21:12:20 +0900180 <item name="themeId">1</item>
181 </style>
182 <style
Tadashi G. Takaokac04bbc12011-08-26 15:13:30 +0900183 name="KeyboardView.HighContrast"
184 parent="KeyboardView"
185 >
Tadashi G. Takaoka13a74192011-05-24 21:08:20 +0900186 <item name="android:background">@android:color/black</item>
187 <item name="keyBackground">@drawable/btn_keyboard_key3</item>
188 </style>
Tadashi G. Takaoka5afc3ae2011-12-18 04:55:17 +0900189 <style
Tadashi G. Takaokac8e45dd2012-07-23 10:27:14 +0900190 name="MainKeyboardView.HighContrast"
Tadashi G. Takaoka5afc3ae2011-12-18 04:55:17 +0900191 parent="KeyboardView.HighContrast"
192 >
Tadashi G. Takaoka4112dc02011-12-18 08:13:36 +0900193 <item name="autoCorrectionSpacebarLedEnabled">true</item>
194 <item name="autoCorrectionSpacebarLedIcon">@drawable/sym_keyboard_space_led</item>
195 <item name="spacebarTextRatio">@fraction/spacebar_text_ratio</item>
Tadashi G. Takaokaebbb5862012-11-22 18:18:53 +0900196 <item name="spacebarTextColor">@color/spacebar_text_color_default</item>
197 <item name="spacebarTextShadowColor">@color/spacebar_text_shadow_color_default</item>
Tadashi G. Takaoka5afc3ae2011-12-18 04:55:17 +0900198 </style>
Tadashi G. Takaoka13a74192011-05-24 21:08:20 +0900199 <!-- Theme "Stone" -->
Tadashi G. Takaokac04bbc12011-08-26 15:13:30 +0900200 <style
201 name="Keyboard.Stone"
202 parent="Keyboard"
203 >
Tadashi G. Takaoka411749a2012-03-08 16:20:22 +0900204 <!-- This should be aligned with KeyboardSwitcher.KEYBOARD_THEMES[] -->
Tadashi G. Takaoka5c269222011-09-30 21:12:20 +0900205 <item name="themeId">6</item>
Tadashi G. Takaoka9812fb02011-07-04 15:09:21 +0900206 <item name="keyboardTopPadding">@fraction/keyboard_top_padding_stone</item>
207 <item name="keyboardBottomPadding">@fraction/keyboard_bottom_padding_stone</item>
208 <item name="horizontalGap">@fraction/key_horizontal_gap_stone</item>
209 <item name="verticalGap">@fraction/key_bottom_gap_stone</item>
Tadashi G. Takaoka9116bf12011-06-21 20:10:51 +0900210 </style>
Tadashi G. Takaokac04bbc12011-08-26 15:13:30 +0900211 <style
Tadashi G. Takaokac04bbc12011-08-26 15:13:30 +0900212 name="KeyboardView.Stone"
213 parent="KeyboardView"
214 >
Tadashi G. Takaoka13a74192011-05-24 21:08:20 +0900215 <item name="keyBackground">@drawable/btn_keyboard_key_stone</item>
Tadashi G. Takaokaebbb5862012-11-22 18:18:53 +0900216 <item name="keyTextColor">@color/key_text_color_stone</item>
217 <item name="keyTextInactivatedColor">@color/key_text_inactivated_color_stone</item>
218 <item name="keyHintLetterColor">@color/key_hint_letter_color_stone</item>
219 <item name="keyHintLabelColor">@color/key_hint_label_color_stone</item>
220 <item name="keyShiftedLetterHintInactivatedColor">@color/key_shifted_letter_hint_inactivated_color_stone</item>
221 <item name="keyShiftedLetterHintActivatedColor">@color/key_shifted_letter_hint_activated_color_stone</item>
222 <item name="keyTextShadowColor">@color/key_text_shadow_color_stone</item>
Tadashi G. Takaoka13a74192011-05-24 21:08:20 +0900223 </style>
Tadashi G. Takaokac04bbc12011-08-26 15:13:30 +0900224 <style
Tadashi G. Takaokac8e45dd2012-07-23 10:27:14 +0900225 name="MainKeyboardView.Stone"
Tadashi G. Takaoka5afc3ae2011-12-18 04:55:17 +0900226 parent="KeyboardView.Stone"
227 >
Tadashi G. Takaoka4112dc02011-12-18 08:13:36 +0900228 <item name="autoCorrectionSpacebarLedEnabled">true</item>
229 <item name="autoCorrectionSpacebarLedIcon">@drawable/sym_keyboard_space_led</item>
230 <item name="spacebarTextRatio">@fraction/spacebar_text_ratio</item>
Tadashi G. Takaokaebbb5862012-11-22 18:18:53 +0900231 <item name="spacebarTextColor">@color/spacebar_text_color_stone</item>
232 <item name="spacebarTextShadowColor">@color/spacebar_text_shadow_color_stone</item>
Tadashi G. Takaoka5afc3ae2011-12-18 04:55:17 +0900233 </style>
234 <style
Tadashi G. Takaoka2affaf92012-02-08 16:12:11 +0900235 name="MoreKeysKeyboard.Stone"
Tadashi G. Takaokaea0c5672011-09-05 18:58:30 +0900236 parent="Keyboard.Stone"
237 >
Tadashi G. Takaoka5ee2d792013-01-29 18:30:42 +0900238 <item name="keyboardTopPadding">0%p</item>
239 <item name="keyboardBottomPadding">0%p</item>
240 <item name="horizontalGap">0%p</item>
Tadashi G. Takaokaf9aa99c2012-10-03 20:49:57 +0900241 <item name="touchPositionCorrectionData">@null</item>
Tadashi G. Takaokaea0c5672011-09-05 18:58:30 +0900242 </style>
243 <style
Tadashi G. Takaoka2affaf92012-02-08 16:12:11 +0900244 name="MoreKeysKeyboardView.Stone"
245 parent="MoreKeysKeyboardView"
Tadashi G. Takaokac04bbc12011-08-26 15:13:30 +0900246 >
Tadashi G. Takaoka13a74192011-05-24 21:08:20 +0900247 <item name="keyBackground">@drawable/btn_keyboard_key_stone</item>
Tadashi G. Takaokaebbb5862012-11-22 18:18:53 +0900248 <item name="keyTextColor">@color/key_text_color_stone</item>
249 <item name="keyTextShadowColor">@color/key_text_shadow_color_stone</item>
Tadashi G. Takaoka13a74192011-05-24 21:08:20 +0900250 </style>
251 <!-- Theme "Stone bold" -->
Tadashi G. Takaokac04bbc12011-08-26 15:13:30 +0900252 <style
Tadashi G. Takaoka5c269222011-09-30 21:12:20 +0900253 name="Keyboard.Stone.Bold"
254 parent="Keyboard.Stone"
255 >
Tadashi G. Takaoka411749a2012-03-08 16:20:22 +0900256 <!-- This should be aligned with KeyboardSwitcher.KEYBOARD_THEMES[] -->
Tadashi G. Takaoka5c269222011-09-30 21:12:20 +0900257 <item name="themeId">7</item>
258 </style>
259 <style
Tadashi G. Takaokac04bbc12011-08-26 15:13:30 +0900260 name="KeyboardView.Stone.Bold"
261 parent="KeyboardView.Stone"
262 >
Tadashi G. Takaokad20652c2012-08-28 11:28:42 +0900263 <item name="keyTypeface">bold</item>
Tadashi G. Takaoka13a74192011-05-24 21:08:20 +0900264 </style>
Tadashi G. Takaoka5afc3ae2011-12-18 04:55:17 +0900265 <style
Tadashi G. Takaokac8e45dd2012-07-23 10:27:14 +0900266 name="MainKeyboardView.Stone.Bold"
Tadashi G. Takaoka5afc3ae2011-12-18 04:55:17 +0900267 parent="KeyboardView.Stone.Bold"
268 >
Tadashi G. Takaoka4112dc02011-12-18 08:13:36 +0900269 <item name="autoCorrectionSpacebarLedEnabled">true</item>
270 <item name="autoCorrectionSpacebarLedIcon">@drawable/sym_keyboard_space_led</item>
271 <item name="spacebarTextRatio">@fraction/spacebar_text_ratio</item>
Tadashi G. Takaokaebbb5862012-11-22 18:18:53 +0900272 <item name="spacebarTextColor">@color/spacebar_text_color_stone</item>
273 <item name="spacebarTextShadowColor">@color/spacebar_text_shadow_color_stone</item>
Tadashi G. Takaoka5afc3ae2011-12-18 04:55:17 +0900274 </style>
Tadashi G. Takaoka13a74192011-05-24 21:08:20 +0900275 <!-- Theme "Gingerbread" -->
Tadashi G. Takaokac04bbc12011-08-26 15:13:30 +0900276 <style
277 name="Keyboard.Gingerbread"
278 parent="Keyboard"
279 >
Tadashi G. Takaoka411749a2012-03-08 16:20:22 +0900280 <!-- This should be aligned with KeyboardSwitcher.KEYBOARD_THEMES[] -->
Tadashi G. Takaoka5c269222011-09-30 21:12:20 +0900281 <item name="themeId">8</item>
282 <item name="touchPositionCorrectionData">@array/touch_position_correction_data_gingerbread</item>
Tadashi G. Takaoka9812fb02011-07-04 15:09:21 +0900283 <item name="horizontalGap">@fraction/key_horizontal_gap_gb</item>
284 <item name="verticalGap">@fraction/key_bottom_gap_gb</item>
Tadashi G. Takaokad773bf32011-06-28 16:32:39 +0900285 </style>
Tadashi G. Takaokac04bbc12011-08-26 15:13:30 +0900286 <style
287 name="KeyboardView.Gingerbread"
288 parent="KeyboardView"
289 >
Tadashi G. Takaoka13a74192011-05-24 21:08:20 +0900290 <item name="android:background">@drawable/keyboard_dark_background</item>
291 <item name="keyBackground">@drawable/btn_keyboard_key_gingerbread</item>
Tadashi G. Takaokad20652c2012-08-28 11:28:42 +0900292 <item name="keyTypeface">bold</item>
Tadashi G. Takaoka13a74192011-05-24 21:08:20 +0900293 </style>
Tadashi G. Takaokac04bbc12011-08-26 15:13:30 +0900294 <style
Tadashi G. Takaokac8e45dd2012-07-23 10:27:14 +0900295 name="MainKeyboardView.Gingerbread"
Tadashi G. Takaoka5afc3ae2011-12-18 04:55:17 +0900296 parent="KeyboardView.Gingerbread"
297 >
Tadashi G. Takaoka4112dc02011-12-18 08:13:36 +0900298 <item name="autoCorrectionSpacebarLedEnabled">true</item>
299 <item name="autoCorrectionSpacebarLedIcon">@drawable/sym_keyboard_space_led</item>
300 <item name="spacebarTextRatio">@fraction/spacebar_text_ratio</item>
Tadashi G. Takaokaebbb5862012-11-22 18:18:53 +0900301 <item name="spacebarTextColor">@color/spacebar_text_color_default</item>
302 <item name="spacebarTextShadowColor">@color/spacebar_text_shadow_color_default</item>
Tadashi G. Takaoka5afc3ae2011-12-18 04:55:17 +0900303 </style>
304 <style
Tadashi G. Takaoka2affaf92012-02-08 16:12:11 +0900305 name="MoreKeysKeyboard.Gingerbread"
Tadashi G. Takaokaea0c5672011-09-05 18:58:30 +0900306 parent="Keyboard.Gingerbread"
307 >
Tadashi G. Takaoka5ee2d792013-01-29 18:30:42 +0900308 <item name="keyboardTopPadding">0%p</item>
309 <item name="keyboardBottomPadding">0%p</item>
310 <item name="horizontalGap">0%p</item>
Tadashi G. Takaokaf9aa99c2012-10-03 20:49:57 +0900311 <item name="touchPositionCorrectionData">@null</item>
Tadashi G. Takaokaea0c5672011-09-05 18:58:30 +0900312 </style>
313 <style
Tadashi G. Takaoka2affaf92012-02-08 16:12:11 +0900314 name="MoreKeysKeyboardView.Gingerbread"
315 parent="MoreKeysKeyboardView"
Tadashi G. Takaokac04bbc12011-08-26 15:13:30 +0900316 >
Tadashi G. Takaoka13a74192011-05-24 21:08:20 +0900317 <item name="android:background">@null</item>
318 </style>
Tadashi G. Takaoka9116bf12011-06-21 20:10:51 +0900319 <!-- Theme "IceCreamSandwich" -->
Tadashi G. Takaokac04bbc12011-08-26 15:13:30 +0900320 <style
321 name="Keyboard.IceCreamSandwich"
322 parent="Keyboard"
323 >
Tadashi G. Takaoka411749a2012-03-08 16:20:22 +0900324 <!-- This should be aligned with KeyboardSwitcher.KEYBOARD_THEMES[] -->
Tadashi G. Takaoka5c269222011-09-30 21:12:20 +0900325 <item name="themeId">5</item>
Tadashi G. Takaoka9812fb02011-07-04 15:09:21 +0900326 <item name="keyboardTopPadding">@fraction/keyboard_top_padding_ics</item>
327 <item name="keyboardBottomPadding">@fraction/keyboard_bottom_padding_ics</item>
328 <item name="horizontalGap">@fraction/key_horizontal_gap_ics</item>
329 <item name="verticalGap">@fraction/key_bottom_gap_ics</item>
Tadashi G. Takaoka5c269222011-09-30 21:12:20 +0900330 <item name="touchPositionCorrectionData">@array/touch_position_correction_data_ice_cream_sandwich</item>
Tadashi G. Takaokab7758d62011-06-15 13:38:58 +0900331 </style>
Tadashi G. Takaokac04bbc12011-08-26 15:13:30 +0900332 <style
Tadashi G. Takaokac04bbc12011-08-26 15:13:30 +0900333 name="KeyboardView.IceCreamSandwich"
334 parent="KeyboardView"
335 >
Tadashi G. Takaoka13a74192011-05-24 21:08:20 +0900336 <item name="android:background">@drawable/keyboard_background_holo</item>
Tadashi G. Takaoka9116bf12011-06-21 20:10:51 +0900337 <item name="keyBackground">@drawable/btn_keyboard_key_ics</item>
Tadashi G. Takaokad20652c2012-08-28 11:28:42 +0900338 <item name="keyTypeface">bold</item>
Tadashi G. Takaokaebbb5862012-11-22 18:18:53 +0900339 <item name="keyTextInactivatedColor">@color/key_text_inactivated_color_ics</item>
340 <item name="keyHintLetterColor">@color/key_hint_letter_color_ics</item>
341 <item name="keyHintLabelColor">@color/key_hint_label_color_ics</item>
342 <item name="keyShiftedLetterHintInactivatedColor">@color/key_shifted_letter_hint_inactivated_color_ics</item>
343 <item name="keyShiftedLetterHintActivatedColor">@color/key_shifted_letter_hint_activated_color_ics</item>
Tadashi G. Takaokae8c6d5a2012-09-05 15:34:51 +0900344 <item name="keyPreviewLayout">@layout/key_preview_ics</item>
Tadashi G. Takaokaebbb5862012-11-22 18:18:53 +0900345 <item name="keyPreviewTextColor">@color/key_text_color_ics</item>
Tadashi G. Takaoka9116bf12011-06-21 20:10:51 +0900346 <item name="keyPreviewOffset">@dimen/key_preview_offset_ics</item>
Tadashi G. Takaokaebbb5862012-11-22 18:18:53 +0900347 <item name="keyTextShadowColor">@color/key_text_shadow_color_ics</item>
Tadashi G. Takaoka749cc182012-08-30 16:05:40 +0900348 <item name="keyTextShadowRadius">0.0</item>
Tadashi G. Takaokaff961dd2013-01-24 16:08:33 +0900349 <item name="slidingKeyInputPreviewColor">@color/highlight_translucent_color_ics</item>
Tadashi G. Takaokaebbb5862012-11-22 18:18:53 +0900350 <item name="gestureFloatingPreviewTextColor">@color/highlight_color_ics</item>
Ken Wakasacb3bba32013-05-13 13:12:12 +0900351 <item name="gestureTrailColor">@color/highlight_color_ics</item>
Tadashi G. Takaoka13a74192011-05-24 21:08:20 +0900352 </style>
Tadashi G. Takaokac04bbc12011-08-26 15:13:30 +0900353 <style
Tadashi G. Takaokac8e45dd2012-07-23 10:27:14 +0900354 name="MainKeyboardView.IceCreamSandwich"
Tadashi G. Takaoka5afc3ae2011-12-18 04:55:17 +0900355 parent="KeyboardView.IceCreamSandwich"
356 >
Tadashi G. Takaoka4112dc02011-12-18 08:13:36 +0900357 <item name="autoCorrectionSpacebarLedEnabled">false</item>
358 <item name="autoCorrectionSpacebarLedIcon">@drawable/sym_keyboard_space_led_holo</item>
359 <item name="spacebarTextRatio">@fraction/spacebar_text_ratio</item>
Tadashi G. Takaokaebbb5862012-11-22 18:18:53 +0900360 <item name="spacebarTextColor">@color/spacebar_text_color_ics</item>
361 <item name="spacebarTextShadowColor">@color/spacebar_text_shadow_color_ics</item>
Tadashi G. Takaoka42fcb2d2011-12-19 01:11:09 +0900362 </style>
Tadashi G. Takaoka5afc3ae2011-12-18 04:55:17 +0900363 <style
Tadashi G. Takaoka2affaf92012-02-08 16:12:11 +0900364 name="MoreKeysKeyboard.IceCreamSandwich"
Tadashi G. Takaokaea0c5672011-09-05 18:58:30 +0900365 parent="Keyboard.IceCreamSandwich"
366 >
Tadashi G. Takaoka5ee2d792013-01-29 18:30:42 +0900367 <item name="keyboardTopPadding">0%p</item>
368 <item name="keyboardBottomPadding">0%p</item>
369 <item name="horizontalGap">0%p</item>
Tadashi G. Takaokaf9aa99c2012-10-03 20:49:57 +0900370 <item name="touchPositionCorrectionData">@null</item>
Tadashi G. Takaokaea0c5672011-09-05 18:58:30 +0900371 </style>
372 <style
Tadashi G. Takaoka2affaf92012-02-08 16:12:11 +0900373 name="MoreKeysKeyboardView.IceCreamSandwich"
374 parent="MoreKeysKeyboardView"
Tadashi G. Takaokac04bbc12011-08-26 15:13:30 +0900375 >
Tadashi G. Takaoka13a74192011-05-24 21:08:20 +0900376 <item name="android:background">@null</item>
Tadashi G. Takaoka9116bf12011-06-21 20:10:51 +0900377 <item name="keyBackground">@drawable/btn_keyboard_key_popup_ics</item>
Tadashi G. Takaoka48f63212012-03-07 18:34:15 +0900378 <item name="verticalCorrection">@dimen/more_keys_keyboard_vertical_correction_ics</item>
Tadashi G. Takaoka13a74192011-05-24 21:08:20 +0900379 </style>
Tadashi G. Takaoka2affaf92012-02-08 16:12:11 +0900380 <style name="MoreKeysKeyboardPanelStyle.IceCreamSandwich">
Tadashi G. Takaokaea0c5672011-09-05 18:58:30 +0900381 <item name="android:background">@drawable/keyboard_popup_panel_background_holo</item>
Tadashi G. Takaoka13a74192011-05-24 21:08:20 +0900382 </style>
Tadashi G. Takaoka9116bf12011-06-21 20:10:51 +0900383 <style name="SuggestionsStripBackgroundStyle.IceCreamSandwich">
Tadashi G. Takaoka13a74192011-05-24 21:08:20 +0900384 <item name="android:background">@drawable/keyboard_suggest_strip_holo</item>
385 </style>
Tadashi G. Takaoka29e7b7e2011-08-24 14:44:46 +0900386 <style
Tadashi G. Takaoka47026712012-07-23 15:28:28 +0900387 name="SuggestionStripViewStyle.IceCreamSandwich"
Tadashi G. Takaokac04bbc12011-08-26 15:13:30 +0900388 parent="SuggestionsStripBackgroundStyle.IceCreamSandwich"
389 >
Tadashi G. Takaokad47a9552011-08-16 18:18:58 -0700390 <item name="suggestionStripOption">autoCorrectBold|validTypedWordBold</item>
Tadashi G. Takaokaebbb5862012-11-22 18:18:53 +0900391 <item name="colorValidTypedWord">@color/highlight_color_ics</item>
392 <item name="colorTypedWord">@color/highlight_color_ics</item>
393 <item name="colorAutoCorrect">@color/highlight_color_ics</item>
394 <item name="colorSuggested">@color/highlight_color_ics</item>
Tadashi G. Takaokaef2bfad2012-08-28 13:10:03 +0900395 <item name="alphaValidTypedWord">85%</item>
396 <item name="alphaTypedWord">85%</item>
397 <item name="alphaSuggested">70%</item>
398 <item name="alphaObsoleted">70%</item>
Tadashi G. Takaoka913e2ae2011-09-01 14:54:28 +0900399 <item name="suggestionsCountInStrip">@integer/suggestions_count_in_strip</item>
Tadashi G. Takaokaef2bfad2012-08-28 13:10:03 +0900400 <item name="centerSuggestionPercentile">@fraction/center_suggestion_percentile</item>
Tadashi G. Takaoka96760382011-09-05 17:22:34 +0900401 <item name="maxMoreSuggestionsRow">@integer/max_more_suggestions_row</item>
402 <item name="minMoreSuggestionsWidth">@fraction/min_more_suggestions_width</item>
Tadashi G. Takaoka08a6f2a2011-06-15 11:49:57 +0900403 </style>
Tadashi G. Takaoka0e2fa662011-09-05 16:46:15 +0900404 <style
405 name="MoreSuggestionsViewStyle.IceCreamSandwich"
Tadashi G. Takaoka2affaf92012-02-08 16:12:11 +0900406 parent="MoreKeysKeyboardView.IceCreamSandwich"
Tadashi G. Takaoka0e2fa662011-09-05 16:46:15 +0900407 >
408 </style>
409 <style name="SuggestionBackgroundStyle.IceCreamSandwich">
410 <item name="android:background">@drawable/btn_suggestion_ics</item>
411 </style>
412 <style
413 name="SuggestionPreviewBackgroundStyle.IceCreamSandwich"
Tadashi G. Takaoka2affaf92012-02-08 16:12:11 +0900414 parent="MoreKeysKeyboardPanelStyle.IceCreamSandwich"
Tadashi G. Takaoka0e2fa662011-09-05 16:46:15 +0900415 >
416 </style>
Tadashi G. Takaoka2affaf92012-02-08 16:12:11 +0900417 <style name="MoreKeysKeyboardAnimation">
418 <item name="android:windowEnterAnimation">@anim/more_keys_keyboard_fadein</item>
419 <item name="android:windowExitAnimation">@anim/more_keys_keyboard_fadeout</item>
Tadashi G. Takaoka0ae817c2010-09-16 14:54:45 +0900420 </style>
satok979f8692010-08-20 14:35:02 +0900421</resources>