themes-lxx-dark.xml revision ef231984edd6536e6fef84d9fb01f11d1eeaba5c
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_Dark" parent="KeyboardIcons.LXX_Dark">
23        <item name="keyboardStyle">@style/Keyboard.LXX_Dark</item>
24        <item name="keyboardViewStyle">@style/KeyboardView.LXX_Dark</item>
25        <item name="mainKeyboardViewStyle">@style/MainKeyboardView.LXX_Dark</item>
26        <item name="emojiPalettesViewStyle">@style/EmojiPalettesView.LXX_Dark</item>
27        <item name="moreKeysKeyboardStyle">@style/MoreKeysKeyboard.LXX_Dark</item>
28        <item name="moreKeysKeyboardViewStyle">@style/MoreKeysKeyboardView.LXX_Dark</item>
29        <item name="suggestionStripViewStyle">@style/SuggestionStripView.LXX_Dark</item>
30        <item name="suggestionWordStyle">@style/SuggestionWord.LXX_Dark</item>
31    </style>
32    <style
33        name="Keyboard.LXX_Dark"
34        parent="Keyboard"
35    >
36        <!-- This should be aligned with KeyboardSwitcher.KEYBOARD_THEMES[] -->
37        <item name="themeId">4</item>
38    </style>
39    <style
40        name="KeyboardView.LXX_Dark"
41        parent="KeyboardView.LXX"
42    >
43        <item name="android:background">@drawable/keyboard_background_lxx_dark</item>
44        <item name="keyBackground">@drawable/btn_keyboard_key_lxx_dark</item>
45        <item name="functionalKeyBackground">@drawable/btn_keyboard_key_functional_lxx_dark</item>
46        <item name="spacebarBackground">@drawable/btn_keyboard_spacebar_lxx_dark</item>
47        <item name="keyTextColor">@color/key_text_color_lxx_dark</item>
48        <item name="keyTextInactivatedColor">@color/key_functional_text_color_lxx_dark</item>
49        <item name="functionalTextColor">@color/key_text_color_lxx_dark</item>
50        <item name="keyHintLetterColor">@color/key_hint_letter_color_lxx_dark</item>
51        <item name="keyHintLabelColor">@color/key_text_inactive_color_lxx_dark</item>
52        <item name="keyShiftedLetterHintInactivatedColor">@color/key_text_inactive_color_lxx_dark</item>
53        <item name="keyShiftedLetterHintActivatedColor">@color/key_text_color_lxx_dark</item>
54        <item name="keyPreviewTextColor">@color/key_text_color_lxx_dark</item>
55    </style>
56    <style
57        name="MainKeyboardView.LXX_Dark"
58        parent="KeyboardView.LXX_Dark"
59    >
60        <item name="keyPreviewBackground">@drawable/keyboard_key_feedback_lxx_dark</item>
61        <item name="keyPreviewOffset">@dimen/config_key_preview_offset_holo</item>
62        <item name="gestureFloatingPreviewTextColor">@color/auto_correct_color_lxx_dark</item>
63        <item name="gestureFloatingPreviewColor">@color/gesture_floating_preview_color_lxx_dark</item>
64        <item name="gestureTrailColor">@color/gesture_trail_color_lxx_dark</item>
65        <item name="slidingKeyInputPreviewColor">@color/sliding_key_input_preview_color_lxx_dark</item>
66        <item name="languageOnSpacebarTextColor">@color/key_text_inactive_color_lxx_dark</item>
67        <!-- A negative value to disable text shadow layer. -->
68        <item name="languageOnSpacebarTextShadowRadius">-1.0</item>
69    </style>
70    <!-- Though {@link EmojiPalettesView} doesn't extend {@link KeyboardView}, some views inside it,
71         for instance delete button, need themed {@link KeyboardView} attributes. -->
72    <style
73        name="EmojiPalettesView.LXX_Dark"
74        parent="MainKeyboardView.LXX_Dark"
75    >
76        <item name="categoryIndicatorEnabled">false</item>
77        <item name="categoryPageIndicatorColor">@color/highlight_color_lxx_dark</item>
78        <item name="categoryPageIndicatorBackground">@color/emoji_tab_page_indicator_background_lxx_dark</item>
79        <item name="iconEmojiRecentsTab">@drawable/ic_emoji_recents_lxx_dark</item>
80        <item name="iconEmojiCategory1Tab">@drawable/ic_emoji_people_lxx_dark</item>
81        <item name="iconEmojiCategory2Tab">@drawable/ic_emoji_objects_lxx_dark</item>
82        <item name="iconEmojiCategory3Tab">@drawable/ic_emoji_nature_lxx_dark</item>
83        <item name="iconEmojiCategory4Tab">@drawable/ic_emoji_places_lxx_dark</item>
84        <item name="iconEmojiCategory5Tab">@drawable/ic_emoji_symbols_lxx_dark</item>
85        <item name="iconEmojiCategory6Tab">@drawable/ic_emoji_emoticons_lxx_dark</item>
86    </style>
87    <style
88        name="MoreKeysKeyboard.LXX_Dark"
89        parent="Keyboard.LXX_Dark"
90    >
91        <item name="keyboardTopPadding">0%p</item>
92        <item name="keyboardBottomPadding">0%p</item>
93        <item name="horizontalGap">0%p</item>
94        <item name="touchPositionCorrectionData">@null</item>
95    </style>
96    <style
97        name="MoreKeysKeyboardView.LXX_Dark"
98        parent="KeyboardView.LXX_Dark"
99    >
100        <item name="android:background">@drawable/keyboard_popup_panel_background_lxx_dark</item>
101        <item name="keyBackground">@drawable/btn_keyboard_key_popup_lxx_dark</item>
102        <item name="keyTypeface">normal</item>
103        <item name="verticalCorrection">@dimen/config_more_keys_keyboard_vertical_correction_holo</item>
104    </style>
105    <style
106        name="SuggestionStripView.LXX_Dark"
107        parent="KeyboardView.LXX_Dark"
108    >
109        <item name="suggestionsCountInStrip">@integer/config_suggestions_count_in_strip</item>
110        <item name="centerSuggestionPercentile">@fraction/config_center_suggestion_percentile</item>
111        <item name="maxMoreSuggestionsRow">@integer/config_max_more_suggestions_row</item>
112        <item name="minMoreSuggestionsWidth">@fraction/config_min_more_suggestions_width</item>
113        <item name="android:background">@drawable/keyboard_suggest_strip_lxx_dark</item>
114        <item name="android:src">@drawable/suggestions_strip_divider_lxx_dark</item>
115        <item name="suggestionStripOptions">autoCorrectBold|validTypedWordBold</item>
116        <item name="colorValidTypedWord">@color/typed_word_color_lxx_dark</item>
117        <item name="colorTypedWord">@color/typed_word_color_lxx_dark</item>
118        <item name="colorAutoCorrect">@color/auto_correct_color_lxx_dark</item>
119        <item name="colorSuggested">@color/suggested_word_color_lxx_dark</item>
120        <item name="alphaObsoleted">70%</item>
121    </style>
122    <style
123        name="SuggestionWord.LXX_Dark"
124        parent="SuggestionWord"
125    >
126        <item name="android:background">@drawable/btn_suggestion_lxx_dark</item>
127        <item name="android:textColor">@color/highlight_color_lxx_dark</item>
128    </style>
129</resources>
130