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-15 04:38:58 +00:00
|
|
|
<item name="popupHintIcon">@drawable/hint_popup</item>
|
|
|
|
</style>
|
2011-06-16 08:20:29 +00:00
|
|
|
<style name="LatinKeyboard">
|
|
|
|
<item name="autoCorrectionSpacebarLedIcon">@drawable/sym_keyboard_space_led</item>
|
|
|
|
<item name="disabledShortcutIcon">@drawable/sym_keyboard_voice_off_holo</item>
|
|
|
|
<item name="spacebarTextColor">@color/latinkeyboard_bar_language_text</item>
|
|
|
|
<item name="spacebarTextShadowColor">@color/latinkeyboard_bar_language_shadow_white</item>
|
|
|
|
<item name="spacebarArrowLeftIcon">@drawable/sym_keyboard_language_arrows_left</item>
|
|
|
|
<item name="spacebarArrowRightIcon">@drawable/sym_keyboard_language_arrows_right</item>
|
|
|
|
<item name="spacebarArrowPreviewLeftIcon">@drawable/sym_keyboard_feedback_language_arrows_left</item>
|
|
|
|
<item name="spacebarArrowPreviewRightIcon">@drawable/sym_keyboard_feedback_language_arrows_right</item>
|
|
|
|
</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>
|
2010-12-01 03:22:19 +00:00
|
|
|
<item name="keyLetterStyle">normal</item>
|
2010-08-20 05:35:02 +00:00
|
|
|
<item name="keyTextColor">#FFFFFFFF</item>
|
2010-12-01 03:22:19 +00:00
|
|
|
<item name="keyTextColorDisabled">#FFFFFFFF</item>
|
2010-09-13 12:54:15 +00:00
|
|
|
<item name="keyPreviewLayout">@layout/key_preview</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-05-12 14:49:19 +00:00
|
|
|
<item name="labelTextRatio">@fraction/key_label_text_ratio</item>
|
2010-09-13 12:54:15 +00:00
|
|
|
<item name="popupLayout">@layout/keyboard_popup</item>
|
2010-09-28 05:35:21 +00:00
|
|
|
<item name="keyHysteresisDistance">@dimen/key_hysteresis_distance</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>
|
2010-11-22 00:40:38 +00:00
|
|
|
<item name="colorScheme">white</item>
|
2010-08-20 05:35:02 +00:00
|
|
|
</style>
|
2011-05-24 12:08:20 +00:00
|
|
|
<style name="KeyPreviewStyle">
|
|
|
|
<item name="android:background">@drawable/keyboard_key_feedback</item>
|
|
|
|
</style>
|
|
|
|
<style name="PopupMiniKeyboardView" parent="KeyboardView">
|
|
|
|
<item name="keyBackground">@drawable/btn_keyboard_key_popup</item>
|
|
|
|
<item name="keyHysteresisDistance">0dip</item>
|
|
|
|
<item name="verticalCorrection">@dimen/mini_keyboard_vertical_correction</item>
|
|
|
|
</style>
|
|
|
|
<style name="PopupMiniKeyboardPanelStyle">
|
|
|
|
<item name="android:background">@drawable/keyboard_popup_panel_background</item>
|
|
|
|
<item name="android:paddingLeft">@dimen/mini_keyboard_horizontal_padding</item>
|
|
|
|
<item name="android:paddingRight">@dimen/mini_keyboard_horizontal_padding</item>
|
|
|
|
</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-06-15 02:49:57 +00:00
|
|
|
<style name="CandidateViewStyle" parent="SuggestionsStripBackgroundStyle">
|
|
|
|
<item name="colorTypedWord">#FFFFFFFF</item>
|
|
|
|
<item name="colorAutoCorrect">#FFFCAE00</item>
|
|
|
|
<item name="colorSuggested">#FFFCAE00</item>
|
|
|
|
<item name="iconExpandPane">@drawable/btn_expand_candidates_pane</item>
|
|
|
|
<item name="iconClosePane">@drawable/btn_close_candidates_pane</item>"
|
|
|
|
</style>
|
2011-05-24 12:08:20 +00:00
|
|
|
<!-- Theme "Basic high contrast" -->
|
|
|
|
<style name="KeyboardView.HighContrast" parent="KeyboardView">
|
|
|
|
<item name="android:background">@android:color/black</item>
|
|
|
|
<item name="keyBackground">@drawable/btn_keyboard_key3</item>
|
|
|
|
</style>
|
|
|
|
<!-- Theme "Stone" -->
|
2011-06-16 08:20:29 +00:00
|
|
|
<style name="LatinKeyboard.Stone" patent="LatinKeyboard">
|
|
|
|
<item name="spacebarTextColor">#FF444444</item>
|
|
|
|
<item name="spacebarTextShadowColor">@color/latinkeyboard_bar_language_shadow_black</item>
|
|
|
|
<item name="disabledShortcutIcon">@drawable/sym_bkeyboard_voice_off</item>
|
|
|
|
</style>
|
2011-05-24 12:08:20 +00:00
|
|
|
<style name="KeyboardView.Stone" parent="KeyboardView">
|
|
|
|
<item name="keyBackground">@drawable/btn_keyboard_key_stone</item>
|
|
|
|
<item name="keyTextColor">@color/latinkeyboard_key_color_black</item>
|
|
|
|
<item name="keyTextColorDisabled">#FF808080</item>
|
|
|
|
<item name="shadowColor">@color/latinkeyboard_key_color_white</item>
|
|
|
|
<item name="colorScheme">black</item>
|
|
|
|
</style>
|
|
|
|
<style name="PopupMiniKeyboardView.Stone" parent="PopupMiniKeyboardView">
|
|
|
|
<item name="keyBackground">@drawable/btn_keyboard_key_stone</item>
|
|
|
|
<item name="keyTextColor">@color/latinkeyboard_key_color_black</item>
|
|
|
|
<item name="shadowColor">@color/latinkeyboard_key_color_white</item>
|
|
|
|
</style>
|
|
|
|
<!-- Theme "Stone bold" -->
|
|
|
|
<style name="KeyboardView.Stone.Bold" parent="KeyboardView.Stone">
|
|
|
|
<item name="keyLetterStyle">bold</item>
|
|
|
|
</style>
|
|
|
|
<!-- Theme "Gingerbread" -->
|
|
|
|
<style name="KeyboardView.Gingerbread" parent="KeyboardView">
|
|
|
|
<item name="android:background">@drawable/keyboard_dark_background</item>
|
|
|
|
<item name="keyBackground">@drawable/btn_keyboard_key_gingerbread</item>
|
|
|
|
<item name="keyLetterStyle">bold</item>
|
|
|
|
</style>
|
|
|
|
<style name="PopupMiniKeyboardView.Gingerbread" parent="PopupMiniKeyboardView">
|
|
|
|
<item name="android:background">@null</item>
|
|
|
|
</style>
|
|
|
|
<!-- Theme "Honeycomb" -->
|
2011-06-15 04:38:58 +00:00
|
|
|
<style name="Keyboard.Honeycomb" parent="Keyboard" >
|
|
|
|
<item name="popupHintIcon">@drawable/hint_popup_holo</item>
|
|
|
|
</style>
|
2011-06-16 08:20:29 +00:00
|
|
|
<style name="LatinKeyboard.Honeycomb" parent="LatinKeyboard">
|
|
|
|
<item name="autoCorrectionSpacebarLedIcon">@null</item>
|
|
|
|
<item name="disabledShortcutIcon">@drawable/sym_keyboard_voice_off_holo</item>
|
|
|
|
</style>
|
2011-05-24 12:08:20 +00:00
|
|
|
<style name="KeyboardView.Honeycomb" parent="KeyboardView">
|
|
|
|
<item name="android:background">@drawable/keyboard_background_holo</item>
|
|
|
|
<item name="keyBackground">@drawable/btn_keyboard_key_honeycomb</item>
|
|
|
|
<item name="keyPreviewHeight">@dimen/key_preview_height_holo</item>
|
|
|
|
<item name="keyPreviewOffset">@dimen/key_preview_offset_holo</item>
|
|
|
|
<item name="keyTextColorDisabled">#FF63666D</item>
|
|
|
|
<item name="keyLetterStyle">bold</item>
|
|
|
|
<item name="shadowColor">#00000000</item>
|
|
|
|
<item name="shadowRadius">0.0</item>
|
|
|
|
</style>
|
|
|
|
<style name="KeyPreviewStyle.Honeycomb">
|
|
|
|
<item name="android:background">@drawable/keyboard_key_feedback_honeycomb</item>
|
|
|
|
</style>
|
|
|
|
<style name="PopupMiniKeyboardView.Honeycomb" parent="PopupMiniKeyboardView">
|
|
|
|
<item name="android:background">@null</item>
|
|
|
|
<item name="keyBackground">@drawable/btn_keyboard_key_popup_honeycomb</item>
|
|
|
|
</style>
|
|
|
|
<style name="PopupMiniKeyboardPanelStyle.Honeycomb">
|
|
|
|
<item name="android:background">@drawable/keyboard_popup_panel_background_holo</item>
|
|
|
|
<item name="android:paddingLeft">@dimen/mini_keyboard_horizontal_padding_holo</item>
|
|
|
|
<item name="android:paddingRight">@dimen/mini_keyboard_horizontal_padding_holo</item>
|
|
|
|
</style>
|
2011-06-15 04:38:58 +00:00
|
|
|
<style name="SuggestionsStripBackgroundStyle.Honeycomb">
|
2011-05-24 12:08:20 +00:00
|
|
|
<item name="android:background">@drawable/keyboard_suggest_strip_holo</item>
|
|
|
|
</style>
|
2011-06-15 04:38:58 +00:00
|
|
|
<style name="SuggestionBackgroundStyle.Honeycomb">
|
2011-05-24 12:08:20 +00:00
|
|
|
<item name="android:background">@drawable/btn_candidate_holo</item>
|
|
|
|
</style>
|
2011-06-15 04:38:58 +00:00
|
|
|
<style name="SuggestionPreviewBackgroundStyle.Honeycomb">
|
2011-05-24 12:08:20 +00:00
|
|
|
<item name="android:background">@drawable/keyboard_popup_panel_background_holo</item>
|
|
|
|
</style>
|
2011-06-15 02:49:57 +00:00
|
|
|
<style name="CandidateViewStyle.Honeycomb" parent="SuggestionsStripBackgroundStyle.Honeycomb">
|
|
|
|
<item name="autoCorrectHighlight">autoCorrectUnderline|autoCorrectInvert</item>
|
|
|
|
<item name="colorTypedWord">#FFFFFFFF</item>
|
|
|
|
<item name="colorAutoCorrect">#FFFFFFFF</item>
|
|
|
|
<item name="colorSuggested">#FFFFFFFF</item>
|
|
|
|
<item name="iconExpandPane">@drawable/btn_expand_candidates_pane</item>
|
|
|
|
<item name="iconClosePane">@drawable/btn_close_candidates_pane</item>"
|
|
|
|
</style>
|
2011-04-27 05:14:45 +00:00
|
|
|
<style name="PopupMiniKeyboardAnimation">
|
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>
|