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> |
| 26 | <item name="emojiPalettesViewStyle">@style/EmojiPalettesView.ICS</item> |
| 27 | <item name="moreKeysKeyboardStyle">@style/MoreKeysKeyboard.ICS</item> |
| 28 | <item name="moreKeysKeyboardViewStyle">@style/MoreKeysKeyboardView.ICS</item> |
Tadashi G. Takaoka | 5135200 | 2013-11-11 19:28:40 +0900 | [diff] [blame] | 29 | <item name="suggestionStripViewStyle">@style/SuggestionStripView.ICS</item> |
| 30 | <item name="suggestionWordStyle">@style/SuggestionWord.ICS</item> |
| 31 | </style> |
| 32 | <style |
| 33 | name="Keyboard.ICS" |
| 34 | parent="Keyboard" |
| 35 | > |
| 36 | <!-- This should be aligned with KeyboardSwitcher.KEYBOARD_THEMES[] --> |
| 37 | <item name="themeId">2</item> |
Ken Wakasa | 2fa3693 | 2013-12-13 17:09:16 +0900 | [diff] [blame] | 38 | <item name="keyboardTopPadding">@fraction/config_keyboard_top_padding_holo</item> |
| 39 | <item name="keyboardBottomPadding">@fraction/config_keyboard_bottom_padding_holo</item> |
| 40 | <item name="horizontalGap">@fraction/config_key_horizontal_gap_holo</item> |
| 41 | <item name="verticalGap">@fraction/config_key_vertical_gap_holo</item> |
Tadashi G. Takaoka | 5135200 | 2013-11-11 19:28:40 +0900 | [diff] [blame] | 42 | <item name="touchPositionCorrectionData">@array/touch_position_correction_data_holo</item> |
| 43 | </style> |
| 44 | <style |
| 45 | name="KeyboardView.ICS" |
| 46 | parent="KeyboardView" |
| 47 | > |
| 48 | <item name="android:background">@drawable/keyboard_background_holo</item> |
| 49 | <item name="keyBackground">@drawable/btn_keyboard_key_ics</item> |
Tadashi G. Takaoka | c1e6100 | 2014-05-14 15:30:37 +0900 | [diff] [blame] | 50 | <item name="functionalKeyBackground">@drawable/btn_keyboard_key_functional_ics</item> |
| 51 | <item name="spacebarBackground">@drawable/btn_keyboard_spacebar_ics</item> |
Tadashi G. Takaoka | 5135200 | 2013-11-11 19:28:40 +0900 | [diff] [blame] | 52 | <item name="keyTypeface">bold</item> |
| 53 | <item name="keyTextColor">@color/key_text_color_holo</item> |
| 54 | <item name="keyTextInactivatedColor">@color/key_text_inactivated_color_holo</item> |
Tadashi G. Takaoka | 37ec0fe | 2014-05-15 15:39:01 +0900 | [diff] [blame] | 55 | <item name="functionalTextColor">@color/key_text_color_holo</item> |
Tadashi G. Takaoka | 5135200 | 2013-11-11 19:28:40 +0900 | [diff] [blame] | 56 | <item name="keyHintLetterColor">@color/key_hint_letter_color_holo</item> |
| 57 | <item name="keyHintLabelColor">@color/key_hint_label_color_holo</item> |
| 58 | <item name="keyShiftedLetterHintInactivatedColor">@color/key_shifted_letter_hint_inactivated_color_holo</item> |
| 59 | <item name="keyShiftedLetterHintActivatedColor">@color/key_shifted_letter_hint_activated_color_holo</item> |
| 60 | <item name="keyPreviewTextColor">@color/key_text_color_holo</item> |
Tadashi G. Takaoka | 41f9f1e | 2014-05-13 11:19:43 +0900 | [diff] [blame] | 61 | <!-- A negative value to disable key text shadow layer. --> |
| 62 | <item name="keyTextShadowRadius">-1.0</item> |
Tadashi G. Takaoka | 5135200 | 2013-11-11 19:28:40 +0900 | [diff] [blame] | 63 | </style> |
| 64 | <style |
| 65 | name="MainKeyboardView.ICS" |
| 66 | parent="KeyboardView.ICS" |
| 67 | > |
Tadashi G. Takaoka | 615f431 | 2014-06-17 17:42:36 -0700 | [diff] [blame] | 68 | <item name="keyPreviewBackground">@drawable/keyboard_key_feedback_ics</item> |
Ken Wakasa | 2fa3693 | 2013-12-13 17:09:16 +0900 | [diff] [blame] | 69 | <item name="keyPreviewOffset">@dimen/config_key_preview_offset_holo</item> |
Tadashi G. Takaoka | 5135200 | 2013-11-11 19:28:40 +0900 | [diff] [blame] | 70 | <item name="gestureFloatingPreviewTextColor">@color/highlight_color_ics</item> |
| 71 | <item name="gestureFloatingPreviewColor">@color/gesture_floating_preview_color_holo</item> |
| 72 | <item name="gestureTrailColor">@color/highlight_color_ics</item> |
| 73 | <item name="slidingKeyInputPreviewColor">@color/highlight_translucent_color_ics</item> |
Ken Wakasa | 2fa3693 | 2013-12-13 17:09:16 +0900 | [diff] [blame] | 74 | <item name="languageOnSpacebarTextColor">@color/spacebar_text_color_holo</item> |
Tadashi G. Takaoka | 41f9f1e | 2014-05-13 11:19:43 +0900 | [diff] [blame] | 75 | <item name="languageOnSpacebarTextShadowRadius">1.0</item> |
Ken Wakasa | 2fa3693 | 2013-12-13 17:09:16 +0900 | [diff] [blame] | 76 | <item name="languageOnSpacebarTextShadowColor">@color/spacebar_text_shadow_color_holo</item> |
Ken Wakasa | 2fa3693 | 2013-12-13 17:09:16 +0900 | [diff] [blame] | 77 | </style> |
Tadashi G. Takaoka | 5135200 | 2013-11-11 19:28:40 +0900 | [diff] [blame] | 78 | <!-- Though {@link EmojiPalettesView} doesn't extend {@link KeyboardView}, some views inside it, |
| 79 | for instance delete button, need themed {@link KeyboardView} attributes. --> |
| 80 | <style |
| 81 | name="EmojiPalettesView.ICS" |
Tadashi G. Takaoka | c1e6100 | 2014-05-14 15:30:37 +0900 | [diff] [blame] | 82 | parent="MainKeyboardView.ICS" |
Tadashi G. Takaoka | 5135200 | 2013-11-11 19:28:40 +0900 | [diff] [blame] | 83 | > |
Tadashi G. Takaoka | 2782f97 | 2014-05-23 16:04:39 +0900 | [diff] [blame] | 84 | <item name="categoryIndicatorEnabled">true</item> |
| 85 | <item name="categoryIndicatorDrawable">@drawable/emoji_category_tab_selected_ics</item> |
| 86 | <item name="categoryIndicatorBackground">@drawable/emoji_category_tab_unselected_holo_dark</item> |
| 87 | <item name="categoryPageIndicatorColor">@color/highlight_color_ics</item> |
| 88 | <item name="categoryPageIndicatorBackground">@color/emoji_tab_page_indicator_background_holo</item> |
Tadashi G. Takaoka | 27ca9f1 | 2014-05-16 10:32:04 +0900 | [diff] [blame] | 89 | <item name="iconEmojiRecentsTab">@drawable/ic_emoji_recents_holo_dark</item> |
| 90 | <item name="iconEmojiCategory1Tab">@drawable/ic_emoji_people_holo_dark</item> |
| 91 | <item name="iconEmojiCategory2Tab">@drawable/ic_emoji_objects_holo_dark</item> |
| 92 | <item name="iconEmojiCategory3Tab">@drawable/ic_emoji_nature_holo_dark</item> |
| 93 | <item name="iconEmojiCategory4Tab">@drawable/ic_emoji_places_holo_dark</item> |
| 94 | <item name="iconEmojiCategory5Tab">@drawable/ic_emoji_symbols_holo_dark</item> |
| 95 | <item name="iconEmojiCategory6Tab">@drawable/ic_emoji_emoticons_holo_dark</item> |
Tadashi G. Takaoka | 5135200 | 2013-11-11 19:28:40 +0900 | [diff] [blame] | 96 | </style> |
| 97 | <style |
| 98 | name="MoreKeysKeyboard.ICS" |
| 99 | parent="Keyboard.ICS" |
| 100 | > |
| 101 | <item name="keyboardTopPadding">0%p</item> |
| 102 | <item name="keyboardBottomPadding">0%p</item> |
| 103 | <item name="horizontalGap">0%p</item> |
| 104 | <item name="touchPositionCorrectionData">@null</item> |
| 105 | </style> |
| 106 | <style |
| 107 | name="MoreKeysKeyboardView.ICS" |
| 108 | parent="KeyboardView.ICS" |
| 109 | > |
Ken Wakasa | 2fa3693 | 2013-12-13 17:09:16 +0900 | [diff] [blame] | 110 | <item name="android:background">@drawable/keyboard_popup_panel_background_ics</item> |
Tadashi G. Takaoka | 5135200 | 2013-11-11 19:28:40 +0900 | [diff] [blame] | 111 | <item name="keyBackground">@drawable/btn_keyboard_key_popup_ics</item> |
| 112 | <item name="keyTypeface">normal</item> |
Ken Wakasa | 2fa3693 | 2013-12-13 17:09:16 +0900 | [diff] [blame] | 113 | <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] | 114 | </style> |
| 115 | <style |
| 116 | name="SuggestionStripView.ICS" |
Tadashi G. Takaoka | 9d99a2e | 2014-05-02 17:03:12 +0900 | [diff] [blame] | 117 | parent="KeyboardView.ICS" |
Tadashi G. Takaoka | 5135200 | 2013-11-11 19:28:40 +0900 | [diff] [blame] | 118 | > |
Tadashi G. Takaoka | 9d99a2e | 2014-05-02 17:03:12 +0900 | [diff] [blame] | 119 | <item name="suggestionsCountInStrip">@integer/config_suggestions_count_in_strip</item> |
| 120 | <item name="centerSuggestionPercentile">@fraction/config_center_suggestion_percentile</item> |
| 121 | <item name="maxMoreSuggestionsRow">@integer/config_max_more_suggestions_row</item> |
| 122 | <item name="minMoreSuggestionsWidth">@fraction/config_min_more_suggestions_width</item> |
Tadashi G. Takaoka | 5135200 | 2013-11-11 19:28:40 +0900 | [diff] [blame] | 123 | <item name="android:background">@drawable/keyboard_suggest_strip_holo</item> |
Tadashi G. Takaoka | 46394af | 2014-07-04 15:29:10 +0900 | [diff] [blame^] | 124 | <item name="android:src">@drawable/suggestions_strip_divider_holo</item> |
Jean Chalard | a098466 | 2014-02-25 14:52:18 +0900 | [diff] [blame] | 125 | <item name="suggestionStripOptions">autoCorrectBold|validTypedWordBold</item> |
Tadashi G. Takaoka | 5135200 | 2013-11-11 19:28:40 +0900 | [diff] [blame] | 126 | <item name="colorValidTypedWord">@color/typed_word_color_ics</item> |
| 127 | <item name="colorTypedWord">@color/typed_word_color_ics</item> |
| 128 | <item name="colorAutoCorrect">@color/highlight_color_ics</item> |
| 129 | <item name="colorSuggested">@color/suggested_word_color_ics</item> |
| 130 | <item name="alphaObsoleted">70%</item> |
| 131 | </style> |
Tadashi G. Takaoka | c2ea3f7 | 2014-01-28 19:22:27 +0900 | [diff] [blame] | 132 | <style |
| 133 | name="SuggestionWord.ICS" |
| 134 | parent="SuggestionWord" |
| 135 | > |
Tadashi G. Takaoka | 5135200 | 2013-11-11 19:28:40 +0900 | [diff] [blame] | 136 | <item name="android:background">@drawable/btn_suggestion_ics</item> |
Tadashi G. Takaoka | c2ea3f7 | 2014-01-28 19:22:27 +0900 | [diff] [blame] | 137 | <item name="android:textColor">@color/highlight_color_ics</item> |
Tadashi G. Takaoka | 5135200 | 2013-11-11 19:28:40 +0900 | [diff] [blame] | 138 | </style> |
| 139 | </resources> |