2010-08-20 05:35:02 +00: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.
|
|
|
|
-->
|
|
|
|
|
|
|
|
<resources>
|
2011-05-24 12:08:20 +00:00
|
|
|
<!-- Theme "Basic" -->
|
2011-06-16 08:20:29 +00:00
|
|
|
<style name="Keyboard">
|
2011-06-17 02:55:42 +00: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>
|
2011-08-31 06:26:32 +00:00
|
|
|
<item name="moreKeysTemplate">@xml/kbd_mini_keyboard_template</item>
|
2011-07-04 06:09:21 +00:00
|
|
|
<item name="keyboardTopPadding">@fraction/keyboard_top_padding</item>
|
|
|
|
<item name="keyboardBottomPadding">@fraction/keyboard_bottom_padding</item>
|
|
|
|
<item name="horizontalGap">@fraction/key_horizontal_gap</item>
|
|
|
|
<item name="verticalGap">@fraction/key_bottom_gap</item>
|
2011-08-31 06:26:32 +00:00
|
|
|
<item name="maxMoreKeysColumn">@integer/config_max_more_keys_column</item>
|
2011-06-15 04:38:58 +00:00
|
|
|
</style>
|
2011-06-16 08:20:29 +00:00
|
|
|
<style name="LatinKeyboard">
|
2011-08-26 06:13:30 +00:00
|
|
|
<item name="autoCorrectionSpacebarLedEnabled">@bool/config_auto_correction_spacebar_led_enabled
|
|
|
|
</item>
|
2011-06-21 11:10:51 +00:00
|
|
|
<item name="spacebarTextColor">#FFC0C0C0</item>
|
|
|
|
<item name="spacebarTextShadowColor">#80000000</item>
|
2011-06-16 08:20:29 +00:00
|
|
|
</style>
|
2010-12-02 09:46:21 +00:00
|
|
|
<style name="KeyboardView">
|
2010-08-20 05:35:02 +00:00
|
|
|
<item name="android:background">@drawable/keyboard_background</item>
|
|
|
|
<item name="keyBackground">@drawable/btn_keyboard_key</item>
|
2011-05-12 14:49:19 +00:00
|
|
|
<item name="keyLetterRatio">@fraction/key_letter_ratio</item>
|
2011-06-25 10:38:55 +00:00
|
|
|
<item name="keyLargeLetterRatio">@fraction/key_large_letter_ratio</item>
|
2011-06-15 03:36:53 +00:00
|
|
|
<item name="keyLabelRatio">@fraction/key_label_ratio</item>
|
|
|
|
<item name="keyHintLetterRatio">@fraction/key_hint_letter_ratio</item>
|
2011-06-25 10:38:55 +00:00
|
|
|
<item name="keyHintLabelRatio">@fraction/key_hint_label_ratio</item>
|
2011-06-15 03:36:53 +00:00
|
|
|
<item name="keyUppercaseLetterRatio">@fraction/key_uppercase_letter_ratio</item>
|
|
|
|
<item name="keyTextStyle">normal</item>
|
2010-08-20 05:35:02 +00:00
|
|
|
<item name="keyTextColor">#FFFFFFFF</item>
|
2011-06-15 03:36:53 +00:00
|
|
|
<item name="keyTextInactivatedColor">#FFFFFFFF</item>
|
|
|
|
<item name="keyHintLetterColor">#80000000</item>
|
2011-06-25 10:38:55 +00:00
|
|
|
<item name="keyHintLabelColor">#E0E0E4E5</item>
|
2011-06-15 03:36:53 +00:00
|
|
|
<item name="keyUppercaseLetterInactivatedColor">#66E0E4E5</item>
|
|
|
|
<item name="keyUppercaseLetterActivatedColor">#CCE0E4E5</item>
|
2011-06-28 07:32:39 +00:00
|
|
|
<item name="keyLabelHorizontalPadding">@dimen/key_label_horizontal_padding</item>
|
|
|
|
<item name="keyHintLetterPadding">@dimen/key_hint_letter_padding</item>
|
|
|
|
<item name="keyUppercaseLetterPadding">@dimen/key_uppercase_letter_padding</item>
|
2010-09-13 12:54:15 +00:00
|
|
|
<item name="keyPreviewLayout">@layout/key_preview</item>
|
2011-06-27 08:51:36 +00:00
|
|
|
<item name="keyPreviewBackground">@drawable/keyboard_key_feedback</item>
|
2011-06-27 18:01:35 +00:00
|
|
|
<item name="keyPreviewLeftBackground">@null</item>
|
|
|
|
<item name="keyPreviewRightBackground">@null</item>
|
2011-06-27 08:51:36 +00:00
|
|
|
<item name="keyPreviewTextColor">#FFFFFFFF</item>
|
2010-09-28 05:35:21 +00:00
|
|
|
<item name="keyPreviewOffset">@dimen/key_preview_offset</item>
|
|
|
|
<item name="keyPreviewHeight">@dimen/key_preview_height</item>
|
2011-06-25 10:38:55 +00:00
|
|
|
<item name="keyPreviewTextRatio">@fraction/key_preview_text_ratio</item>
|
2011-08-31 06:26:32 +00:00
|
|
|
<item name="moreKeysLayout">@layout/mini_keyboard</item>
|
2010-09-27 08:07:09 +00:00
|
|
|
<item name="verticalCorrection">@dimen/keyboard_vertical_correction</item>
|
2010-08-20 05:35:02 +00:00
|
|
|
<item name="shadowColor">#BB000000</item>
|
|
|
|
<item name="shadowRadius">2.75</item>
|
|
|
|
<item name="backgroundDimAmount">0.5</item>
|
|
|
|
</style>
|
2011-08-26 06:13:30 +00:00
|
|
|
<style
|
2011-08-31 05:22:53 +00:00
|
|
|
name="MiniKeyboardView"
|
2011-08-26 06:13:30 +00:00
|
|
|
parent="KeyboardView"
|
|
|
|
>
|
2011-05-24 12:08:20 +00:00
|
|
|
<item name="keyBackground">@drawable/btn_keyboard_key_popup</item>
|
|
|
|
<item name="verticalCorrection">@dimen/mini_keyboard_vertical_correction</item>
|
|
|
|
</style>
|
2011-08-31 05:22:53 +00:00
|
|
|
<style name="MiniKeyboardPanelStyle">
|
2011-05-24 12:08:20 +00:00
|
|
|
<item name="android:background">@drawable/keyboard_popup_panel_background</item>
|
2011-06-28 07:32:39 +00:00
|
|
|
<item name="android:paddingLeft">@dimen/mini_keyboard_horizontal_edges_padding</item>
|
|
|
|
<item name="android:paddingRight">@dimen/mini_keyboard_horizontal_edges_padding</item>
|
2011-05-24 12:08:20 +00:00
|
|
|
</style>
|
|
|
|
<style name="SuggestionsStripBackgroundStyle">
|
|
|
|
<item name="android:background">@drawable/keyboard_suggest_strip</item>
|
|
|
|
</style>
|
|
|
|
<style name="SuggestionBackgroundStyle">
|
|
|
|
<item name="android:background">@drawable/btn_candidate</item>
|
|
|
|
</style>
|
|
|
|
<style name="SuggestionPreviewBackgroundStyle">
|
|
|
|
<item name="android:background">@drawable/candidate_feedback_background</item>
|
|
|
|
</style>
|
2011-08-26 06:13:30 +00:00
|
|
|
<style
|
|
|
|
name="CandidateViewStyle"
|
|
|
|
parent="SuggestionsStripBackgroundStyle"
|
|
|
|
>
|
2011-08-17 01:18:58 +00:00
|
|
|
<item name="suggestionStripOption">autoCorrectBold</item>
|
2011-06-15 02:49:57 +00:00
|
|
|
<item name="colorTypedWord">#FFFFFFFF</item>
|
|
|
|
<item name="colorAutoCorrect">#FFFCAE00</item>
|
|
|
|
<item name="colorSuggested">#FFFCAE00</item>
|
2011-06-30 01:09:21 +00:00
|
|
|
<item name="candidateCountInStrip">@integer/candidate_count_in_strip</item>
|
2011-08-05 09:54:52 +00:00
|
|
|
<item name="centerCandidatePercentile">@integer/center_candidate_percentile</item>
|
2011-06-15 02:49:57 +00:00
|
|
|
</style>
|
2011-05-24 12:08:20 +00:00
|
|
|
<!-- Theme "Basic high contrast" -->
|
2011-08-26 06:13:30 +00:00
|
|
|
<style
|
|
|
|
name="KeyboardView.HighContrast"
|
|
|
|
parent="KeyboardView"
|
|
|
|
>
|
2011-05-24 12:08:20 +00:00
|
|
|
<item name="android:background">@android:color/black</item>
|
|
|
|
<item name="keyBackground">@drawable/btn_keyboard_key3</item>
|
|
|
|
</style>
|
|
|
|
<!-- Theme "Stone" -->
|
2011-08-26 06:13:30 +00:00
|
|
|
<style
|
|
|
|
name="Keyboard.Stone"
|
|
|
|
parent="Keyboard"
|
|
|
|
>
|
2011-07-04 06:09:21 +00:00
|
|
|
<item name="keyboardHeight">@dimen/keyboardHeight_stone</item>
|
|
|
|
<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 11:10:51 +00:00
|
|
|
</style>
|
2011-08-26 06:13:30 +00:00
|
|
|
<style
|
|
|
|
name="LatinKeyboard.Stone"
|
|
|
|
parent="LatinKeyboard"
|
|
|
|
>
|
2011-06-27 08:51:36 +00:00
|
|
|
<item name="spacebarTextColor">#FF000000</item>
|
|
|
|
<item name="spacebarTextShadowColor">#D0FFFFFF</item>
|
2011-06-16 08:20:29 +00:00
|
|
|
</style>
|
2011-08-26 06:13:30 +00:00
|
|
|
<style
|
|
|
|
name="KeyboardView.Stone"
|
|
|
|
parent="KeyboardView"
|
|
|
|
>
|
2011-05-24 12:08:20 +00:00
|
|
|
<item name="keyBackground">@drawable/btn_keyboard_key_stone</item>
|
2011-06-21 11:10:51 +00:00
|
|
|
<item name="keyTextColor">#FF000000</item>
|
2011-06-15 03:36:53 +00:00
|
|
|
<item name="keyTextInactivatedColor">#FF808080</item>
|
2011-06-27 08:51:36 +00:00
|
|
|
<item name="keyHintLetterColor">#80000000</item>
|
2011-06-25 10:38:55 +00:00
|
|
|
<item name="keyHintLabelColor">#E0000000</item>
|
|
|
|
<item name="keyUppercaseLetterInactivatedColor">#66000000</item>
|
|
|
|
<item name="keyUppercaseLetterActivatedColor">#CC000000</item>
|
2011-06-21 11:10:51 +00:00
|
|
|
<item name="shadowColor">#FFFFFFFF</item>
|
2011-05-24 12:08:20 +00:00
|
|
|
</style>
|
2011-08-26 06:13:30 +00:00
|
|
|
<style
|
2011-08-31 05:22:53 +00:00
|
|
|
name="MiniKeyboardView.Stone"
|
|
|
|
parent="MiniKeyboardView"
|
2011-08-26 06:13:30 +00:00
|
|
|
>
|
2011-05-24 12:08:20 +00:00
|
|
|
<item name="keyBackground">@drawable/btn_keyboard_key_stone</item>
|
2011-06-21 11:10:51 +00:00
|
|
|
<item name="keyTextColor">#FF000000</item>
|
|
|
|
<item name="shadowColor">#FFFFFFFF</item>
|
2011-05-24 12:08:20 +00:00
|
|
|
</style>
|
|
|
|
<!-- Theme "Stone bold" -->
|
2011-08-26 06:13:30 +00:00
|
|
|
<style
|
|
|
|
name="KeyboardView.Stone.Bold"
|
|
|
|
parent="KeyboardView.Stone"
|
|
|
|
>
|
2011-06-15 03:36:53 +00:00
|
|
|
<item name="keyTextStyle">bold</item>
|
2011-05-24 12:08:20 +00:00
|
|
|
</style>
|
|
|
|
<!-- Theme "Gingerbread" -->
|
2011-08-26 06:13:30 +00:00
|
|
|
<style
|
|
|
|
name="Keyboard.Gingerbread"
|
|
|
|
parent="Keyboard"
|
|
|
|
>
|
2011-07-04 06:09:21 +00:00
|
|
|
<item name="horizontalGap">@fraction/key_horizontal_gap_gb</item>
|
|
|
|
<item name="verticalGap">@fraction/key_bottom_gap_gb</item>
|
2011-06-28 07:32:39 +00:00
|
|
|
</style>
|
2011-08-26 06:13:30 +00:00
|
|
|
<style
|
|
|
|
name="KeyboardView.Gingerbread"
|
|
|
|
parent="KeyboardView"
|
|
|
|
>
|
2011-05-24 12:08:20 +00:00
|
|
|
<item name="android:background">@drawable/keyboard_dark_background</item>
|
|
|
|
<item name="keyBackground">@drawable/btn_keyboard_key_gingerbread</item>
|
2011-06-15 03:36:53 +00:00
|
|
|
<item name="keyTextStyle">bold</item>
|
2011-05-24 12:08:20 +00:00
|
|
|
</style>
|
2011-08-26 06:13:30 +00:00
|
|
|
<style
|
2011-08-31 05:22:53 +00:00
|
|
|
name="MiniKeyboardView.Gingerbread"
|
|
|
|
parent="MiniKeyboardView"
|
2011-08-26 06:13:30 +00:00
|
|
|
>
|
2011-05-24 12:08:20 +00:00
|
|
|
<item name="android:background">@null</item>
|
|
|
|
</style>
|
2011-06-21 11:10:51 +00:00
|
|
|
<!-- Theme "IceCreamSandwich" -->
|
2011-08-26 06:13:30 +00:00
|
|
|
<style
|
|
|
|
name="Keyboard.IceCreamSandwich"
|
|
|
|
parent="Keyboard"
|
|
|
|
>
|
2011-07-04 06:09:21 +00: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-06-15 04:38:58 +00:00
|
|
|
</style>
|
2011-08-26 06:13:30 +00:00
|
|
|
<style
|
|
|
|
name="LatinKeyboard.IceCreamSandwich"
|
|
|
|
parent="LatinKeyboard"
|
|
|
|
>
|
2011-06-16 08:20:29 +00:00
|
|
|
<item name="disabledShortcutIcon">@drawable/sym_keyboard_voice_off_holo</item>
|
|
|
|
</style>
|
2011-08-26 06:13:30 +00:00
|
|
|
<style
|
|
|
|
name="KeyboardView.IceCreamSandwich"
|
|
|
|
parent="KeyboardView"
|
|
|
|
>
|
2011-05-24 12:08:20 +00:00
|
|
|
<item name="android:background">@drawable/keyboard_background_holo</item>
|
2011-06-21 11:10:51 +00:00
|
|
|
<item name="keyBackground">@drawable/btn_keyboard_key_ics</item>
|
2011-06-15 03:36:53 +00:00
|
|
|
<item name="keyTextStyle">bold</item>
|
|
|
|
<item name="keyTextInactivatedColor">#66E0E4E5</item>
|
|
|
|
<item name="keyHintLetterColor">#80000000</item>
|
2011-06-25 10:38:55 +00:00
|
|
|
<item name="keyHintLabelColor">#A0FFFFFF</item>
|
2011-06-15 03:36:53 +00:00
|
|
|
<item name="keyUppercaseLetterInactivatedColor">#66E0E4E5</item>
|
|
|
|
<item name="keyUppercaseLetterActivatedColor">#FFFFFFFF</item>
|
2011-06-27 08:51:36 +00:00
|
|
|
<item name="keyPreviewBackground">@drawable/keyboard_key_feedback_ics</item>
|
2011-06-27 18:01:35 +00:00
|
|
|
<item name="keyPreviewLeftBackground">@drawable/keyboard_key_feedback_left_ics</item>
|
|
|
|
<item name="keyPreviewRightBackground">@drawable/keyboard_key_feedback_right_ics</item>
|
2011-06-27 08:51:36 +00:00
|
|
|
<item name="keyPreviewTextColor">#FFFFFFFF</item>
|
2011-06-25 10:38:55 +00:00
|
|
|
<item name="keyPreviewHeight">@dimen/key_preview_height_ics</item>
|
2011-06-21 11:10:51 +00:00
|
|
|
<item name="keyPreviewOffset">@dimen/key_preview_offset_ics</item>
|
2011-05-24 12:08:20 +00:00
|
|
|
<item name="shadowColor">#00000000</item>
|
|
|
|
<item name="shadowRadius">0.0</item>
|
|
|
|
</style>
|
2011-08-26 06:13:30 +00:00
|
|
|
<style
|
2011-08-31 05:22:53 +00:00
|
|
|
name="MiniKeyboardView.IceCreamSandwich"
|
|
|
|
parent="MiniKeyboardView"
|
2011-08-26 06:13:30 +00:00
|
|
|
>
|
2011-05-24 12:08:20 +00:00
|
|
|
<item name="android:background">@null</item>
|
2011-06-21 11:10:51 +00:00
|
|
|
<item name="keyBackground">@drawable/btn_keyboard_key_popup_ics</item>
|
2011-05-24 12:08:20 +00:00
|
|
|
</style>
|
2011-08-31 05:22:53 +00:00
|
|
|
<style name="MiniKeyboardPanelStyle.IceCreamSandwich">
|
2011-06-28 07:32:39 +00:00
|
|
|
<item name="android:background">@drawable/btn_keyboard_key_popup_background_holo</item>
|
|
|
|
<item name="android:paddingLeft">@dimen/mini_keyboard_horizontal_edges_padding_ics</item>
|
|
|
|
<item name="android:paddingRight">@dimen/mini_keyboard_horizontal_edges_padding_ics</item>
|
2011-05-24 12:08:20 +00:00
|
|
|
</style>
|
2011-06-21 11:10:51 +00:00
|
|
|
<style name="SuggestionsStripBackgroundStyle.IceCreamSandwich">
|
2011-05-24 12:08:20 +00:00
|
|
|
<item name="android:background">@drawable/keyboard_suggest_strip_holo</item>
|
|
|
|
</style>
|
2011-06-21 11:10:51 +00:00
|
|
|
<style name="SuggestionBackgroundStyle.IceCreamSandwich">
|
|
|
|
<item name="android:background">@drawable/btn_candidate_ics</item>
|
2011-05-24 12:08:20 +00:00
|
|
|
</style>
|
2011-08-26 06:13:30 +00:00
|
|
|
<style
|
|
|
|
name="SuggestionPreviewBackgroundStyle.IceCreamSandwich"
|
2011-08-31 05:22:53 +00:00
|
|
|
parent="MiniKeyboardPanelStyle.IceCreamSandwich"
|
2011-08-26 06:13:30 +00:00
|
|
|
>
|
2011-05-24 12:08:20 +00:00
|
|
|
</style>
|
2011-08-26 06:13:30 +00:00
|
|
|
<style
|
|
|
|
name="CandidateViewStyle.IceCreamSandwich"
|
|
|
|
parent="SuggestionsStripBackgroundStyle.IceCreamSandwich"
|
|
|
|
>
|
2011-08-17 01:18:58 +00:00
|
|
|
<item name="suggestionStripOption">autoCorrectBold|validTypedWordBold</item>
|
|
|
|
<item name="colorTypedWord">#FFBCBEC0</item>
|
|
|
|
<item name="colorAutoCorrect">#FF0099CC</item>
|
|
|
|
<item name="colorSuggested">#FFA7A9AC</item>
|
2011-06-30 01:09:21 +00:00
|
|
|
<item name="candidateCountInStrip">@integer/candidate_count_in_strip</item>
|
2011-08-05 09:54:52 +00:00
|
|
|
<item name="centerCandidatePercentile">@integer/center_candidate_percentile</item>
|
2011-06-15 02:49:57 +00:00
|
|
|
</style>
|
2011-08-31 05:22:53 +00:00
|
|
|
<style name="MiniKeyboardAnimation">
|
2010-09-16 05:54:45 +00:00
|
|
|
<item name="android:windowEnterAnimation">@anim/mini_keyboard_fadein</item>
|
|
|
|
<item name="android:windowExitAnimation">@anim/mini_keyboard_fadeout</item>
|
|
|
|
</style>
|
2010-08-20 05:35:02 +00:00
|
|
|
</resources>
|