blob: 0bcf943e4151e53b6b1873162b3f32a2174acab8 [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>
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. Takaoka9fa07362012-08-28 12:39:28 +090038 <item name="keyLetterSize">@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. Takaoka9fa07362012-08-28 12:39:28 +090040 <item name="keyLabelSize">@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. Takaokad20652c2012-08-28 11:28:42 +090045 <item name="keyTypeface">normal</item>
Tadashi G. Takaokaebbb5862012-11-22 18:18:53 +090046 <item name="keyTextColor">@color/key_text_color_default</item>
47 <item name="keyTextInactivatedColor">@color/key_text_color_default</item>
48 <item name="keyHintLetterColor">@color/key_hint_letter_color_default</item>
49 <item name="keyHintLabelColor">@color/key_hint_label_color_default</item>
50 <item name="keyShiftedLetterHintInactivatedColor">@color/key_shifted_letter_hint_inactivated_color_default</item>
51 <item name="keyShiftedLetterHintActivatedColor">@color/key_shifted_letter_hint_activated_color_default</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. Takaokaebbb5862012-11-22 18:18:53 +090057 <item name="keyPreviewTextColor">@color/key_text_color_default</item>
Tadashi G. Takaoka2b4cc0d2010-09-28 14:35:21 +090058 <item name="keyPreviewOffset">@dimen/key_preview_offset</item>
59 <item name="keyPreviewHeight">@dimen/key_preview_height</item>
Tadashi G. Takaoka520a2972011-06-25 19:38:55 +090060 <item name="keyPreviewTextRatio">@fraction/key_preview_text_ratio</item>
Tadashi G. Takaoka160f0122012-01-25 20:14:39 +090061 <item name="keyPreviewLingerTimeout">@integer/config_key_preview_linger_timeout</item>
Tadashi G. Takaoka2affaf92012-02-08 16:12:11 +090062 <item name="moreKeysLayout">@layout/more_keys_keyboard</item>
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +090063 <item name="verticalCorrection">@dimen/keyboard_vertical_correction</item>
Tadashi G. Takaokaebbb5862012-11-22 18:18:53 +090064 <item name="keyTextShadowColor">@color/key_text_shadow_color_default</item>
Tadashi G. Takaoka749cc182012-08-30 16:05:40 +090065 <item name="keyTextShadowRadius">2.75</item>
Tadashi G. Takaoka299ac262012-03-13 17:28:52 +090066 <item name="backgroundDimAlpha">128</item>
Tadashi G. Takaokaca57f5b2012-07-30 16:06:19 +090067 <item name="gestureFloatingPreviewTextSize">@dimen/gesture_floating_preview_text_size</item>
Tadashi G. Takaokaebbb5862012-11-22 18:18:53 +090068 <item name="gestureFloatingPreviewTextColor">@color/highlight_color_default</item>
Tadashi G. Takaokaca57f5b2012-07-30 16:06:19 +090069 <item name="gestureFloatingPreviewTextOffset">@dimen/gesture_floating_preview_text_offset</item>
Tadashi G. Takaokaebbb5862012-11-22 18:18:53 +090070 <item name="gestureFloatingPreviewColor">@color/gesture_floating_preview_color_default</item>
Tadashi G. Takaoka71e2e812012-09-05 19:03:02 +090071 <item name="gestureFloatingPreviewHorizontalPadding">@dimen/gesture_floating_preview_horizontal_padding</item>
72 <item name="gestureFloatingPreviewVerticalPadding">@dimen/gesture_floating_preview_vertical_padding</item>
73 <item name="gestureFloatingPreviewRoundRadius">@dimen/gesture_floating_preview_round_radius</item>
Tadashi G. Takaoka27e48442012-08-07 11:48:10 +090074 <item name="gestureFloatingPreviewTextLingerTimeout">@integer/config_gesture_floating_preview_text_linger_timeout</item>
Tadashi G. Takaoka333a3002012-08-20 12:57:34 +090075 <item name="gesturePreviewTrailFadeoutStartDelay">@integer/config_gesture_preview_trail_fadeout_start_delay</item>
76 <item name="gesturePreviewTrailFadeoutDuration">@integer/config_gesture_preview_trail_fadeout_duration</item>
77 <item name="gesturePreviewTrailUpdateInterval">@integer/config_gesture_preview_trail_update_interval</item>
Tadashi G. Takaokaebbb5862012-11-22 18:18:53 +090078 <item name="gesturePreviewTrailColor">@color/highlight_color_default</item>
Tadashi G. Takaokac1780c12012-09-06 12:12:10 +090079 <item name="gesturePreviewTrailStartWidth">@dimen/gesture_preview_trail_start_width</item>
80 <item name="gesturePreviewTrailEndWidth">@dimen/gesture_preview_trail_end_width</item>
Tadashi G. Takaokac8e45dd2012-07-23 10:27:14 +090081 <!-- Common attributes of MainKeyboardView -->
Tadashi G. Takaoka160f0122012-01-25 20:14:39 +090082 <item name="keyHysteresisDistance">@dimen/config_key_hysteresis_distance</item>
Tadashi G. Takaokaf731eb12012-10-06 23:22:36 +090083 <item name="keyHysteresisDistanceForSlidingModifier">@dimen/config_key_hysteresis_distance_for_sliding_modifier</item>
Tadashi G. Takaoka160f0122012-01-25 20:14:39 +090084 <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>
Tadashi G. Takaoka80bcb992012-10-05 12:12:54 +090097 <!-- Common attributes of MainKeyboardView for gesture typing detection and recognition -->
98 <item name="gestureStaticTimeThresholdAfterFastTyping">@integer/config_gesture_static_time_threshold_after_fast_typing</item>
99 <item name="gestureDetectFastMoveSpeedThreshold">@fraction/config_gesture_detect_fast_move_speed_threshold</item>
100 <item name="gestureDynamicThresholdDecayDuration">@integer/config_gesture_dynamic_threshold_decay_duration</item>
101 <item name="gestureDynamicTimeThresholdFrom">@integer/config_gesture_dynamic_time_threshold_from</item>
102 <item name="gestureDynamicTimeThresholdTo">@integer/config_gesture_dynamic_time_threshold_to</item>
103 <item name="gestureDynamicDistanceThresholdFrom">@fraction/config_gesture_dynamic_distance_threshold_from</item>
104 <item name="gestureDynamicDistanceThresholdTo">@fraction/config_gesture_dynamic_distance_threshold_to</item>
105 <item name="gestureSamplingMinimumDistance">@fraction/config_gesture_sampling_minimum_distance</item>
106 <item name="gestureRecognitionMinimumTime">@integer/config_gesture_recognition_minimum_time</item>
Tadashi G. Takaoka72fd0962012-11-22 11:04:41 +0900107 <item name="gestureRecognitionUpdateTime">@integer/config_gesture_recognition_update_time</item>
Tadashi G. Takaoka80bcb992012-10-05 12:12:54 +0900108 <item name="gestureRecognitionSpeedThreshold">@fraction/config_gesture_recognition_speed_threshold</item>
Tadashi G. Takaoka3623b972012-10-05 14:37:22 +0900109 <item name="suppressKeyPreviewAfterBatchInputDuration">@integer/config_suppress_key_preview_after_batch_input_duration</item>
satok979f8692010-08-20 14:35:02 +0900110 </style>
Tadashi G. Takaokac04bbc12011-08-26 15:13:30 +0900111 <style
Tadashi G. Takaokac8e45dd2012-07-23 10:27:14 +0900112 name="MainKeyboardView"
Tadashi G. Takaoka5afc3ae2011-12-18 04:55:17 +0900113 parent="KeyboardView">
Tadashi G. Takaoka4112dc02011-12-18 08:13:36 +0900114 <item name="autoCorrectionSpacebarLedEnabled">true</item>
115 <item name="autoCorrectionSpacebarLedIcon">@drawable/sym_keyboard_space_led</item>
116 <item name="spacebarTextRatio">@fraction/spacebar_text_ratio</item>
Tadashi G. Takaokaebbb5862012-11-22 18:18:53 +0900117 <item name="spacebarTextColor">@color/spacebar_text_color_default</item>
118 <item name="spacebarTextShadowColor">@color/spacebar_text_shadow_color_default</item>
Tadashi G. Takaoka5afc3ae2011-12-18 04:55:17 +0900119 </style>
120 <style
Tadashi G. Takaoka2affaf92012-02-08 16:12:11 +0900121 name="MoreKeysKeyboard"
Tadashi G. Takaokaea0c5672011-09-05 18:58:30 +0900122 parent="Keyboard"
123 >
Tadashi G. Takaoka7c38b732012-03-21 19:08:58 +0900124 <item name="keyboardTopPadding">0dp</item>
125 <item name="keyboardBottomPadding">0dp</item>
126 <item name="horizontalGap">0dp</item>
Tadashi G. Takaokaf9aa99c2012-10-03 20:49:57 +0900127 <item name="touchPositionCorrectionData">@null</item>
Tadashi G. Takaokaea0c5672011-09-05 18:58:30 +0900128 </style>
129 <style
Tadashi G. Takaoka2affaf92012-02-08 16:12:11 +0900130 name="MoreKeysKeyboardView"
Tadashi G. Takaokac04bbc12011-08-26 15:13:30 +0900131 parent="KeyboardView"
132 >
Tadashi G. Takaoka13a74192011-05-24 21:08:20 +0900133 <item name="keyBackground">@drawable/btn_keyboard_key_popup</item>
Tadashi G. Takaoka2affaf92012-02-08 16:12:11 +0900134 <item name="verticalCorrection">@dimen/more_keys_keyboard_vertical_correction</item>
Tadashi G. Takaoka13a74192011-05-24 21:08:20 +0900135 </style>
Tadashi G. Takaoka2affaf92012-02-08 16:12:11 +0900136 <style name="MoreKeysKeyboardPanelStyle">
Tadashi G. Takaoka13a74192011-05-24 21:08:20 +0900137 <item name="android:background">@drawable/keyboard_popup_panel_background</item>
Tadashi G. Takaoka13a74192011-05-24 21:08:20 +0900138 </style>
139 <style name="SuggestionsStripBackgroundStyle">
140 <item name="android:background">@drawable/keyboard_suggest_strip</item>
141 </style>
Tadashi G. Takaokac04bbc12011-08-26 15:13:30 +0900142 <style
Tadashi G. Takaoka47026712012-07-23 15:28:28 +0900143 name="SuggestionStripViewStyle"
Tadashi G. Takaokac04bbc12011-08-26 15:13:30 +0900144 parent="SuggestionsStripBackgroundStyle"
145 >
Tadashi G. Takaokaa44685a2011-12-15 16:38:17 +0900146 <item name="suggestionStripOption">autoCorrectBold|validTypedWordBold</item>
Tadashi G. Takaokaebbb5862012-11-22 18:18:53 +0900147 <item name="colorValidTypedWord">@color/highlight_color_default</item>
148 <item name="colorTypedWord">@color/typed_word_color_default</item>
149 <item name="colorAutoCorrect">@color/highlight_color_default</item>
150 <item name="colorSuggested">@color/highlight_color_default</item>
Tadashi G. Takaokaef2bfad2012-08-28 13:10:03 +0900151 <item name="alphaObsoleted">50%</item>
Tadashi G. Takaoka913e2ae2011-09-01 14:54:28 +0900152 <item name="suggestionsCountInStrip">@integer/suggestions_count_in_strip</item>
Tadashi G. Takaokaef2bfad2012-08-28 13:10:03 +0900153 <item name="centerSuggestionPercentile">@fraction/center_suggestion_percentile</item>
Tadashi G. Takaoka96760382011-09-05 17:22:34 +0900154 <item name="maxMoreSuggestionsRow">@integer/max_more_suggestions_row</item>
155 <item name="minMoreSuggestionsWidth">@fraction/min_more_suggestions_width</item>
Tadashi G. Takaoka08a6f2a2011-06-15 11:49:57 +0900156 </style>
Tadashi G. Takaoka0e2fa662011-09-05 16:46:15 +0900157 <style
158 name="MoreSuggestionsViewStyle"
Tadashi G. Takaoka2affaf92012-02-08 16:12:11 +0900159 parent="MoreKeysKeyboardView"
Tadashi G. Takaoka0e2fa662011-09-05 16:46:15 +0900160 >
161 </style>
162 <style name="SuggestionBackgroundStyle">
163 <item name="android:background">@drawable/btn_suggestion</item>
164 </style>
Tadashi G. Takaoka13a74192011-05-24 21:08:20 +0900165 <!-- Theme "Basic high contrast" -->
Tadashi G. Takaokac04bbc12011-08-26 15:13:30 +0900166 <style
Tadashi G. Takaoka5c269222011-09-30 21:12:20 +0900167 name="Keyboard.HighContrast"
168 parent="Keyboard"
169 >
Tadashi G. Takaoka411749a2012-03-08 16:20:22 +0900170 <!-- This should be aligned with KeyboardSwitcher.KEYBOARD_THEMES[] -->
Tadashi G. Takaoka5c269222011-09-30 21:12:20 +0900171 <item name="themeId">1</item>
172 </style>
173 <style
Tadashi G. Takaokac04bbc12011-08-26 15:13:30 +0900174 name="KeyboardView.HighContrast"
175 parent="KeyboardView"
176 >
Tadashi G. Takaoka13a74192011-05-24 21:08:20 +0900177 <item name="android:background">@android:color/black</item>
178 <item name="keyBackground">@drawable/btn_keyboard_key3</item>
179 </style>
Tadashi G. Takaoka5afc3ae2011-12-18 04:55:17 +0900180 <style
Tadashi G. Takaokac8e45dd2012-07-23 10:27:14 +0900181 name="MainKeyboardView.HighContrast"
Tadashi G. Takaoka5afc3ae2011-12-18 04:55:17 +0900182 parent="KeyboardView.HighContrast"
183 >
Tadashi G. Takaoka4112dc02011-12-18 08:13:36 +0900184 <item name="autoCorrectionSpacebarLedEnabled">true</item>
185 <item name="autoCorrectionSpacebarLedIcon">@drawable/sym_keyboard_space_led</item>
186 <item name="spacebarTextRatio">@fraction/spacebar_text_ratio</item>
Tadashi G. Takaokaebbb5862012-11-22 18:18:53 +0900187 <item name="spacebarTextColor">@color/spacebar_text_color_default</item>
188 <item name="spacebarTextShadowColor">@color/spacebar_text_shadow_color_default</item>
Tadashi G. Takaoka5afc3ae2011-12-18 04:55:17 +0900189 </style>
Tadashi G. Takaoka13a74192011-05-24 21:08:20 +0900190 <!-- Theme "Stone" -->
Tadashi G. Takaokac04bbc12011-08-26 15:13:30 +0900191 <style
192 name="Keyboard.Stone"
193 parent="Keyboard"
194 >
Tadashi G. Takaoka411749a2012-03-08 16:20:22 +0900195 <!-- This should be aligned with KeyboardSwitcher.KEYBOARD_THEMES[] -->
Tadashi G. Takaoka5c269222011-09-30 21:12:20 +0900196 <item name="themeId">6</item>
Tadashi G. Takaoka9812fb02011-07-04 15:09:21 +0900197 <item name="keyboardTopPadding">@fraction/keyboard_top_padding_stone</item>
198 <item name="keyboardBottomPadding">@fraction/keyboard_bottom_padding_stone</item>
199 <item name="horizontalGap">@fraction/key_horizontal_gap_stone</item>
200 <item name="verticalGap">@fraction/key_bottom_gap_stone</item>
Tadashi G. Takaoka9116bf12011-06-21 20:10:51 +0900201 </style>
Tadashi G. Takaokac04bbc12011-08-26 15:13:30 +0900202 <style
Tadashi G. Takaokac04bbc12011-08-26 15:13:30 +0900203 name="KeyboardView.Stone"
204 parent="KeyboardView"
205 >
Tadashi G. Takaoka13a74192011-05-24 21:08:20 +0900206 <item name="keyBackground">@drawable/btn_keyboard_key_stone</item>
Tadashi G. Takaokaebbb5862012-11-22 18:18:53 +0900207 <item name="keyTextColor">@color/key_text_color_stone</item>
208 <item name="keyTextInactivatedColor">@color/key_text_inactivated_color_stone</item>
209 <item name="keyHintLetterColor">@color/key_hint_letter_color_stone</item>
210 <item name="keyHintLabelColor">@color/key_hint_label_color_stone</item>
211 <item name="keyShiftedLetterHintInactivatedColor">@color/key_shifted_letter_hint_inactivated_color_stone</item>
212 <item name="keyShiftedLetterHintActivatedColor">@color/key_shifted_letter_hint_activated_color_stone</item>
213 <item name="keyTextShadowColor">@color/key_text_shadow_color_stone</item>
Tadashi G. Takaoka13a74192011-05-24 21:08:20 +0900214 </style>
Tadashi G. Takaokac04bbc12011-08-26 15:13:30 +0900215 <style
Tadashi G. Takaokac8e45dd2012-07-23 10:27:14 +0900216 name="MainKeyboardView.Stone"
Tadashi G. Takaoka5afc3ae2011-12-18 04:55:17 +0900217 parent="KeyboardView.Stone"
218 >
Tadashi G. Takaoka4112dc02011-12-18 08:13:36 +0900219 <item name="autoCorrectionSpacebarLedEnabled">true</item>
220 <item name="autoCorrectionSpacebarLedIcon">@drawable/sym_keyboard_space_led</item>
221 <item name="spacebarTextRatio">@fraction/spacebar_text_ratio</item>
Tadashi G. Takaokaebbb5862012-11-22 18:18:53 +0900222 <item name="spacebarTextColor">@color/spacebar_text_color_stone</item>
223 <item name="spacebarTextShadowColor">@color/spacebar_text_shadow_color_stone</item>
Tadashi G. Takaoka5afc3ae2011-12-18 04:55:17 +0900224 </style>
225 <style
Tadashi G. Takaoka2affaf92012-02-08 16:12:11 +0900226 name="MoreKeysKeyboard.Stone"
Tadashi G. Takaokaea0c5672011-09-05 18:58:30 +0900227 parent="Keyboard.Stone"
228 >
Tadashi G. Takaoka7c38b732012-03-21 19:08:58 +0900229 <item name="keyboardTopPadding">0dp</item>
230 <item name="keyboardBottomPadding">0dp</item>
231 <item name="horizontalGap">0dp</item>
Tadashi G. Takaokaf9aa99c2012-10-03 20:49:57 +0900232 <item name="touchPositionCorrectionData">@null</item>
Tadashi G. Takaokaea0c5672011-09-05 18:58:30 +0900233 </style>
234 <style
Tadashi G. Takaoka2affaf92012-02-08 16:12:11 +0900235 name="MoreKeysKeyboardView.Stone"
236 parent="MoreKeysKeyboardView"
Tadashi G. Takaokac04bbc12011-08-26 15:13:30 +0900237 >
Tadashi G. Takaoka13a74192011-05-24 21:08:20 +0900238 <item name="keyBackground">@drawable/btn_keyboard_key_stone</item>
Tadashi G. Takaokaebbb5862012-11-22 18:18:53 +0900239 <item name="keyTextColor">@color/key_text_color_stone</item>
240 <item name="keyTextShadowColor">@color/key_text_shadow_color_stone</item>
Tadashi G. Takaoka13a74192011-05-24 21:08:20 +0900241 </style>
242 <!-- Theme "Stone bold" -->
Tadashi G. Takaokac04bbc12011-08-26 15:13:30 +0900243 <style
Tadashi G. Takaoka5c269222011-09-30 21:12:20 +0900244 name="Keyboard.Stone.Bold"
245 parent="Keyboard.Stone"
246 >
Tadashi G. Takaoka411749a2012-03-08 16:20:22 +0900247 <!-- This should be aligned with KeyboardSwitcher.KEYBOARD_THEMES[] -->
Tadashi G. Takaoka5c269222011-09-30 21:12:20 +0900248 <item name="themeId">7</item>
249 </style>
250 <style
Tadashi G. Takaokac04bbc12011-08-26 15:13:30 +0900251 name="KeyboardView.Stone.Bold"
252 parent="KeyboardView.Stone"
253 >
Tadashi G. Takaokad20652c2012-08-28 11:28:42 +0900254 <item name="keyTypeface">bold</item>
Tadashi G. Takaoka13a74192011-05-24 21:08:20 +0900255 </style>
Tadashi G. Takaoka5afc3ae2011-12-18 04:55:17 +0900256 <style
Tadashi G. Takaokac8e45dd2012-07-23 10:27:14 +0900257 name="MainKeyboardView.Stone.Bold"
Tadashi G. Takaoka5afc3ae2011-12-18 04:55:17 +0900258 parent="KeyboardView.Stone.Bold"
259 >
Tadashi G. Takaoka4112dc02011-12-18 08:13:36 +0900260 <item name="autoCorrectionSpacebarLedEnabled">true</item>
261 <item name="autoCorrectionSpacebarLedIcon">@drawable/sym_keyboard_space_led</item>
262 <item name="spacebarTextRatio">@fraction/spacebar_text_ratio</item>
Tadashi G. Takaokaebbb5862012-11-22 18:18:53 +0900263 <item name="spacebarTextColor">@color/spacebar_text_color_stone</item>
264 <item name="spacebarTextShadowColor">@color/spacebar_text_shadow_color_stone</item>
Tadashi G. Takaoka5afc3ae2011-12-18 04:55:17 +0900265 </style>
Tadashi G. Takaoka13a74192011-05-24 21:08:20 +0900266 <!-- Theme "Gingerbread" -->
Tadashi G. Takaokac04bbc12011-08-26 15:13:30 +0900267 <style
268 name="Keyboard.Gingerbread"
269 parent="Keyboard"
270 >
Tadashi G. Takaoka411749a2012-03-08 16:20:22 +0900271 <!-- This should be aligned with KeyboardSwitcher.KEYBOARD_THEMES[] -->
Tadashi G. Takaoka5c269222011-09-30 21:12:20 +0900272 <item name="themeId">8</item>
273 <item name="touchPositionCorrectionData">@array/touch_position_correction_data_gingerbread</item>
Tadashi G. Takaoka9812fb02011-07-04 15:09:21 +0900274 <item name="horizontalGap">@fraction/key_horizontal_gap_gb</item>
275 <item name="verticalGap">@fraction/key_bottom_gap_gb</item>
Tadashi G. Takaokad773bf32011-06-28 16:32:39 +0900276 </style>
Tadashi G. Takaokac04bbc12011-08-26 15:13:30 +0900277 <style
278 name="KeyboardView.Gingerbread"
279 parent="KeyboardView"
280 >
Tadashi G. Takaoka13a74192011-05-24 21:08:20 +0900281 <item name="android:background">@drawable/keyboard_dark_background</item>
282 <item name="keyBackground">@drawable/btn_keyboard_key_gingerbread</item>
Tadashi G. Takaokad20652c2012-08-28 11:28:42 +0900283 <item name="keyTypeface">bold</item>
Tadashi G. Takaoka13a74192011-05-24 21:08:20 +0900284 </style>
Tadashi G. Takaokac04bbc12011-08-26 15:13:30 +0900285 <style
Tadashi G. Takaokac8e45dd2012-07-23 10:27:14 +0900286 name="MainKeyboardView.Gingerbread"
Tadashi G. Takaoka5afc3ae2011-12-18 04:55:17 +0900287 parent="KeyboardView.Gingerbread"
288 >
Tadashi G. Takaoka4112dc02011-12-18 08:13:36 +0900289 <item name="autoCorrectionSpacebarLedEnabled">true</item>
290 <item name="autoCorrectionSpacebarLedIcon">@drawable/sym_keyboard_space_led</item>
291 <item name="spacebarTextRatio">@fraction/spacebar_text_ratio</item>
Tadashi G. Takaokaebbb5862012-11-22 18:18:53 +0900292 <item name="spacebarTextColor">@color/spacebar_text_color_default</item>
293 <item name="spacebarTextShadowColor">@color/spacebar_text_shadow_color_default</item>
Tadashi G. Takaoka5afc3ae2011-12-18 04:55:17 +0900294 </style>
295 <style
Tadashi G. Takaoka2affaf92012-02-08 16:12:11 +0900296 name="MoreKeysKeyboard.Gingerbread"
Tadashi G. Takaokaea0c5672011-09-05 18:58:30 +0900297 parent="Keyboard.Gingerbread"
298 >
Tadashi G. Takaoka7c38b732012-03-21 19:08:58 +0900299 <item name="keyboardTopPadding">0dp</item>
300 <item name="keyboardBottomPadding">0dp</item>
301 <item name="horizontalGap">0dp</item>
Tadashi G. Takaokaf9aa99c2012-10-03 20:49:57 +0900302 <item name="touchPositionCorrectionData">@null</item>
Tadashi G. Takaokaea0c5672011-09-05 18:58:30 +0900303 </style>
304 <style
Tadashi G. Takaoka2affaf92012-02-08 16:12:11 +0900305 name="MoreKeysKeyboardView.Gingerbread"
306 parent="MoreKeysKeyboardView"
Tadashi G. Takaokac04bbc12011-08-26 15:13:30 +0900307 >
Tadashi G. Takaoka13a74192011-05-24 21:08:20 +0900308 <item name="android:background">@null</item>
309 </style>
Tadashi G. Takaoka9116bf12011-06-21 20:10:51 +0900310 <!-- Theme "IceCreamSandwich" -->
Tadashi G. Takaokac04bbc12011-08-26 15:13:30 +0900311 <style
312 name="Keyboard.IceCreamSandwich"
313 parent="Keyboard"
314 >
Tadashi G. Takaoka411749a2012-03-08 16:20:22 +0900315 <!-- This should be aligned with KeyboardSwitcher.KEYBOARD_THEMES[] -->
Tadashi G. Takaoka5c269222011-09-30 21:12:20 +0900316 <item name="themeId">5</item>
Tadashi G. Takaoka9812fb02011-07-04 15:09:21 +0900317 <item name="keyboardTopPadding">@fraction/keyboard_top_padding_ics</item>
318 <item name="keyboardBottomPadding">@fraction/keyboard_bottom_padding_ics</item>
319 <item name="horizontalGap">@fraction/key_horizontal_gap_ics</item>
320 <item name="verticalGap">@fraction/key_bottom_gap_ics</item>
Tadashi G. Takaoka5c269222011-09-30 21:12:20 +0900321 <item name="touchPositionCorrectionData">@array/touch_position_correction_data_ice_cream_sandwich</item>
Tadashi G. Takaokab7758d62011-06-15 13:38:58 +0900322 </style>
Tadashi G. Takaokac04bbc12011-08-26 15:13:30 +0900323 <style
Tadashi G. Takaokac04bbc12011-08-26 15:13:30 +0900324 name="KeyboardView.IceCreamSandwich"
325 parent="KeyboardView"
326 >
Tadashi G. Takaoka13a74192011-05-24 21:08:20 +0900327 <item name="android:background">@drawable/keyboard_background_holo</item>
Tadashi G. Takaoka9116bf12011-06-21 20:10:51 +0900328 <item name="keyBackground">@drawable/btn_keyboard_key_ics</item>
Tadashi G. Takaokad20652c2012-08-28 11:28:42 +0900329 <item name="keyTypeface">bold</item>
Tadashi G. Takaokaebbb5862012-11-22 18:18:53 +0900330 <item name="keyTextInactivatedColor">@color/key_text_inactivated_color_ics</item>
331 <item name="keyHintLetterColor">@color/key_hint_letter_color_ics</item>
332 <item name="keyHintLabelColor">@color/key_hint_label_color_ics</item>
333 <item name="keyShiftedLetterHintInactivatedColor">@color/key_shifted_letter_hint_inactivated_color_ics</item>
334 <item name="keyShiftedLetterHintActivatedColor">@color/key_shifted_letter_hint_activated_color_ics</item>
Tadashi G. Takaokae8c6d5a2012-09-05 15:34:51 +0900335 <item name="keyPreviewLayout">@layout/key_preview_ics</item>
Tadashi G. Takaokaebbb5862012-11-22 18:18:53 +0900336 <item name="keyPreviewTextColor">@color/key_text_color_ics</item>
Tadashi G. Takaoka9116bf12011-06-21 20:10:51 +0900337 <item name="keyPreviewOffset">@dimen/key_preview_offset_ics</item>
Tadashi G. Takaokaebbb5862012-11-22 18:18:53 +0900338 <item name="keyTextShadowColor">@color/key_text_shadow_color_ics</item>
Tadashi G. Takaoka749cc182012-08-30 16:05:40 +0900339 <item name="keyTextShadowRadius">0.0</item>
Tadashi G. Takaokaebbb5862012-11-22 18:18:53 +0900340 <item name="gestureFloatingPreviewTextColor">@color/highlight_color_ics</item>
341 <item name="gesturePreviewTrailColor">@color/highlight_color_ics</item>
Tadashi G. Takaoka13a74192011-05-24 21:08:20 +0900342 </style>
Tadashi G. Takaokac04bbc12011-08-26 15:13:30 +0900343 <style
Tadashi G. Takaokac8e45dd2012-07-23 10:27:14 +0900344 name="MainKeyboardView.IceCreamSandwich"
Tadashi G. Takaoka5afc3ae2011-12-18 04:55:17 +0900345 parent="KeyboardView.IceCreamSandwich"
346 >
Tadashi G. Takaoka4112dc02011-12-18 08:13:36 +0900347 <item name="autoCorrectionSpacebarLedEnabled">false</item>
348 <item name="autoCorrectionSpacebarLedIcon">@drawable/sym_keyboard_space_led_holo</item>
349 <item name="spacebarTextRatio">@fraction/spacebar_text_ratio</item>
Tadashi G. Takaokaebbb5862012-11-22 18:18:53 +0900350 <item name="spacebarTextColor">@color/spacebar_text_color_ics</item>
351 <item name="spacebarTextShadowColor">@color/spacebar_text_shadow_color_ics</item>
Tadashi G. Takaoka42fcb2d2011-12-19 01:11:09 +0900352 </style>
Tadashi G. Takaoka5afc3ae2011-12-18 04:55:17 +0900353 <style
Tadashi G. Takaoka2affaf92012-02-08 16:12:11 +0900354 name="MoreKeysKeyboard.IceCreamSandwich"
Tadashi G. Takaokaea0c5672011-09-05 18:58:30 +0900355 parent="Keyboard.IceCreamSandwich"
356 >
Tadashi G. Takaoka7c38b732012-03-21 19:08:58 +0900357 <item name="keyboardTopPadding">0dp</item>
358 <item name="keyboardBottomPadding">0dp</item>
359 <item name="horizontalGap">0dp</item>
Tadashi G. Takaokaf9aa99c2012-10-03 20:49:57 +0900360 <item name="touchPositionCorrectionData">@null</item>
Tadashi G. Takaokaea0c5672011-09-05 18:58:30 +0900361 </style>
362 <style
Tadashi G. Takaoka2affaf92012-02-08 16:12:11 +0900363 name="MoreKeysKeyboardView.IceCreamSandwich"
364 parent="MoreKeysKeyboardView"
Tadashi G. Takaokac04bbc12011-08-26 15:13:30 +0900365 >
Tadashi G. Takaoka13a74192011-05-24 21:08:20 +0900366 <item name="android:background">@null</item>
Tadashi G. Takaoka9116bf12011-06-21 20:10:51 +0900367 <item name="keyBackground">@drawable/btn_keyboard_key_popup_ics</item>
Tadashi G. Takaoka48f63212012-03-07 18:34:15 +0900368 <item name="verticalCorrection">@dimen/more_keys_keyboard_vertical_correction_ics</item>
Tadashi G. Takaoka13a74192011-05-24 21:08:20 +0900369 </style>
Tadashi G. Takaoka2affaf92012-02-08 16:12:11 +0900370 <style name="MoreKeysKeyboardPanelStyle.IceCreamSandwich">
Tadashi G. Takaokaea0c5672011-09-05 18:58:30 +0900371 <item name="android:background">@drawable/keyboard_popup_panel_background_holo</item>
Tadashi G. Takaoka13a74192011-05-24 21:08:20 +0900372 </style>
Tadashi G. Takaoka9116bf12011-06-21 20:10:51 +0900373 <style name="SuggestionsStripBackgroundStyle.IceCreamSandwich">
Tadashi G. Takaoka13a74192011-05-24 21:08:20 +0900374 <item name="android:background">@drawable/keyboard_suggest_strip_holo</item>
375 </style>
Tadashi G. Takaoka29e7b7e2011-08-24 14:44:46 +0900376 <style
Tadashi G. Takaoka47026712012-07-23 15:28:28 +0900377 name="SuggestionStripViewStyle.IceCreamSandwich"
Tadashi G. Takaokac04bbc12011-08-26 15:13:30 +0900378 parent="SuggestionsStripBackgroundStyle.IceCreamSandwich"
379 >
Tadashi G. Takaokad47a9552011-08-16 18:18:58 -0700380 <item name="suggestionStripOption">autoCorrectBold|validTypedWordBold</item>
Tadashi G. Takaokaebbb5862012-11-22 18:18:53 +0900381 <item name="colorValidTypedWord">@color/highlight_color_ics</item>
382 <item name="colorTypedWord">@color/highlight_color_ics</item>
383 <item name="colorAutoCorrect">@color/highlight_color_ics</item>
384 <item name="colorSuggested">@color/highlight_color_ics</item>
Tadashi G. Takaokaef2bfad2012-08-28 13:10:03 +0900385 <item name="alphaValidTypedWord">85%</item>
386 <item name="alphaTypedWord">85%</item>
387 <item name="alphaSuggested">70%</item>
388 <item name="alphaObsoleted">70%</item>
Tadashi G. Takaoka913e2ae2011-09-01 14:54:28 +0900389 <item name="suggestionsCountInStrip">@integer/suggestions_count_in_strip</item>
Tadashi G. Takaokaef2bfad2012-08-28 13:10:03 +0900390 <item name="centerSuggestionPercentile">@fraction/center_suggestion_percentile</item>
Tadashi G. Takaoka96760382011-09-05 17:22:34 +0900391 <item name="maxMoreSuggestionsRow">@integer/max_more_suggestions_row</item>
392 <item name="minMoreSuggestionsWidth">@fraction/min_more_suggestions_width</item>
Tadashi G. Takaoka08a6f2a2011-06-15 11:49:57 +0900393 </style>
Tadashi G. Takaoka0e2fa662011-09-05 16:46:15 +0900394 <style
395 name="MoreSuggestionsViewStyle.IceCreamSandwich"
Tadashi G. Takaoka2affaf92012-02-08 16:12:11 +0900396 parent="MoreKeysKeyboardView.IceCreamSandwich"
Tadashi G. Takaoka0e2fa662011-09-05 16:46:15 +0900397 >
398 </style>
399 <style name="SuggestionBackgroundStyle.IceCreamSandwich">
400 <item name="android:background">@drawable/btn_suggestion_ics</item>
401 </style>
402 <style
403 name="SuggestionPreviewBackgroundStyle.IceCreamSandwich"
Tadashi G. Takaoka2affaf92012-02-08 16:12:11 +0900404 parent="MoreKeysKeyboardPanelStyle.IceCreamSandwich"
Tadashi G. Takaoka0e2fa662011-09-05 16:46:15 +0900405 >
406 </style>
Tadashi G. Takaoka2affaf92012-02-08 16:12:11 +0900407 <style name="MoreKeysKeyboardAnimation">
408 <item name="android:windowEnterAnimation">@anim/more_keys_keyboard_fadein</item>
409 <item name="android:windowExitAnimation">@anim/more_keys_keyboard_fadeout</item>
Tadashi G. Takaoka0ae817c2010-09-16 14:54:45 +0900410 </style>
satok979f8692010-08-20 14:35:02 +0900411</resources>