Tadashi G. Takaoka | 5135200 | 2013-11-11 19:28:40 +0900 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| 3 | /* |
| 4 | ** |
| 5 | ** Copyright 2013, The Android Open Source Project |
| 6 | ** |
| 7 | ** Licensed under the Apache License, Version 2.0 (the "License"); |
| 8 | ** you may not use this file except in compliance with the License. |
| 9 | ** You may obtain a copy of the License at |
| 10 | ** |
| 11 | ** http://www.apache.org/licenses/LICENSE-2.0 |
| 12 | ** |
| 13 | ** Unless required by applicable law or agreed to in writing, software |
| 14 | ** distributed under the License is distributed on an "AS IS" BASIS, |
| 15 | ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 16 | ** See the License for the specific language governing permissions and |
| 17 | ** limitations under the License. |
| 18 | */ |
| 19 | --> |
| 20 | |
| 21 | <resources xmlns:android="http://schemas.android.com/apk/res/android"> |
| 22 | <style name="KeyboardTheme.ICS" parent="KeyboardIcons.Holo"> |
| 23 | <item name="keyboardStyle">@style/Keyboard.ICS</item> |
| 24 | <item name="keyboardViewStyle">@style/KeyboardView.ICS</item> |
| 25 | <item name="mainKeyboardViewStyle">@style/MainKeyboardView.ICS</item> |
Ken Wakasa | 2fa3693 | 2013-12-13 17:09:16 +0900 | [diff] [blame] | 26 | <item name="keyPreviewTextViewStyle">@style/KeyPreviewTextView.ICS</item> |
Tadashi G. Takaoka | 5135200 | 2013-11-11 19:28:40 +0900 | [diff] [blame] | 27 | <item name="emojiPalettesViewStyle">@style/EmojiPalettesView.ICS</item> |
| 28 | <item name="moreKeysKeyboardStyle">@style/MoreKeysKeyboard.ICS</item> |
| 29 | <item name="moreKeysKeyboardViewStyle">@style/MoreKeysKeyboardView.ICS</item> |
Tadashi G. Takaoka | 5135200 | 2013-11-11 19:28:40 +0900 | [diff] [blame] | 30 | <item name="suggestionStripViewStyle">@style/SuggestionStripView.ICS</item> |
| 31 | <item name="suggestionWordStyle">@style/SuggestionWord.ICS</item> |
| 32 | </style> |
| 33 | <style |
| 34 | name="Keyboard.ICS" |
| 35 | parent="Keyboard" |
| 36 | > |
| 37 | <!-- This should be aligned with KeyboardSwitcher.KEYBOARD_THEMES[] --> |
| 38 | <item name="themeId">2</item> |
Ken Wakasa | 2fa3693 | 2013-12-13 17:09:16 +0900 | [diff] [blame] | 39 | <item name="keyboardTopPadding">@fraction/config_keyboard_top_padding_holo</item> |
| 40 | <item name="keyboardBottomPadding">@fraction/config_keyboard_bottom_padding_holo</item> |
| 41 | <item name="horizontalGap">@fraction/config_key_horizontal_gap_holo</item> |
| 42 | <item name="verticalGap">@fraction/config_key_vertical_gap_holo</item> |
Tadashi G. Takaoka | 5135200 | 2013-11-11 19:28:40 +0900 | [diff] [blame] | 43 | <item name="touchPositionCorrectionData">@array/touch_position_correction_data_holo</item> |
| 44 | </style> |
| 45 | <style |
| 46 | name="KeyboardView.ICS" |
| 47 | parent="KeyboardView" |
| 48 | > |
| 49 | <item name="android:background">@drawable/keyboard_background_holo</item> |
| 50 | <item name="keyBackground">@drawable/btn_keyboard_key_ics</item> |
| 51 | <item name="keyTypeface">bold</item> |
| 52 | <item name="keyTextColor">@color/key_text_color_holo</item> |
| 53 | <item name="keyTextInactivatedColor">@color/key_text_inactivated_color_holo</item> |
| 54 | <item name="keyHintLetterColor">@color/key_hint_letter_color_holo</item> |
| 55 | <item name="keyHintLabelColor">@color/key_hint_label_color_holo</item> |
| 56 | <item name="keyShiftedLetterHintInactivatedColor">@color/key_shifted_letter_hint_inactivated_color_holo</item> |
| 57 | <item name="keyShiftedLetterHintActivatedColor">@color/key_shifted_letter_hint_activated_color_holo</item> |
| 58 | <item name="keyPreviewTextColor">@color/key_text_color_holo</item> |
| 59 | <item name="keyTextShadowColor">@color/key_text_shadow_color_holo</item> |
| 60 | <item name="keyTextShadowRadius">0.0</item> |
| 61 | </style> |
| 62 | <style |
| 63 | name="MainKeyboardView.ICS" |
| 64 | parent="KeyboardView.ICS" |
| 65 | > |
Ken Wakasa | 2fa3693 | 2013-12-13 17:09:16 +0900 | [diff] [blame] | 66 | <item name="keyPreviewOffset">@dimen/config_key_preview_offset_holo</item> |
Tadashi G. Takaoka | 5135200 | 2013-11-11 19:28:40 +0900 | [diff] [blame] | 67 | <item name="gestureFloatingPreviewTextColor">@color/highlight_color_ics</item> |
| 68 | <item name="gestureFloatingPreviewColor">@color/gesture_floating_preview_color_holo</item> |
| 69 | <item name="gestureTrailColor">@color/highlight_color_ics</item> |
| 70 | <item name="slidingKeyInputPreviewColor">@color/highlight_translucent_color_ics</item> |
| 71 | <item name="autoCorrectionSpacebarLedEnabled">false</item> |
| 72 | <item name="autoCorrectionSpacebarLedIcon">@drawable/sym_keyboard_space_led_holo</item> |
Ken Wakasa | 2fa3693 | 2013-12-13 17:09:16 +0900 | [diff] [blame] | 73 | <item name="languageOnSpacebarTextColor">@color/spacebar_text_color_holo</item> |
| 74 | <item name="languageOnSpacebarTextShadowColor">@color/spacebar_text_shadow_color_holo</item> |
| 75 | <item name="spacebarBackground">@drawable/btn_keyboard_spacebar_ics</item> |
| 76 | </style> |
| 77 | <style |
| 78 | name="KeyPreviewTextView.ICS" |
| 79 | parent="KeyPreviewTextView" |
| 80 | > |
| 81 | <item name="android:background">@drawable/keyboard_key_feedback_ics</item> |
Tadashi G. Takaoka | 5135200 | 2013-11-11 19:28:40 +0900 | [diff] [blame] | 82 | </style> |
| 83 | <!-- Though {@link EmojiPalettesView} doesn't extend {@link KeyboardView}, some views inside it, |
| 84 | for instance delete button, need themed {@link KeyboardView} attributes. --> |
| 85 | <style |
| 86 | name="EmojiPalettesView.ICS" |
| 87 | parent="KeyboardView.ICS" |
| 88 | > |
| 89 | <item name="keyBackgroundEmojiFunctional">@drawable/btn_keyboard_key_functional_ics</item> |
| 90 | <item name="emojiTabLabelColor">@color/emoji_tab_label_color_holo</item> |
| 91 | </style> |
| 92 | <style |
| 93 | name="MoreKeysKeyboard.ICS" |
| 94 | parent="Keyboard.ICS" |
| 95 | > |
| 96 | <item name="keyboardTopPadding">0%p</item> |
| 97 | <item name="keyboardBottomPadding">0%p</item> |
| 98 | <item name="horizontalGap">0%p</item> |
| 99 | <item name="touchPositionCorrectionData">@null</item> |
| 100 | </style> |
| 101 | <style |
| 102 | name="MoreKeysKeyboardView.ICS" |
| 103 | parent="KeyboardView.ICS" |
| 104 | > |
Ken Wakasa | 2fa3693 | 2013-12-13 17:09:16 +0900 | [diff] [blame] | 105 | <item name="android:background">@drawable/keyboard_popup_panel_background_ics</item> |
Tadashi G. Takaoka | 5135200 | 2013-11-11 19:28:40 +0900 | [diff] [blame] | 106 | <item name="keyBackground">@drawable/btn_keyboard_key_popup_ics</item> |
| 107 | <item name="keyTypeface">normal</item> |
Ken Wakasa | 2fa3693 | 2013-12-13 17:09:16 +0900 | [diff] [blame] | 108 | <item name="verticalCorrection">@dimen/config_more_keys_keyboard_vertical_correction_holo</item> |
Tadashi G. Takaoka | 5135200 | 2013-11-11 19:28:40 +0900 | [diff] [blame] | 109 | </style> |
| 110 | <style |
| 111 | name="SuggestionStripView.ICS" |
| 112 | parent="SuggestionStripView" |
| 113 | > |
| 114 | <item name="android:background">@drawable/keyboard_suggest_strip_holo</item> |
Jean Chalard | a098466 | 2014-02-25 14:52:18 +0900 | [diff] [blame^] | 115 | <item name="suggestionStripOptions">autoCorrectBold|validTypedWordBold</item> |
Tadashi G. Takaoka | 5135200 | 2013-11-11 19:28:40 +0900 | [diff] [blame] | 116 | <item name="colorValidTypedWord">@color/typed_word_color_ics</item> |
| 117 | <item name="colorTypedWord">@color/typed_word_color_ics</item> |
| 118 | <item name="colorAutoCorrect">@color/highlight_color_ics</item> |
| 119 | <item name="colorSuggested">@color/suggested_word_color_ics</item> |
| 120 | <item name="alphaObsoleted">70%</item> |
| 121 | </style> |
Tadashi G. Takaoka | c2ea3f7 | 2014-01-28 19:22:27 +0900 | [diff] [blame] | 122 | <style |
| 123 | name="SuggestionWord.ICS" |
| 124 | parent="SuggestionWord" |
| 125 | > |
Tadashi G. Takaoka | 5135200 | 2013-11-11 19:28:40 +0900 | [diff] [blame] | 126 | <item name="android:background">@drawable/btn_suggestion_ics</item> |
Tadashi G. Takaoka | c2ea3f7 | 2014-01-28 19:22:27 +0900 | [diff] [blame] | 127 | <item name="android:textColor">@color/highlight_color_ics</item> |
Tadashi G. Takaoka | 5135200 | 2013-11-11 19:28:40 +0900 | [diff] [blame] | 128 | </style> |
| 129 | </resources> |