blob: 051489e11f298e97cb3411d5b378fc593ff5579d [file] [log] [blame]
Tadashi G. Takaoka51352002013-11-11 19:28:40 +09001<?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. Takaoka51352002013-11-11 19:28:40 +090029 <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>
Tadashi G. Takaoka51352002013-11-11 19:28:40 +090038 </style>
39 <style
40 name="KeyboardView.ICS"
Tadashi G. Takaoka6dcdfcc2014-08-07 16:16:31 +090041 parent="KeyboardView.Holo"
Tadashi G. Takaoka51352002013-11-11 19:28:40 +090042 >
43 <item name="android:background">@drawable/keyboard_background_holo</item>
44 <item name="keyBackground">@drawable/btn_keyboard_key_ics</item>
Tadashi G. Takaokac1e61002014-05-14 15:30:37 +090045 <item name="functionalKeyBackground">@drawable/btn_keyboard_key_functional_ics</item>
46 <item name="spacebarBackground">@drawable/btn_keyboard_spacebar_ics</item>
Tadashi G. Takaoka51352002013-11-11 19:28:40 +090047 <item name="keyTextColor">@color/key_text_color_holo</item>
48 <item name="keyTextInactivatedColor">@color/key_text_inactivated_color_holo</item>
Tadashi G. Takaoka37ec0fe2014-05-15 15:39:01 +090049 <item name="functionalTextColor">@color/key_text_color_holo</item>
Tadashi G. Takaoka51352002013-11-11 19:28:40 +090050 <item name="keyHintLetterColor">@color/key_hint_letter_color_holo</item>
51 <item name="keyHintLabelColor">@color/key_hint_label_color_holo</item>
52 <item name="keyShiftedLetterHintInactivatedColor">@color/key_shifted_letter_hint_inactivated_color_holo</item>
53 <item name="keyShiftedLetterHintActivatedColor">@color/key_shifted_letter_hint_activated_color_holo</item>
54 <item name="keyPreviewTextColor">@color/key_text_color_holo</item>
Tadashi G. Takaoka51352002013-11-11 19:28:40 +090055 </style>
56 <style
57 name="MainKeyboardView.ICS"
58 parent="KeyboardView.ICS"
59 >
Tadashi G. Takaoka615f4312014-06-17 17:42:36 -070060 <item name="keyPreviewBackground">@drawable/keyboard_key_feedback_ics</item>
Ken Wakasa2fa36932013-12-13 17:09:16 +090061 <item name="keyPreviewOffset">@dimen/config_key_preview_offset_holo</item>
Tadashi G. Takaokaac88f3d2014-09-01 18:26:34 +090062 <item name="keyPreviewShowUpAnimator">@anim/key_preview_show_up_holo</item>
63 <item name="keyPreviewDismissAnimator">@anim/key_preview_dismiss_holo</item>
Tadashi G. Takaoka51352002013-11-11 19:28:40 +090064 <item name="gestureFloatingPreviewTextColor">@color/highlight_color_ics</item>
65 <item name="gestureFloatingPreviewColor">@color/gesture_floating_preview_color_holo</item>
66 <item name="gestureTrailColor">@color/highlight_color_ics</item>
67 <item name="slidingKeyInputPreviewColor">@color/highlight_translucent_color_ics</item>
Ken Wakasa2fa36932013-12-13 17:09:16 +090068 <item name="languageOnSpacebarTextColor">@color/spacebar_text_color_holo</item>
Tadashi G. Takaoka41f9f1e2014-05-13 11:19:43 +090069 <item name="languageOnSpacebarTextShadowRadius">1.0</item>
Ken Wakasa2fa36932013-12-13 17:09:16 +090070 <item name="languageOnSpacebarTextShadowColor">@color/spacebar_text_shadow_color_holo</item>
Ken Wakasa2fa36932013-12-13 17:09:16 +090071 </style>
Tadashi G. Takaoka51352002013-11-11 19:28:40 +090072 <!-- Though {@link EmojiPalettesView} doesn't extend {@link KeyboardView}, some views inside it,
73 for instance delete button, need themed {@link KeyboardView} attributes. -->
74 <style
75 name="EmojiPalettesView.ICS"
Tadashi G. Takaokac1e61002014-05-14 15:30:37 +090076 parent="MainKeyboardView.ICS"
Tadashi G. Takaoka51352002013-11-11 19:28:40 +090077 >
Tadashi G. Takaoka2782f972014-05-23 16:04:39 +090078 <item name="categoryIndicatorEnabled">true</item>
79 <item name="categoryIndicatorDrawable">@drawable/emoji_category_tab_selected_ics</item>
80 <item name="categoryIndicatorBackground">@drawable/emoji_category_tab_unselected_holo_dark</item>
81 <item name="categoryPageIndicatorColor">@color/highlight_color_ics</item>
82 <item name="categoryPageIndicatorBackground">@color/emoji_tab_page_indicator_background_holo</item>
Tadashi G. Takaoka27ca9f12014-05-16 10:32:04 +090083 <item name="iconEmojiRecentsTab">@drawable/ic_emoji_recents_holo_dark</item>
84 <item name="iconEmojiCategory1Tab">@drawable/ic_emoji_people_holo_dark</item>
85 <item name="iconEmojiCategory2Tab">@drawable/ic_emoji_objects_holo_dark</item>
86 <item name="iconEmojiCategory3Tab">@drawable/ic_emoji_nature_holo_dark</item>
87 <item name="iconEmojiCategory4Tab">@drawable/ic_emoji_places_holo_dark</item>
88 <item name="iconEmojiCategory5Tab">@drawable/ic_emoji_symbols_holo_dark</item>
89 <item name="iconEmojiCategory6Tab">@drawable/ic_emoji_emoticons_holo_dark</item>
Tadashi G. Takaoka51352002013-11-11 19:28:40 +090090 </style>
91 <style
92 name="MoreKeysKeyboard.ICS"
93 parent="Keyboard.ICS"
94 >
95 <item name="keyboardTopPadding">0%p</item>
96 <item name="keyboardBottomPadding">0%p</item>
97 <item name="horizontalGap">0%p</item>
98 <item name="touchPositionCorrectionData">@null</item>
99 </style>
100 <style
101 name="MoreKeysKeyboardView.ICS"
102 parent="KeyboardView.ICS"
103 >
Ken Wakasa2fa36932013-12-13 17:09:16 +0900104 <item name="android:background">@drawable/keyboard_popup_panel_background_ics</item>
Tadashi G. Takaoka51352002013-11-11 19:28:40 +0900105 <item name="keyBackground">@drawable/btn_keyboard_key_popup_ics</item>
106 <item name="keyTypeface">normal</item>
Ken Wakasa2fa36932013-12-13 17:09:16 +0900107 <item name="verticalCorrection">@dimen/config_more_keys_keyboard_vertical_correction_holo</item>
Tadashi G. Takaoka51352002013-11-11 19:28:40 +0900108 </style>
109 <style
110 name="SuggestionStripView.ICS"
Tadashi G. Takaoka9d99a2e2014-05-02 17:03:12 +0900111 parent="KeyboardView.ICS"
Tadashi G. Takaoka51352002013-11-11 19:28:40 +0900112 >
Tadashi G. Takaoka9d99a2e2014-05-02 17:03:12 +0900113 <item name="suggestionsCountInStrip">@integer/config_suggestions_count_in_strip</item>
114 <item name="centerSuggestionPercentile">@fraction/config_center_suggestion_percentile</item>
115 <item name="maxMoreSuggestionsRow">@integer/config_max_more_suggestions_row</item>
116 <item name="minMoreSuggestionsWidth">@fraction/config_min_more_suggestions_width</item>
Tadashi G. Takaoka51352002013-11-11 19:28:40 +0900117 <item name="android:background">@drawable/keyboard_suggest_strip_holo</item>
Tadashi G. Takaoka46394af2014-07-04 15:29:10 +0900118 <item name="android:src">@drawable/suggestions_strip_divider_holo</item>
Jean Chalarda0984662014-02-25 14:52:18 +0900119 <item name="suggestionStripOptions">autoCorrectBold|validTypedWordBold</item>
Tadashi G. Takaoka51352002013-11-11 19:28:40 +0900120 <item name="colorValidTypedWord">@color/typed_word_color_ics</item>
121 <item name="colorTypedWord">@color/typed_word_color_ics</item>
122 <item name="colorAutoCorrect">@color/highlight_color_ics</item>
123 <item name="colorSuggested">@color/suggested_word_color_ics</item>
124 <item name="alphaObsoleted">70%</item>
125 </style>
Tadashi G. Takaokac2ea3f72014-01-28 19:22:27 +0900126 <style
127 name="SuggestionWord.ICS"
128 parent="SuggestionWord"
129 >
Tadashi G. Takaoka51352002013-11-11 19:28:40 +0900130 <item name="android:background">@drawable/btn_suggestion_ics</item>
Tadashi G. Takaokac2ea3f72014-01-28 19:22:27 +0900131 <item name="android:textColor">@color/highlight_color_ics</item>
Tadashi G. Takaoka51352002013-11-11 19:28:40 +0900132 </style>
133</resources>