themes-lxx-light.xml revision 4607e763a47e6354cde5d072bc5bda2e3c361380
1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3/* 4** 5** Copyright 2014, 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.LXX_Light" parent="KeyboardIcons.LXX_Light"> 23 <item name="keyboardStyle">@style/Keyboard.LXX_Light</item> 24 <item name="keyboardViewStyle">@style/KeyboardView.LXX_Light</item> 25 <item name="mainKeyboardViewStyle">@style/MainKeyboardView.LXX_Light</item> 26 <item name="emojiPalettesViewStyle">@style/EmojiPalettesView.LXX_Light</item> 27 <item name="moreKeysKeyboardStyle">@style/MoreKeysKeyboard.LXX_Light</item> 28 <item name="moreKeysKeyboardViewStyle">@style/MoreKeysKeyboardView.LXX_Light</item> 29 <item name="suggestionStripViewStyle">@style/SuggestionStripView.LXX_Light</item> 30 <item name="suggestionWordStyle">@style/SuggestionWord.LXX_Light</item> 31 </style> 32 <style 33 name="Keyboard.LXX_Light" 34 parent="Keyboard" 35 > 36 <!-- This should be aligned with KeyboardSwitcher.KEYBOARD_THEMES[] --> 37 <item name="themeId">3</item> 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> 42 <item name="touchPositionCorrectionData">@array/touch_position_correction_data_holo</item> 43 </style> 44 <style 45 name="KeyboardView.LXX_Light" 46 parent="KeyboardView" 47 > 48 <item name="android:background">@color/keyboard_background_lxx_light</item> 49 <item name="keyBackground">@drawable/btn_keyboard_key_lxx_light</item> 50 <item name="functionalKeyBackground">@drawable/btn_keyboard_key_functional_lxx_light</item> 51 <item name="spacebarBackground">@drawable/btn_keyboard_spacebar_lxx_light</item> 52 <item name="spacebarIconWidthRatio">0.9</item> 53 <item name="keyTypeface">normal</item> 54 <item name="keyTextColor">@color/key_text_color_lxx_light</item> 55 <item name="keyTextInactivatedColor">@color/key_text_inactive_color_lxx_light</item> 56 <item name="functionalTextColor">@color/key_hint_letter_color_lxx_light</item> 57 <item name="keyHintLetterColor">@color/key_hint_letter_color_lxx_light</item> 58 <item name="keyHintLabelColor">@color/key_text_inactive_color_lxx_light</item> 59 <item name="keyShiftedLetterHintInactivatedColor">@color/key_text_inactive_color_lxx_light</item> 60 <item name="keyShiftedLetterHintActivatedColor">@color/key_text_color_lxx_light</item> 61 <item name="keyPreviewTextColor">@color/key_text_color_lxx_light</item> 62 <!-- A negative value to disable key text shadow layer. --> 63 <item name="keyTextShadowRadius">-1.0</item> 64 </style> 65 <style 66 name="MainKeyboardView.LXX_Light" 67 parent="KeyboardView.LXX_Light" 68 > 69 <item name="keyPreviewBackground">@drawable/keyboard_key_feedback_lxx_light</item> 70 <item name="keyPreviewOffset">@dimen/config_key_preview_offset_holo</item> 71 <item name="gestureFloatingPreviewTextColor">@color/highlight_color_lxx_light</item> 72 <item name="gestureFloatingPreviewColor">@color/gesture_floating_preview_color_lxx_light</item> 73 <item name="gestureTrailColor">@color/highlight_color_lxx_light</item> 74 <item name="slidingKeyInputPreviewColor">@color/highlight_translucent_color_lxx_light</item> 75 <item name="languageOnSpacebarTextColor">@color/key_text_inactive_color_lxx_light</item> 76 <!-- A negative value to disable text shadow layer. --> 77 <item name="languageOnSpacebarTextShadowRadius">-1.0</item> 78 </style> 79 <!-- Though {@link EmojiPalettesView} doesn't extend {@link KeyboardView}, some views inside it, 80 for instance delete button, need themed {@link KeyboardView} attributes. --> 81 <style 82 name="EmojiPalettesView.LXX_Light" 83 parent="MainKeyboardView.LXX_Light" 84 > 85 <item name="categoryIndicatorEnabled">false</item> 86 <item name="categoryPageIndicatorColor">@color/highlight_color_lxx_light</item> 87 <item name="categoryPageIndicatorBackground">@color/emoji_tab_page_indicator_background_lxx_light</item> 88 <item name="iconEmojiRecentsTab">@drawable/ic_emoji_recents_lxx_light</item> 89 <item name="iconEmojiCategory1Tab">@drawable/ic_emoji_people_lxx_light</item> 90 <item name="iconEmojiCategory2Tab">@drawable/ic_emoji_objects_lxx_light</item> 91 <item name="iconEmojiCategory3Tab">@drawable/ic_emoji_nature_lxx_light</item> 92 <item name="iconEmojiCategory4Tab">@drawable/ic_emoji_places_lxx_light</item> 93 <item name="iconEmojiCategory5Tab">@drawable/ic_emoji_symbols_lxx_light</item> 94 <item name="iconEmojiCategory6Tab">@drawable/ic_emoji_emoticons_lxx_light</item> 95 </style> 96 <style 97 name="MoreKeysKeyboard.LXX_Light" 98 parent="Keyboard.LXX_Light" 99 > 100 <item name="keyboardTopPadding">0%p</item> 101 <item name="keyboardBottomPadding">0%p</item> 102 <item name="horizontalGap">0%p</item> 103 <item name="touchPositionCorrectionData">@null</item> 104 </style> 105 <style 106 name="MoreKeysKeyboardView.LXX_Light" 107 parent="KeyboardView.LXX_Light" 108 > 109 <item name="android:background">@drawable/keyboard_popup_panel_background_lxx_light</item> 110 <!-- Reuse KLP key background --> 111 <item name="keyBackground">@drawable/btn_keyboard_key_popup_klp</item> 112 <item name="keyTypeface">normal</item> 113 <item name="verticalCorrection">@dimen/config_more_keys_keyboard_vertical_correction_holo</item> 114 </style> 115 <style 116 name="SuggestionStripView.LXX_Light" 117 parent="KeyboardView.LXX_Light" 118 > 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> 123 <item name="android:background">@color/suggestions_strip_background_lxx_light</item> 124 <item name="android:src">@drawable/suggestions_strip_divider_lxx_light</item> 125 <item name="suggestionStripOptions">autoCorrectBold|validTypedWordBold</item> 126 <item name="colorValidTypedWord">@color/typed_word_color_lxx_light</item> 127 <item name="colorTypedWord">@color/typed_word_color_lxx_light</item> 128 <item name="colorAutoCorrect">@color/highlight_color_lxx_light</item> 129 <item name="colorSuggested">@color/suggested_word_color_lxx_light</item> 130 <item name="alphaObsoleted">70%</item> 131 </style> 132 <style 133 name="SuggestionWord.LXX_Light" 134 parent="SuggestionWord" 135 > 136 <item name="android:background">@drawable/btn_suggestion_lxx_light</item> 137 <item name="android:textColor">@color/highlight_color_lxx_light</item> 138 </style> 139</resources> 140