2010-08-20 06:35:02 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!-- Copyright (C) 2010 The Android Open Source Project
|
|
|
|
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
you may not use this file except in compliance with the License.
|
|
|
|
You may obtain a copy of the License at
|
|
|
|
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
See the License for the specific language governing permissions and
|
|
|
|
limitations under the License.
|
|
|
|
-->
|
|
|
|
|
2012-07-30 08:06:19 +01:00
|
|
|
<resources xmlns:android="http://schemas.android.com/apk/res/android">
|
2011-05-24 13:08:20 +01:00
|
|
|
<!-- Theme "Basic" -->
|
2011-06-16 09:20:29 +01:00
|
|
|
<style name="Keyboard">
|
2012-03-08 07:20:22 +00:00
|
|
|
<!-- This should be aligned with KeyboardSwitcher.KEYBOARD_THEMES[] -->
|
2011-09-30 13:12:20 +01:00
|
|
|
<item name="themeId">0</item>
|
2012-09-27 07:27:51 +01:00
|
|
|
<item name="touchPositionCorrectionData">@array/touch_position_correction_data_default</item>
|
2011-06-17 03:55:42 +01:00
|
|
|
<item name="rowHeight">25%p</item>
|
|
|
|
<item name="keyboardHeight">@dimen/keyboardHeight</item>
|
|
|
|
<item name="maxKeyboardHeight">@fraction/maxKeyboardHeight</item>
|
|
|
|
<item name="minKeyboardHeight">@fraction/minKeyboardHeight</item>
|
2012-02-08 07:12:11 +00:00
|
|
|
<item name="moreKeysTemplate">@xml/kbd_more_keys_keyboard_template</item>
|
2011-07-04 07:09:21 +01:00
|
|
|
<item name="keyboardTopPadding">@fraction/keyboard_top_padding</item>
|
|
|
|
<item name="keyboardBottomPadding">@fraction/keyboard_bottom_padding</item>
|
2011-09-26 03:26:38 +01:00
|
|
|
<item name="keyboardHorizontalEdgesPadding">@fraction/keyboard_horizontal_edges_padding</item>
|
2011-07-04 07:09:21 +01:00
|
|
|
<item name="horizontalGap">@fraction/key_horizontal_gap</item>
|
|
|
|
<item name="verticalGap">@fraction/key_bottom_gap</item>
|
2011-08-31 07:26:32 +01:00
|
|
|
<item name="maxMoreKeysColumn">@integer/config_max_more_keys_column</item>
|
2011-06-15 05:38:58 +01:00
|
|
|
</style>
|
2010-12-02 09:46:21 +00:00
|
|
|
<style name="KeyboardView">
|
2010-08-20 06:35:02 +01:00
|
|
|
<item name="android:background">@drawable/keyboard_background</item>
|
|
|
|
<item name="keyBackground">@drawable/btn_keyboard_key</item>
|
2012-08-28 04:39:28 +01:00
|
|
|
<item name="keyLetterSize">@fraction/key_letter_ratio</item>
|
2011-06-25 11:38:55 +01:00
|
|
|
<item name="keyLargeLetterRatio">@fraction/key_large_letter_ratio</item>
|
2012-08-28 04:39:28 +01:00
|
|
|
<item name="keyLabelSize">@fraction/key_label_ratio</item>
|
2012-05-18 03:46:42 +01:00
|
|
|
<item name="keyLargeLabelRatio">@fraction/key_large_label_ratio</item>
|
2011-06-15 04:36:53 +01:00
|
|
|
<item name="keyHintLetterRatio">@fraction/key_hint_letter_ratio</item>
|
2011-06-25 11:38:55 +01:00
|
|
|
<item name="keyHintLabelRatio">@fraction/key_hint_label_ratio</item>
|
2012-01-26 09:03:30 +00:00
|
|
|
<item name="keyShiftedLetterHintRatio">@fraction/key_uppercase_letter_ratio</item>
|
2012-08-28 03:28:42 +01:00
|
|
|
<item name="keyTypeface">normal</item>
|
2012-11-22 09:18:53 +00:00
|
|
|
<item name="keyTextColor">@color/key_text_color_default</item>
|
|
|
|
<item name="keyTextInactivatedColor">@color/key_text_color_default</item>
|
|
|
|
<item name="keyHintLetterColor">@color/key_hint_letter_color_default</item>
|
|
|
|
<item name="keyHintLabelColor">@color/key_hint_label_color_default</item>
|
|
|
|
<item name="keyShiftedLetterHintInactivatedColor">@color/key_shifted_letter_hint_inactivated_color_default</item>
|
|
|
|
<item name="keyShiftedLetterHintActivatedColor">@color/key_shifted_letter_hint_activated_color_default</item>
|
2011-06-28 08:32:39 +01:00
|
|
|
<item name="keyLabelHorizontalPadding">@dimen/key_label_horizontal_padding</item>
|
|
|
|
<item name="keyHintLetterPadding">@dimen/key_hint_letter_padding</item>
|
2011-09-07 13:56:42 +01:00
|
|
|
<item name="keyPopupHintLetterPadding">@dimen/key_popup_hint_letter_padding</item>
|
2012-01-26 09:03:30 +00:00
|
|
|
<item name="keyShiftedLetterHintPadding">@dimen/key_uppercase_letter_padding</item>
|
2012-11-22 09:18:53 +00:00
|
|
|
<item name="keyPreviewTextColor">@color/key_text_color_default</item>
|
2011-06-25 11:38:55 +01:00
|
|
|
<item name="keyPreviewTextRatio">@fraction/key_preview_text_ratio</item>
|
2010-09-27 09:07:09 +01:00
|
|
|
<item name="verticalCorrection">@dimen/keyboard_vertical_correction</item>
|
2012-11-22 09:18:53 +00:00
|
|
|
<item name="keyTextShadowColor">@color/key_text_shadow_color_default</item>
|
2012-08-30 08:05:40 +01:00
|
|
|
<item name="keyTextShadowRadius">2.75</item>
|
2012-03-13 08:28:52 +00:00
|
|
|
<item name="backgroundDimAlpha">128</item>
|
2012-07-30 08:06:19 +01:00
|
|
|
<item name="gestureFloatingPreviewTextSize">@dimen/gesture_floating_preview_text_size</item>
|
2012-11-22 09:18:53 +00:00
|
|
|
<item name="gestureFloatingPreviewTextColor">@color/highlight_color_default</item>
|
2012-07-30 08:06:19 +01:00
|
|
|
<item name="gestureFloatingPreviewTextOffset">@dimen/gesture_floating_preview_text_offset</item>
|
2012-11-22 09:18:53 +00:00
|
|
|
<item name="gestureFloatingPreviewColor">@color/gesture_floating_preview_color_default</item>
|
2012-09-05 11:03:02 +01:00
|
|
|
<item name="gestureFloatingPreviewHorizontalPadding">@dimen/gesture_floating_preview_horizontal_padding</item>
|
|
|
|
<item name="gestureFloatingPreviewVerticalPadding">@dimen/gesture_floating_preview_vertical_padding</item>
|
|
|
|
<item name="gestureFloatingPreviewRoundRadius">@dimen/gesture_floating_preview_round_radius</item>
|
2012-08-20 04:57:34 +01:00
|
|
|
<item name="gesturePreviewTrailFadeoutStartDelay">@integer/config_gesture_preview_trail_fadeout_start_delay</item>
|
|
|
|
<item name="gesturePreviewTrailFadeoutDuration">@integer/config_gesture_preview_trail_fadeout_duration</item>
|
|
|
|
<item name="gesturePreviewTrailUpdateInterval">@integer/config_gesture_preview_trail_update_interval</item>
|
2012-11-22 09:18:53 +00:00
|
|
|
<item name="gesturePreviewTrailColor">@color/highlight_color_default</item>
|
2012-09-06 04:12:10 +01:00
|
|
|
<item name="gesturePreviewTrailStartWidth">@dimen/gesture_preview_trail_start_width</item>
|
|
|
|
<item name="gesturePreviewTrailEndWidth">@dimen/gesture_preview_trail_end_width</item>
|
2012-07-23 02:27:14 +01:00
|
|
|
<!-- Common attributes of MainKeyboardView -->
|
2012-01-25 11:14:39 +00:00
|
|
|
<item name="keyHysteresisDistance">@dimen/config_key_hysteresis_distance</item>
|
2012-10-06 15:22:36 +01:00
|
|
|
<item name="keyHysteresisDistanceForSlidingModifier">@dimen/config_key_hysteresis_distance_for_sliding_modifier</item>
|
2012-01-25 11:14:39 +00:00
|
|
|
<item name="touchNoiseThresholdTime">@integer/config_touch_noise_threshold_time</item>
|
|
|
|
<item name="touchNoiseThresholdDistance">@dimen/config_touch_noise_threshold_distance</item>
|
|
|
|
<item name="slidingKeyInputEnable">@bool/config_sliding_key_input_enabled</item>
|
|
|
|
<item name="keyRepeatStartTimeout">@integer/config_key_repeat_start_timeout</item>
|
|
|
|
<item name="keyRepeatInterval">@integer/config_key_repeat_interval</item>
|
|
|
|
<item name="longPressKeyTimeout">@integer/config_long_press_key_timeout</item>
|
|
|
|
<item name="longPressShiftKeyTimeout">@integer/config_long_press_shift_key_timeout</item>
|
2012-03-14 05:46:22 +00:00
|
|
|
<item name="ignoreAltCodeKeyTimeout">@integer/config_ignore_alt_code_key_timeout</item>
|
2013-01-21 06:57:32 +00:00
|
|
|
<item name="keyPreviewLayout">@layout/key_preview</item>
|
2013-01-21 06:23:32 +00:00
|
|
|
<item name="keyPreviewOffset">@dimen/key_preview_offset</item>
|
|
|
|
<item name="keyPreviewHeight">@dimen/key_preview_height</item>
|
|
|
|
<item name="keyPreviewLingerTimeout">@integer/config_key_preview_linger_timeout</item>
|
2013-01-21 05:41:33 +00:00
|
|
|
<item name="moreKeysKeyboardLayout">@layout/more_keys_keyboard</item>
|
2012-02-08 07:12:11 +00:00
|
|
|
<item name="showMoreKeysKeyboardAtTouchedPoint">@bool/config_show_more_keys_keyboard_at_touched_point</item>
|
2012-03-16 05:05:20 +00:00
|
|
|
<item name="languageOnSpacebarFinalAlpha">@integer/config_language_on_spacebar_final_alpha</item>
|
2012-03-14 03:33:03 +00:00
|
|
|
<item name="languageOnSpacebarFadeoutAnimator">@anim/language_on_spacebar_fadeout</item>
|
2012-03-14 05:46:22 +00:00
|
|
|
<item name="altCodeKeyWhileTypingFadeoutAnimator">@anim/alt_code_key_while_typing_fadeout</item>
|
|
|
|
<item name="altCodeKeyWhileTypingFadeinAnimator">@anim/alt_code_key_while_typing_fadein</item>
|
2012-10-05 04:12:54 +01:00
|
|
|
<!-- Common attributes of MainKeyboardView for gesture typing detection and recognition -->
|
2013-01-21 06:57:32 +00:00
|
|
|
<item name="gestureFloatingPreviewTextLingerTimeout">@integer/config_gesture_floating_preview_text_linger_timeout</item>
|
2012-10-05 04:12:54 +01:00
|
|
|
<item name="gestureStaticTimeThresholdAfterFastTyping">@integer/config_gesture_static_time_threshold_after_fast_typing</item>
|
|
|
|
<item name="gestureDetectFastMoveSpeedThreshold">@fraction/config_gesture_detect_fast_move_speed_threshold</item>
|
|
|
|
<item name="gestureDynamicThresholdDecayDuration">@integer/config_gesture_dynamic_threshold_decay_duration</item>
|
|
|
|
<item name="gestureDynamicTimeThresholdFrom">@integer/config_gesture_dynamic_time_threshold_from</item>
|
|
|
|
<item name="gestureDynamicTimeThresholdTo">@integer/config_gesture_dynamic_time_threshold_to</item>
|
|
|
|
<item name="gestureDynamicDistanceThresholdFrom">@fraction/config_gesture_dynamic_distance_threshold_from</item>
|
|
|
|
<item name="gestureDynamicDistanceThresholdTo">@fraction/config_gesture_dynamic_distance_threshold_to</item>
|
|
|
|
<item name="gestureSamplingMinimumDistance">@fraction/config_gesture_sampling_minimum_distance</item>
|
|
|
|
<item name="gestureRecognitionMinimumTime">@integer/config_gesture_recognition_minimum_time</item>
|
2012-11-22 02:04:41 +00:00
|
|
|
<item name="gestureRecognitionUpdateTime">@integer/config_gesture_recognition_update_time</item>
|
2012-10-05 04:12:54 +01:00
|
|
|
<item name="gestureRecognitionSpeedThreshold">@fraction/config_gesture_recognition_speed_threshold</item>
|
2012-10-05 06:37:22 +01:00
|
|
|
<item name="suppressKeyPreviewAfterBatchInputDuration">@integer/config_suppress_key_preview_after_batch_input_duration</item>
|
2010-08-20 06:35:02 +01:00
|
|
|
</style>
|
2011-12-17 19:55:17 +00:00
|
|
|
<style
|
2012-07-23 02:27:14 +01:00
|
|
|
name="MainKeyboardView"
|
2011-12-17 19:55:17 +00:00
|
|
|
parent="KeyboardView">
|
2011-12-17 23:13:36 +00:00
|
|
|
<item name="autoCorrectionSpacebarLedEnabled">true</item>
|
|
|
|
<item name="autoCorrectionSpacebarLedIcon">@drawable/sym_keyboard_space_led</item>
|
|
|
|
<item name="spacebarTextRatio">@fraction/spacebar_text_ratio</item>
|
2012-11-22 09:18:53 +00:00
|
|
|
<item name="spacebarTextColor">@color/spacebar_text_color_default</item>
|
|
|
|
<item name="spacebarTextShadowColor">@color/spacebar_text_shadow_color_default</item>
|
2011-12-17 19:55:17 +00:00
|
|
|
</style>
|
2011-09-05 10:58:30 +01:00
|
|
|
<style
|
2012-02-08 07:12:11 +00:00
|
|
|
name="MoreKeysKeyboard"
|
2011-09-05 10:58:30 +01:00
|
|
|
parent="Keyboard"
|
|
|
|
>
|
2012-03-21 10:08:58 +00:00
|
|
|
<item name="keyboardTopPadding">0dp</item>
|
|
|
|
<item name="keyboardBottomPadding">0dp</item>
|
|
|
|
<item name="horizontalGap">0dp</item>
|
2012-10-03 12:49:57 +01:00
|
|
|
<item name="touchPositionCorrectionData">@null</item>
|
2011-09-05 10:58:30 +01:00
|
|
|
</style>
|
2011-08-26 07:13:30 +01:00
|
|
|
<style
|
2012-02-08 07:12:11 +00:00
|
|
|
name="MoreKeysKeyboardView"
|
2011-08-26 07:13:30 +01:00
|
|
|
parent="KeyboardView"
|
|
|
|
>
|
2011-05-24 13:08:20 +01:00
|
|
|
<item name="keyBackground">@drawable/btn_keyboard_key_popup</item>
|
2012-02-08 07:12:11 +00:00
|
|
|
<item name="verticalCorrection">@dimen/more_keys_keyboard_vertical_correction</item>
|
2011-05-24 13:08:20 +01:00
|
|
|
</style>
|
2012-02-08 07:12:11 +00:00
|
|
|
<style name="MoreKeysKeyboardPanelStyle">
|
2011-05-24 13:08:20 +01:00
|
|
|
<item name="android:background">@drawable/keyboard_popup_panel_background</item>
|
|
|
|
</style>
|
|
|
|
<style name="SuggestionsStripBackgroundStyle">
|
|
|
|
<item name="android:background">@drawable/keyboard_suggest_strip</item>
|
|
|
|
</style>
|
2011-08-26 07:13:30 +01:00
|
|
|
<style
|
2012-07-23 07:28:28 +01:00
|
|
|
name="SuggestionStripViewStyle"
|
2011-08-26 07:13:30 +01:00
|
|
|
parent="SuggestionsStripBackgroundStyle"
|
|
|
|
>
|
2011-12-15 07:38:17 +00:00
|
|
|
<item name="suggestionStripOption">autoCorrectBold|validTypedWordBold</item>
|
2012-11-22 09:18:53 +00:00
|
|
|
<item name="colorValidTypedWord">@color/highlight_color_default</item>
|
|
|
|
<item name="colorTypedWord">@color/typed_word_color_default</item>
|
|
|
|
<item name="colorAutoCorrect">@color/highlight_color_default</item>
|
|
|
|
<item name="colorSuggested">@color/highlight_color_default</item>
|
2012-08-28 05:10:03 +01:00
|
|
|
<item name="alphaObsoleted">50%</item>
|
2011-09-01 06:54:28 +01:00
|
|
|
<item name="suggestionsCountInStrip">@integer/suggestions_count_in_strip</item>
|
2012-08-28 05:10:03 +01:00
|
|
|
<item name="centerSuggestionPercentile">@fraction/center_suggestion_percentile</item>
|
2011-09-05 09:22:34 +01:00
|
|
|
<item name="maxMoreSuggestionsRow">@integer/max_more_suggestions_row</item>
|
|
|
|
<item name="minMoreSuggestionsWidth">@fraction/min_more_suggestions_width</item>
|
2011-06-15 03:49:57 +01:00
|
|
|
</style>
|
2011-09-05 08:46:15 +01:00
|
|
|
<style
|
|
|
|
name="MoreSuggestionsViewStyle"
|
2012-02-08 07:12:11 +00:00
|
|
|
parent="MoreKeysKeyboardView"
|
2011-09-05 08:46:15 +01:00
|
|
|
>
|
|
|
|
</style>
|
|
|
|
<style name="SuggestionBackgroundStyle">
|
|
|
|
<item name="android:background">@drawable/btn_suggestion</item>
|
|
|
|
</style>
|
2011-05-24 13:08:20 +01:00
|
|
|
<!-- Theme "Basic high contrast" -->
|
2011-09-30 13:12:20 +01:00
|
|
|
<style
|
|
|
|
name="Keyboard.HighContrast"
|
|
|
|
parent="Keyboard"
|
|
|
|
>
|
2012-03-08 07:20:22 +00:00
|
|
|
<!-- This should be aligned with KeyboardSwitcher.KEYBOARD_THEMES[] -->
|
2011-09-30 13:12:20 +01:00
|
|
|
<item name="themeId">1</item>
|
|
|
|
</style>
|
2011-08-26 07:13:30 +01:00
|
|
|
<style
|
|
|
|
name="KeyboardView.HighContrast"
|
|
|
|
parent="KeyboardView"
|
|
|
|
>
|
2011-05-24 13:08:20 +01:00
|
|
|
<item name="android:background">@android:color/black</item>
|
|
|
|
<item name="keyBackground">@drawable/btn_keyboard_key3</item>
|
|
|
|
</style>
|
2011-12-17 19:55:17 +00:00
|
|
|
<style
|
2012-07-23 02:27:14 +01:00
|
|
|
name="MainKeyboardView.HighContrast"
|
2011-12-17 19:55:17 +00:00
|
|
|
parent="KeyboardView.HighContrast"
|
|
|
|
>
|
2011-12-17 23:13:36 +00:00
|
|
|
<item name="autoCorrectionSpacebarLedEnabled">true</item>
|
|
|
|
<item name="autoCorrectionSpacebarLedIcon">@drawable/sym_keyboard_space_led</item>
|
|
|
|
<item name="spacebarTextRatio">@fraction/spacebar_text_ratio</item>
|
2012-11-22 09:18:53 +00:00
|
|
|
<item name="spacebarTextColor">@color/spacebar_text_color_default</item>
|
|
|
|
<item name="spacebarTextShadowColor">@color/spacebar_text_shadow_color_default</item>
|
2011-12-17 19:55:17 +00:00
|
|
|
</style>
|
2011-05-24 13:08:20 +01:00
|
|
|
<!-- Theme "Stone" -->
|
2011-08-26 07:13:30 +01:00
|
|
|
<style
|
|
|
|
name="Keyboard.Stone"
|
|
|
|
parent="Keyboard"
|
|
|
|
>
|
2012-03-08 07:20:22 +00:00
|
|
|
<!-- This should be aligned with KeyboardSwitcher.KEYBOARD_THEMES[] -->
|
2011-09-30 13:12:20 +01:00
|
|
|
<item name="themeId">6</item>
|
2011-07-04 07:09:21 +01:00
|
|
|
<item name="keyboardTopPadding">@fraction/keyboard_top_padding_stone</item>
|
|
|
|
<item name="keyboardBottomPadding">@fraction/keyboard_bottom_padding_stone</item>
|
|
|
|
<item name="horizontalGap">@fraction/key_horizontal_gap_stone</item>
|
|
|
|
<item name="verticalGap">@fraction/key_bottom_gap_stone</item>
|
2011-06-21 12:10:51 +01:00
|
|
|
</style>
|
2011-08-26 07:13:30 +01:00
|
|
|
<style
|
|
|
|
name="KeyboardView.Stone"
|
|
|
|
parent="KeyboardView"
|
|
|
|
>
|
2011-05-24 13:08:20 +01:00
|
|
|
<item name="keyBackground">@drawable/btn_keyboard_key_stone</item>
|
2012-11-22 09:18:53 +00:00
|
|
|
<item name="keyTextColor">@color/key_text_color_stone</item>
|
|
|
|
<item name="keyTextInactivatedColor">@color/key_text_inactivated_color_stone</item>
|
|
|
|
<item name="keyHintLetterColor">@color/key_hint_letter_color_stone</item>
|
|
|
|
<item name="keyHintLabelColor">@color/key_hint_label_color_stone</item>
|
|
|
|
<item name="keyShiftedLetterHintInactivatedColor">@color/key_shifted_letter_hint_inactivated_color_stone</item>
|
|
|
|
<item name="keyShiftedLetterHintActivatedColor">@color/key_shifted_letter_hint_activated_color_stone</item>
|
|
|
|
<item name="keyTextShadowColor">@color/key_text_shadow_color_stone</item>
|
2011-05-24 13:08:20 +01:00
|
|
|
</style>
|
2011-12-17 19:55:17 +00:00
|
|
|
<style
|
2012-07-23 02:27:14 +01:00
|
|
|
name="MainKeyboardView.Stone"
|
2011-12-17 19:55:17 +00:00
|
|
|
parent="KeyboardView.Stone"
|
|
|
|
>
|
2011-12-17 23:13:36 +00:00
|
|
|
<item name="autoCorrectionSpacebarLedEnabled">true</item>
|
|
|
|
<item name="autoCorrectionSpacebarLedIcon">@drawable/sym_keyboard_space_led</item>
|
|
|
|
<item name="spacebarTextRatio">@fraction/spacebar_text_ratio</item>
|
2012-11-22 09:18:53 +00:00
|
|
|
<item name="spacebarTextColor">@color/spacebar_text_color_stone</item>
|
|
|
|
<item name="spacebarTextShadowColor">@color/spacebar_text_shadow_color_stone</item>
|
2011-12-17 19:55:17 +00:00
|
|
|
</style>
|
2011-09-05 10:58:30 +01:00
|
|
|
<style
|
2012-02-08 07:12:11 +00:00
|
|
|
name="MoreKeysKeyboard.Stone"
|
2011-09-05 10:58:30 +01:00
|
|
|
parent="Keyboard.Stone"
|
|
|
|
>
|
2012-03-21 10:08:58 +00:00
|
|
|
<item name="keyboardTopPadding">0dp</item>
|
|
|
|
<item name="keyboardBottomPadding">0dp</item>
|
|
|
|
<item name="horizontalGap">0dp</item>
|
2012-10-03 12:49:57 +01:00
|
|
|
<item name="touchPositionCorrectionData">@null</item>
|
2011-09-05 10:58:30 +01:00
|
|
|
</style>
|
2011-08-26 07:13:30 +01:00
|
|
|
<style
|
2012-02-08 07:12:11 +00:00
|
|
|
name="MoreKeysKeyboardView.Stone"
|
|
|
|
parent="MoreKeysKeyboardView"
|
2011-08-26 07:13:30 +01:00
|
|
|
>
|
2011-05-24 13:08:20 +01:00
|
|
|
<item name="keyBackground">@drawable/btn_keyboard_key_stone</item>
|
2012-11-22 09:18:53 +00:00
|
|
|
<item name="keyTextColor">@color/key_text_color_stone</item>
|
|
|
|
<item name="keyTextShadowColor">@color/key_text_shadow_color_stone</item>
|
2011-05-24 13:08:20 +01:00
|
|
|
</style>
|
|
|
|
<!-- Theme "Stone bold" -->
|
2011-09-30 13:12:20 +01:00
|
|
|
<style
|
|
|
|
name="Keyboard.Stone.Bold"
|
|
|
|
parent="Keyboard.Stone"
|
|
|
|
>
|
2012-03-08 07:20:22 +00:00
|
|
|
<!-- This should be aligned with KeyboardSwitcher.KEYBOARD_THEMES[] -->
|
2011-09-30 13:12:20 +01:00
|
|
|
<item name="themeId">7</item>
|
|
|
|
</style>
|
2011-08-26 07:13:30 +01:00
|
|
|
<style
|
|
|
|
name="KeyboardView.Stone.Bold"
|
|
|
|
parent="KeyboardView.Stone"
|
|
|
|
>
|
2012-08-28 03:28:42 +01:00
|
|
|
<item name="keyTypeface">bold</item>
|
2011-05-24 13:08:20 +01:00
|
|
|
</style>
|
2011-12-17 19:55:17 +00:00
|
|
|
<style
|
2012-07-23 02:27:14 +01:00
|
|
|
name="MainKeyboardView.Stone.Bold"
|
2011-12-17 19:55:17 +00:00
|
|
|
parent="KeyboardView.Stone.Bold"
|
|
|
|
>
|
2011-12-17 23:13:36 +00:00
|
|
|
<item name="autoCorrectionSpacebarLedEnabled">true</item>
|
|
|
|
<item name="autoCorrectionSpacebarLedIcon">@drawable/sym_keyboard_space_led</item>
|
|
|
|
<item name="spacebarTextRatio">@fraction/spacebar_text_ratio</item>
|
2012-11-22 09:18:53 +00:00
|
|
|
<item name="spacebarTextColor">@color/spacebar_text_color_stone</item>
|
|
|
|
<item name="spacebarTextShadowColor">@color/spacebar_text_shadow_color_stone</item>
|
2011-12-17 19:55:17 +00:00
|
|
|
</style>
|
2011-05-24 13:08:20 +01:00
|
|
|
<!-- Theme "Gingerbread" -->
|
2011-08-26 07:13:30 +01:00
|
|
|
<style
|
|
|
|
name="Keyboard.Gingerbread"
|
|
|
|
parent="Keyboard"
|
|
|
|
>
|
2012-03-08 07:20:22 +00:00
|
|
|
<!-- This should be aligned with KeyboardSwitcher.KEYBOARD_THEMES[] -->
|
2011-09-30 13:12:20 +01:00
|
|
|
<item name="themeId">8</item>
|
|
|
|
<item name="touchPositionCorrectionData">@array/touch_position_correction_data_gingerbread</item>
|
2011-07-04 07:09:21 +01:00
|
|
|
<item name="horizontalGap">@fraction/key_horizontal_gap_gb</item>
|
|
|
|
<item name="verticalGap">@fraction/key_bottom_gap_gb</item>
|
2011-06-28 08:32:39 +01:00
|
|
|
</style>
|
2011-08-26 07:13:30 +01:00
|
|
|
<style
|
|
|
|
name="KeyboardView.Gingerbread"
|
|
|
|
parent="KeyboardView"
|
|
|
|
>
|
2011-05-24 13:08:20 +01:00
|
|
|
<item name="android:background">@drawable/keyboard_dark_background</item>
|
|
|
|
<item name="keyBackground">@drawable/btn_keyboard_key_gingerbread</item>
|
2012-08-28 03:28:42 +01:00
|
|
|
<item name="keyTypeface">bold</item>
|
2011-05-24 13:08:20 +01:00
|
|
|
</style>
|
2011-12-17 19:55:17 +00:00
|
|
|
<style
|
2012-07-23 02:27:14 +01:00
|
|
|
name="MainKeyboardView.Gingerbread"
|
2011-12-17 19:55:17 +00:00
|
|
|
parent="KeyboardView.Gingerbread"
|
|
|
|
>
|
2011-12-17 23:13:36 +00:00
|
|
|
<item name="autoCorrectionSpacebarLedEnabled">true</item>
|
|
|
|
<item name="autoCorrectionSpacebarLedIcon">@drawable/sym_keyboard_space_led</item>
|
|
|
|
<item name="spacebarTextRatio">@fraction/spacebar_text_ratio</item>
|
2012-11-22 09:18:53 +00:00
|
|
|
<item name="spacebarTextColor">@color/spacebar_text_color_default</item>
|
|
|
|
<item name="spacebarTextShadowColor">@color/spacebar_text_shadow_color_default</item>
|
2011-12-17 19:55:17 +00:00
|
|
|
</style>
|
2011-09-05 10:58:30 +01:00
|
|
|
<style
|
2012-02-08 07:12:11 +00:00
|
|
|
name="MoreKeysKeyboard.Gingerbread"
|
2011-09-05 10:58:30 +01:00
|
|
|
parent="Keyboard.Gingerbread"
|
|
|
|
>
|
2012-03-21 10:08:58 +00:00
|
|
|
<item name="keyboardTopPadding">0dp</item>
|
|
|
|
<item name="keyboardBottomPadding">0dp</item>
|
|
|
|
<item name="horizontalGap">0dp</item>
|
2012-10-03 12:49:57 +01:00
|
|
|
<item name="touchPositionCorrectionData">@null</item>
|
2011-09-05 10:58:30 +01:00
|
|
|
</style>
|
2011-08-26 07:13:30 +01:00
|
|
|
<style
|
2012-02-08 07:12:11 +00:00
|
|
|
name="MoreKeysKeyboardView.Gingerbread"
|
|
|
|
parent="MoreKeysKeyboardView"
|
2011-08-26 07:13:30 +01:00
|
|
|
>
|
2011-05-24 13:08:20 +01:00
|
|
|
<item name="android:background">@null</item>
|
|
|
|
</style>
|
2011-06-21 12:10:51 +01:00
|
|
|
<!-- Theme "IceCreamSandwich" -->
|
2011-08-26 07:13:30 +01:00
|
|
|
<style
|
|
|
|
name="Keyboard.IceCreamSandwich"
|
|
|
|
parent="Keyboard"
|
|
|
|
>
|
2012-03-08 07:20:22 +00:00
|
|
|
<!-- This should be aligned with KeyboardSwitcher.KEYBOARD_THEMES[] -->
|
2011-09-30 13:12:20 +01:00
|
|
|
<item name="themeId">5</item>
|
2011-07-04 07:09:21 +01:00
|
|
|
<item name="keyboardTopPadding">@fraction/keyboard_top_padding_ics</item>
|
|
|
|
<item name="keyboardBottomPadding">@fraction/keyboard_bottom_padding_ics</item>
|
|
|
|
<item name="horizontalGap">@fraction/key_horizontal_gap_ics</item>
|
|
|
|
<item name="verticalGap">@fraction/key_bottom_gap_ics</item>
|
2011-09-30 13:12:20 +01:00
|
|
|
<item name="touchPositionCorrectionData">@array/touch_position_correction_data_ice_cream_sandwich</item>
|
2011-06-15 05:38:58 +01:00
|
|
|
</style>
|
2011-08-26 07:13:30 +01:00
|
|
|
<style
|
|
|
|
name="KeyboardView.IceCreamSandwich"
|
|
|
|
parent="KeyboardView"
|
|
|
|
>
|
2011-05-24 13:08:20 +01:00
|
|
|
<item name="android:background">@drawable/keyboard_background_holo</item>
|
2011-06-21 12:10:51 +01:00
|
|
|
<item name="keyBackground">@drawable/btn_keyboard_key_ics</item>
|
2012-08-28 03:28:42 +01:00
|
|
|
<item name="keyTypeface">bold</item>
|
2012-11-22 09:18:53 +00:00
|
|
|
<item name="keyTextInactivatedColor">@color/key_text_inactivated_color_ics</item>
|
|
|
|
<item name="keyHintLetterColor">@color/key_hint_letter_color_ics</item>
|
|
|
|
<item name="keyHintLabelColor">@color/key_hint_label_color_ics</item>
|
|
|
|
<item name="keyShiftedLetterHintInactivatedColor">@color/key_shifted_letter_hint_inactivated_color_ics</item>
|
|
|
|
<item name="keyShiftedLetterHintActivatedColor">@color/key_shifted_letter_hint_activated_color_ics</item>
|
2012-09-05 07:34:51 +01:00
|
|
|
<item name="keyPreviewLayout">@layout/key_preview_ics</item>
|
2012-11-22 09:18:53 +00:00
|
|
|
<item name="keyPreviewTextColor">@color/key_text_color_ics</item>
|
2011-06-21 12:10:51 +01:00
|
|
|
<item name="keyPreviewOffset">@dimen/key_preview_offset_ics</item>
|
2012-11-22 09:18:53 +00:00
|
|
|
<item name="keyTextShadowColor">@color/key_text_shadow_color_ics</item>
|
2012-08-30 08:05:40 +01:00
|
|
|
<item name="keyTextShadowRadius">0.0</item>
|
2012-11-22 09:18:53 +00:00
|
|
|
<item name="gestureFloatingPreviewTextColor">@color/highlight_color_ics</item>
|
|
|
|
<item name="gesturePreviewTrailColor">@color/highlight_color_ics</item>
|
2011-05-24 13:08:20 +01:00
|
|
|
</style>
|
2011-12-17 19:55:17 +00:00
|
|
|
<style
|
2012-07-23 02:27:14 +01:00
|
|
|
name="MainKeyboardView.IceCreamSandwich"
|
2011-12-17 19:55:17 +00:00
|
|
|
parent="KeyboardView.IceCreamSandwich"
|
|
|
|
>
|
2011-12-17 23:13:36 +00:00
|
|
|
<item name="autoCorrectionSpacebarLedEnabled">false</item>
|
|
|
|
<item name="autoCorrectionSpacebarLedIcon">@drawable/sym_keyboard_space_led_holo</item>
|
|
|
|
<item name="spacebarTextRatio">@fraction/spacebar_text_ratio</item>
|
2012-11-22 09:18:53 +00:00
|
|
|
<item name="spacebarTextColor">@color/spacebar_text_color_ics</item>
|
|
|
|
<item name="spacebarTextShadowColor">@color/spacebar_text_shadow_color_ics</item>
|
2011-12-18 16:11:09 +00:00
|
|
|
</style>
|
2011-09-05 10:58:30 +01:00
|
|
|
<style
|
2012-02-08 07:12:11 +00:00
|
|
|
name="MoreKeysKeyboard.IceCreamSandwich"
|
2011-09-05 10:58:30 +01:00
|
|
|
parent="Keyboard.IceCreamSandwich"
|
|
|
|
>
|
2012-03-21 10:08:58 +00:00
|
|
|
<item name="keyboardTopPadding">0dp</item>
|
|
|
|
<item name="keyboardBottomPadding">0dp</item>
|
|
|
|
<item name="horizontalGap">0dp</item>
|
2012-10-03 12:49:57 +01:00
|
|
|
<item name="touchPositionCorrectionData">@null</item>
|
2011-09-05 10:58:30 +01:00
|
|
|
</style>
|
2011-08-26 07:13:30 +01:00
|
|
|
<style
|
2012-02-08 07:12:11 +00:00
|
|
|
name="MoreKeysKeyboardView.IceCreamSandwich"
|
|
|
|
parent="MoreKeysKeyboardView"
|
2011-08-26 07:13:30 +01:00
|
|
|
>
|
2011-05-24 13:08:20 +01:00
|
|
|
<item name="android:background">@null</item>
|
2011-06-21 12:10:51 +01:00
|
|
|
<item name="keyBackground">@drawable/btn_keyboard_key_popup_ics</item>
|
2012-03-07 09:34:15 +00:00
|
|
|
<item name="verticalCorrection">@dimen/more_keys_keyboard_vertical_correction_ics</item>
|
2011-05-24 13:08:20 +01:00
|
|
|
</style>
|
2012-02-08 07:12:11 +00:00
|
|
|
<style name="MoreKeysKeyboardPanelStyle.IceCreamSandwich">
|
2011-09-05 10:58:30 +01:00
|
|
|
<item name="android:background">@drawable/keyboard_popup_panel_background_holo</item>
|
2011-05-24 13:08:20 +01:00
|
|
|
</style>
|
2011-06-21 12:10:51 +01:00
|
|
|
<style name="SuggestionsStripBackgroundStyle.IceCreamSandwich">
|
2011-05-24 13:08:20 +01:00
|
|
|
<item name="android:background">@drawable/keyboard_suggest_strip_holo</item>
|
|
|
|
</style>
|
2011-08-26 07:13:30 +01:00
|
|
|
<style
|
2012-07-23 07:28:28 +01:00
|
|
|
name="SuggestionStripViewStyle.IceCreamSandwich"
|
2011-08-26 07:13:30 +01:00
|
|
|
parent="SuggestionsStripBackgroundStyle.IceCreamSandwich"
|
|
|
|
>
|
2011-08-17 02:18:58 +01:00
|
|
|
<item name="suggestionStripOption">autoCorrectBold|validTypedWordBold</item>
|
2012-11-22 09:18:53 +00:00
|
|
|
<item name="colorValidTypedWord">@color/highlight_color_ics</item>
|
|
|
|
<item name="colorTypedWord">@color/highlight_color_ics</item>
|
|
|
|
<item name="colorAutoCorrect">@color/highlight_color_ics</item>
|
|
|
|
<item name="colorSuggested">@color/highlight_color_ics</item>
|
2012-08-28 05:10:03 +01:00
|
|
|
<item name="alphaValidTypedWord">85%</item>
|
|
|
|
<item name="alphaTypedWord">85%</item>
|
|
|
|
<item name="alphaSuggested">70%</item>
|
|
|
|
<item name="alphaObsoleted">70%</item>
|
2011-09-01 06:54:28 +01:00
|
|
|
<item name="suggestionsCountInStrip">@integer/suggestions_count_in_strip</item>
|
2012-08-28 05:10:03 +01:00
|
|
|
<item name="centerSuggestionPercentile">@fraction/center_suggestion_percentile</item>
|
2011-09-05 09:22:34 +01:00
|
|
|
<item name="maxMoreSuggestionsRow">@integer/max_more_suggestions_row</item>
|
|
|
|
<item name="minMoreSuggestionsWidth">@fraction/min_more_suggestions_width</item>
|
2011-06-15 03:49:57 +01:00
|
|
|
</style>
|
2011-09-05 08:46:15 +01:00
|
|
|
<style
|
|
|
|
name="MoreSuggestionsViewStyle.IceCreamSandwich"
|
2012-02-08 07:12:11 +00:00
|
|
|
parent="MoreKeysKeyboardView.IceCreamSandwich"
|
2011-09-05 08:46:15 +01:00
|
|
|
>
|
|
|
|
</style>
|
|
|
|
<style name="SuggestionBackgroundStyle.IceCreamSandwich">
|
|
|
|
<item name="android:background">@drawable/btn_suggestion_ics</item>
|
|
|
|
</style>
|
|
|
|
<style
|
|
|
|
name="SuggestionPreviewBackgroundStyle.IceCreamSandwich"
|
2012-02-08 07:12:11 +00:00
|
|
|
parent="MoreKeysKeyboardPanelStyle.IceCreamSandwich"
|
2011-09-05 08:46:15 +01:00
|
|
|
>
|
|
|
|
</style>
|
2012-02-08 07:12:11 +00:00
|
|
|
<style name="MoreKeysKeyboardAnimation">
|
|
|
|
<item name="android:windowEnterAnimation">@anim/more_keys_keyboard_fadein</item>
|
|
|
|
<item name="android:windowExitAnimation">@anim/more_keys_keyboard_fadeout</item>
|
2010-09-16 06:54:45 +01:00
|
|
|
</style>
|
2010-08-20 06:35:02 +01:00
|
|
|
</resources>
|