Tadashi G. Takaoka | f9f4095 | 2014-05-19 11:34:11 +0900 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| 3 | /* |
| 4 | ** |
Chieu Nguyen | 7674a65 | 2015-11-11 11:03:02 -0800 | [diff] [blame] | 5 | ** Copyright 2015, The Android Open Source Project |
Tadashi G. Takaoka | f9f4095 | 2014-05-19 11:34:11 +0900 | [diff] [blame] | 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.LXX_Light" parent="KeyboardIcons.LXX_Light"> |
Tadashi G. Takaoka | 1548048 | 2014-10-07 15:11:43 +0900 | [diff] [blame] | 23 | <item name="inputViewStyle">@style/InputView.LXX</item> |
Tadashi G. Takaoka | f9f4095 | 2014-05-19 11:34:11 +0900 | [diff] [blame] | 24 | <item name="keyboardStyle">@style/Keyboard.LXX_Light</item> |
| 25 | <item name="keyboardViewStyle">@style/KeyboardView.LXX_Light</item> |
| 26 | <item name="mainKeyboardViewStyle">@style/MainKeyboardView.LXX_Light</item> |
| 27 | <item name="emojiPalettesViewStyle">@style/EmojiPalettesView.LXX_Light</item> |
| 28 | <item name="moreKeysKeyboardStyle">@style/MoreKeysKeyboard.LXX_Light</item> |
| 29 | <item name="moreKeysKeyboardViewStyle">@style/MoreKeysKeyboardView.LXX_Light</item> |
Tadashi G. Takaoka | 0f33e61 | 2014-08-22 18:36:09 +0900 | [diff] [blame] | 30 | <item name="moreKeysKeyboardViewForActionStyle">@style/MoreKeysKeyboardView.LXX_Light.Action</item> |
Tadashi G. Takaoka | f9f4095 | 2014-05-19 11:34:11 +0900 | [diff] [blame] | 31 | <item name="suggestionStripViewStyle">@style/SuggestionStripView.LXX_Light</item> |
| 32 | <item name="suggestionWordStyle">@style/SuggestionWord.LXX_Light</item> |
| 33 | </style> |
| 34 | <style |
| 35 | name="Keyboard.LXX_Light" |
| 36 | parent="Keyboard" |
| 37 | > |
Tadashi G. Takaoka | 0af2472 | 2014-09-03 10:52:56 +0900 | [diff] [blame] | 38 | <!-- This should be aligned with KeyboardTheme.THEME_ID_* --> |
| 39 | <item name="themeId">LXXLight</item> |
Tadashi G. Takaoka | f9f4095 | 2014-05-19 11:34:11 +0900 | [diff] [blame] | 40 | </style> |
| 41 | <style |
| 42 | name="KeyboardView.LXX_Light" |
Tadashi G. Takaoka | 6dcdfcc | 2014-08-07 16:16:31 +0900 | [diff] [blame] | 43 | parent="KeyboardView.LXX" |
Tadashi G. Takaoka | f9f4095 | 2014-05-19 11:34:11 +0900 | [diff] [blame] | 44 | > |
Tadashi G. Takaoka | e14c680 | 2014-07-29 10:53:47 +0900 | [diff] [blame] | 45 | <item name="android:background">@drawable/keyboard_background_lxx_light</item> |
Tadashi G. Takaoka | f9f4095 | 2014-05-19 11:34:11 +0900 | [diff] [blame] | 46 | <item name="keyBackground">@drawable/btn_keyboard_key_lxx_light</item> |
| 47 | <item name="functionalKeyBackground">@drawable/btn_keyboard_key_functional_lxx_light</item> |
| 48 | <item name="spacebarBackground">@drawable/btn_keyboard_spacebar_lxx_light</item> |
Tadashi G. Takaoka | f9f4095 | 2014-05-19 11:34:11 +0900 | [diff] [blame] | 49 | <item name="keyTextColor">@color/key_text_color_lxx_light</item> |
| 50 | <item name="keyTextInactivatedColor">@color/key_text_inactive_color_lxx_light</item> |
Tadashi G. Takaoka | 509d9be | 2014-07-11 13:08:57 +0900 | [diff] [blame] | 51 | <item name="functionalTextColor">@color/key_functional_text_color_lxx_light</item> |
Tadashi G. Takaoka | f9f4095 | 2014-05-19 11:34:11 +0900 | [diff] [blame] | 52 | <item name="keyHintLetterColor">@color/key_hint_letter_color_lxx_light</item> |
| 53 | <item name="keyHintLabelColor">@color/key_text_inactive_color_lxx_light</item> |
| 54 | <item name="keyShiftedLetterHintInactivatedColor">@color/key_text_inactive_color_lxx_light</item> |
| 55 | <item name="keyShiftedLetterHintActivatedColor">@color/key_text_color_lxx_light</item> |
| 56 | <item name="keyPreviewTextColor">@color/key_text_color_lxx_light</item> |
Tadashi G. Takaoka | f9f4095 | 2014-05-19 11:34:11 +0900 | [diff] [blame] | 57 | </style> |
| 58 | <style |
| 59 | name="MainKeyboardView.LXX_Light" |
| 60 | parent="KeyboardView.LXX_Light" |
| 61 | > |
Tadashi G. Takaoka | 0f33e61 | 2014-08-22 18:36:09 +0900 | [diff] [blame] | 62 | <item name="moreKeysKeyboardForActionLayout">@layout/more_keys_keyboard_for_action_lxx</item> |
Tadashi G. Takaoka | f9f4095 | 2014-05-19 11:34:11 +0900 | [diff] [blame] | 63 | <item name="keyPreviewBackground">@drawable/keyboard_key_feedback_lxx_light</item> |
Tadashi G. Takaoka | 5b9a1e5 | 2014-09-08 14:12:48 +0900 | [diff] [blame] | 64 | <item name="keyPreviewHeight">@dimen/config_key_preview_height_lxx</item> |
| 65 | <item name="keyPreviewOffset">@dimen/config_key_preview_offset_lxx</item> |
Tadashi G. Takaoka | ac88f3d | 2014-09-01 18:26:34 +0900 | [diff] [blame] | 66 | <item name="keyPreviewShowUpAnimator">@anim/key_preview_show_up_lxx</item> |
| 67 | <item name="keyPreviewDismissAnimator">@anim/key_preview_dismiss_lxx</item> |
Tadashi G. Takaoka | 7f58115 | 2014-07-16 14:20:16 -0700 | [diff] [blame] | 68 | <item name="gestureFloatingPreviewTextColor">@color/auto_correct_color_lxx_light</item> |
Tadashi G. Takaoka | f9f4095 | 2014-05-19 11:34:11 +0900 | [diff] [blame] | 69 | <item name="gestureFloatingPreviewColor">@color/gesture_floating_preview_color_lxx_light</item> |
Tadashi G. Takaoka | 7f58115 | 2014-07-16 14:20:16 -0700 | [diff] [blame] | 70 | <item name="gestureTrailColor">@color/gesture_trail_color_lxx_light</item> |
| 71 | <item name="slidingKeyInputPreviewColor">@color/sliding_key_input_preview_color_lxx_light</item> |
| 72 | <item name="languageOnSpacebarTextColor">@color/language_on_spacebar_text_color_lxx_light</item> |
Tadashi G. Takaoka | f9f4095 | 2014-05-19 11:34:11 +0900 | [diff] [blame] | 73 | <!-- A negative value to disable text shadow layer. --> |
| 74 | <item name="languageOnSpacebarTextShadowRadius">-1.0</item> |
| 75 | </style> |
Tadashi G. Takaoka | d3a4c51 | 2014-10-22 14:04:07 +0900 | [diff] [blame] | 76 | <!-- Though {@link com.android.inputmethod.keyboard.emoji.EmojiPalettesView} doesn't extend |
| 77 | {@link com.android.inputmethod.keyboard.KeyboardView}, some views inside it, for instance |
| 78 | delete button, need themed {@link com.android.inputmethod.keyboard.KeyboardView} |
| 79 | attributes. --> |
Tadashi G. Takaoka | f9f4095 | 2014-05-19 11:34:11 +0900 | [diff] [blame] | 80 | <style |
| 81 | name="EmojiPalettesView.LXX_Light" |
| 82 | parent="MainKeyboardView.LXX_Light" |
| 83 | > |
| 84 | <item name="categoryIndicatorEnabled">false</item> |
| 85 | <item name="categoryPageIndicatorColor">@color/highlight_color_lxx_light</item> |
| 86 | <item name="categoryPageIndicatorBackground">@color/emoji_tab_page_indicator_background_lxx_light</item> |
Tadashi G. Takaoka | 4607e76 | 2014-07-10 22:04:32 +0900 | [diff] [blame] | 87 | <item name="iconEmojiRecentsTab">@drawable/ic_emoji_recents_lxx_light</item> |
| 88 | <item name="iconEmojiCategory1Tab">@drawable/ic_emoji_people_lxx_light</item> |
| 89 | <item name="iconEmojiCategory2Tab">@drawable/ic_emoji_objects_lxx_light</item> |
| 90 | <item name="iconEmojiCategory3Tab">@drawable/ic_emoji_nature_lxx_light</item> |
| 91 | <item name="iconEmojiCategory4Tab">@drawable/ic_emoji_places_lxx_light</item> |
| 92 | <item name="iconEmojiCategory5Tab">@drawable/ic_emoji_symbols_lxx_light</item> |
| 93 | <item name="iconEmojiCategory6Tab">@drawable/ic_emoji_emoticons_lxx_light</item> |
Chieu Nguyen | 7674a65 | 2015-11-11 11:03:02 -0800 | [diff] [blame] | 94 | <item name="iconEmojiCategory7Tab">@drawable/ic_emoji_flag_lxx_light</item> |
| 95 | <item name="iconEmojiCategory8Tab">@drawable/ic_emoji_people_lxx_light</item> |
| 96 | <item name="iconEmojiCategory9Tab">@drawable/ic_emoji_nature_lxx_light</item> |
| 97 | <item name="iconEmojiCategory10Tab">@drawable/ic_emoji_food_lxx_light</item> |
| 98 | <item name="iconEmojiCategory11Tab">@drawable/ic_emoji_places_lxx_light</item> |
| 99 | <item name="iconEmojiCategory12Tab">@drawable/ic_emoji_activity_lxx_light</item> |
| 100 | <item name="iconEmojiCategory13Tab">@drawable/ic_emoji_objects_lxx_light</item> |
| 101 | <item name="iconEmojiCategory14Tab">@drawable/ic_emoji_symbols_lxx_light</item> |
| 102 | <item name="iconEmojiCategory15Tab">@drawable/ic_emoji_flag_lxx_light</item> |
| 103 | <item name="iconEmojiCategory16Tab">@drawable/ic_emoji_people_lxx_light</item> |
Tadashi G. Takaoka | f9f4095 | 2014-05-19 11:34:11 +0900 | [diff] [blame] | 104 | </style> |
| 105 | <style |
| 106 | name="MoreKeysKeyboard.LXX_Light" |
| 107 | parent="Keyboard.LXX_Light" |
| 108 | > |
| 109 | <item name="keyboardTopPadding">0%p</item> |
| 110 | <item name="keyboardBottomPadding">0%p</item> |
| 111 | <item name="horizontalGap">0%p</item> |
| 112 | <item name="touchPositionCorrectionData">@null</item> |
| 113 | </style> |
| 114 | <style |
| 115 | name="MoreKeysKeyboardView.LXX_Light" |
| 116 | parent="KeyboardView.LXX_Light" |
| 117 | > |
| 118 | <item name="android:background">@drawable/keyboard_popup_panel_background_lxx_light</item> |
Tadashi G. Takaoka | f4383ed | 2014-09-02 10:59:23 +0900 | [diff] [blame] | 119 | <item name="keyBackground">@drawable/btn_keyboard_key_popup_lxx_light</item> |
Tadashi G. Takaoka | 727e818 | 2014-09-05 13:07:50 +0900 | [diff] [blame] | 120 | <item name="divider">@drawable/more_keys_divider</item> |
Tadashi G. Takaoka | f9f4095 | 2014-05-19 11:34:11 +0900 | [diff] [blame] | 121 | <item name="keyTypeface">normal</item> |
| 122 | <item name="verticalCorrection">@dimen/config_more_keys_keyboard_vertical_correction_holo</item> |
| 123 | </style> |
| 124 | <style |
Tadashi G. Takaoka | 0f33e61 | 2014-08-22 18:36:09 +0900 | [diff] [blame] | 125 | name="MoreKeysKeyboardView.LXX_Light.Action" |
| 126 | parent="MoreKeysKeyboardView.LXX_Light" |
| 127 | > |
| 128 | <item name="android:background">@android:color/transparent</item> |
| 129 | <item name="keyBackground">@drawable/btn_keyboard_key_popup_action_lxx_light</item> |
| 130 | <item name="divider">@null</item> |
Tadashi G. Takaoka | 486c489 | 2014-09-09 13:05:31 +0900 | [diff] [blame] | 131 | <item name="keyLabelFlags">keepBackgroundAspectRatio</item> |
Tadashi G. Takaoka | 0f33e61 | 2014-08-22 18:36:09 +0900 | [diff] [blame] | 132 | </style> |
| 133 | <style |
Tadashi G. Takaoka | f9f4095 | 2014-05-19 11:34:11 +0900 | [diff] [blame] | 134 | name="SuggestionStripView.LXX_Light" |
| 135 | parent="KeyboardView.LXX_Light" |
| 136 | > |
| 137 | <item name="suggestionsCountInStrip">@integer/config_suggestions_count_in_strip</item> |
| 138 | <item name="centerSuggestionPercentile">@fraction/config_center_suggestion_percentile</item> |
| 139 | <item name="maxMoreSuggestionsRow">@integer/config_max_more_suggestions_row</item> |
| 140 | <item name="minMoreSuggestionsWidth">@fraction/config_min_more_suggestions_width</item> |
Tadashi G. Takaoka | e14c680 | 2014-07-29 10:53:47 +0900 | [diff] [blame] | 141 | <item name="android:background">@drawable/keyboard_suggest_strip_lxx_light</item> |
Tadashi G. Takaoka | f9f4095 | 2014-05-19 11:34:11 +0900 | [diff] [blame] | 142 | <item name="android:src">@drawable/suggestions_strip_divider_lxx_light</item> |
| 143 | <item name="suggestionStripOptions">autoCorrectBold|validTypedWordBold</item> |
| 144 | <item name="colorValidTypedWord">@color/typed_word_color_lxx_light</item> |
| 145 | <item name="colorTypedWord">@color/typed_word_color_lxx_light</item> |
Tadashi G. Takaoka | 7f58115 | 2014-07-16 14:20:16 -0700 | [diff] [blame] | 146 | <item name="colorAutoCorrect">@color/auto_correct_color_lxx_light</item> |
Tadashi G. Takaoka | f9f4095 | 2014-05-19 11:34:11 +0900 | [diff] [blame] | 147 | <item name="colorSuggested">@color/suggested_word_color_lxx_light</item> |
| 148 | <item name="alphaObsoleted">70%</item> |
| 149 | </style> |
| 150 | <style |
| 151 | name="SuggestionWord.LXX_Light" |
| 152 | parent="SuggestionWord" |
| 153 | > |
| 154 | <item name="android:background">@drawable/btn_suggestion_lxx_light</item> |
| 155 | <item name="android:textColor">@color/highlight_color_lxx_light</item> |
| 156 | </style> |
| 157 | </resources> |