Tadashi G. Takaoka | c2a2178 | 2011-06-21 23:38:42 +0900 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
Tadashi G. Takaoka | e94bbca | 2013-08-27 17:04:06 +0900 | [diff] [blame] | 2 | <!-- |
| 3 | /* |
| 4 | ** |
| 5 | ** Copyright 2011, 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 | */ |
Tadashi G. Takaoka | c2a2178 | 2011-06-21 23:38:42 +0900 | [diff] [blame] | 19 | --> |
| 20 | |
Tadashi G. Takaoka | 0861d67 | 2013-08-28 15:59:49 +0900 | [diff] [blame] | 21 | <resources xmlns:android="http://schemas.android.com/apk/res/android"> |
Tadashi G. Takaoka | 4b37b2b | 2013-11-11 18:49:28 +0900 | [diff] [blame^] | 22 | <style name="KeyboardTheme.ICS" parent="KeyboardIcons.Holo"> |
Tadashi G. Takaoka | adaaf9f | 2013-08-27 13:01:20 +0900 | [diff] [blame] | 23 | <item name="keyboardStyle">@style/Keyboard.ICS</item> |
| 24 | <item name="keyboardViewStyle">@style/KeyboardView.ICS</item> |
| 25 | <item name="mainKeyboardViewStyle">@style/MainKeyboardView.ICS</item> |
Satoshi Kataoka | d76b552 | 2013-10-07 11:28:57 +0900 | [diff] [blame] | 26 | <item name="emojiPalettesViewStyle">@style/EmojiPalettesView.ICS</item> |
Tadashi G. Takaoka | adaaf9f | 2013-08-27 13:01:20 +0900 | [diff] [blame] | 27 | <item name="moreKeysKeyboardStyle">@style/MoreKeysKeyboard.ICS</item> |
| 28 | <item name="moreKeysKeyboardViewStyle">@style/MoreKeysKeyboardView.ICS</item> |
Tadashi G. Takaoka | 0861d67 | 2013-08-28 15:59:49 +0900 | [diff] [blame] | 29 | <item name="moreKeysKeyboardContainerStyle">@style/MoreKeysKeyboardContainer.ICS</item> |
Tadashi G. Takaoka | 26d3644 | 2013-08-27 17:29:34 +0900 | [diff] [blame] | 30 | <item name="suggestionStripViewStyle">@style/SuggestionStripView.ICS</item> |
Tadashi G. Takaoka | 0861d67 | 2013-08-28 15:59:49 +0900 | [diff] [blame] | 31 | <item name="suggestionWordStyle">@style/SuggestionWord.ICS</item> |
Tadashi G. Takaoka | c2a2178 | 2011-06-21 23:38:42 +0900 | [diff] [blame] | 32 | </style> |
Tadashi G. Takaoka | e94bbca | 2013-08-27 17:04:06 +0900 | [diff] [blame] | 33 | <style |
| 34 | name="Keyboard.ICS" |
| 35 | parent="Keyboard" |
| 36 | > |
| 37 | <!-- This should be aligned with KeyboardSwitcher.KEYBOARD_THEMES[] --> |
| 38 | <item name="themeId">0</item> |
Tadashi G. Takaoka | 4b37b2b | 2013-11-11 18:49:28 +0900 | [diff] [blame^] | 39 | <item name="keyboardTopPadding">@fraction/keyboard_top_padding_holo</item> |
| 40 | <item name="keyboardBottomPadding">@fraction/keyboard_bottom_padding_holo</item> |
| 41 | <item name="horizontalGap">@fraction/key_horizontal_gap_holo</item> |
| 42 | <item name="verticalGap">@fraction/key_bottom_gap_holo</item> |
| 43 | <item name="touchPositionCorrectionData">@array/touch_position_correction_data_holo</item> |
Tadashi G. Takaoka | e94bbca | 2013-08-27 17:04:06 +0900 | [diff] [blame] | 44 | </style> |
| 45 | <style |
| 46 | name="KeyboardView.ICS" |
| 47 | parent="KeyboardView" |
| 48 | > |
Satoshi Kataoka | baa3121 | 2013-09-19 22:26:36 +0900 | [diff] [blame] | 49 | <item name="android:background">@drawable/keyboard_background_holo</item> |
Tadashi G. Takaoka | e94bbca | 2013-08-27 17:04:06 +0900 | [diff] [blame] | 50 | <item name="keyBackground">@drawable/btn_keyboard_key_ics</item> |
| 51 | <item name="keyTypeface">bold</item> |
Tadashi G. Takaoka | 4b37b2b | 2013-11-11 18:49:28 +0900 | [diff] [blame^] | 52 | <item name="keyTextColor">@color/key_text_color_holo</item> |
| 53 | <item name="keyTextInactivatedColor">@color/key_text_inactivated_color_holo</item> |
| 54 | <item name="keyHintLetterColor">@color/key_hint_letter_color_holo</item> |
| 55 | <item name="keyHintLabelColor">@color/key_hint_label_color_holo</item> |
| 56 | <item name="keyShiftedLetterHintInactivatedColor">@color/key_shifted_letter_hint_inactivated_color_holo</item> |
| 57 | <item name="keyShiftedLetterHintActivatedColor">@color/key_shifted_letter_hint_activated_color_holo</item> |
| 58 | <item name="keyPreviewTextColor">@color/key_text_color_holo</item> |
| 59 | <item name="keyTextShadowColor">@color/key_text_shadow_color_holo</item> |
Tadashi G. Takaoka | e94bbca | 2013-08-27 17:04:06 +0900 | [diff] [blame] | 60 | <item name="keyTextShadowRadius">0.0</item> |
| 61 | </style> |
| 62 | <style |
| 63 | name="MainKeyboardView.ICS" |
| 64 | parent="KeyboardView.ICS" |
| 65 | > |
| 66 | <item name="keyPreviewLayout">@layout/key_preview_ics</item> |
Tadashi G. Takaoka | 4b37b2b | 2013-11-11 18:49:28 +0900 | [diff] [blame^] | 67 | <item name="keyPreviewOffset">@dimen/key_preview_offset_holo</item> |
Satoshi Kataoka | d764a0a | 2013-09-20 16:43:08 +0900 | [diff] [blame] | 68 | <item name="gestureFloatingPreviewTextColor">@color/highlight_color_holo</item> |
Tadashi G. Takaoka | 4b37b2b | 2013-11-11 18:49:28 +0900 | [diff] [blame^] | 69 | <item name="gestureFloatingPreviewColor">@color/gesture_floating_preview_color_holo</item> |
Satoshi Kataoka | d764a0a | 2013-09-20 16:43:08 +0900 | [diff] [blame] | 70 | <item name="gestureTrailColor">@color/highlight_color_holo</item> |
| 71 | <item name="slidingKeyInputPreviewColor">@color/highlight_translucent_color_holo</item> |
Tadashi G. Takaoka | e94bbca | 2013-08-27 17:04:06 +0900 | [diff] [blame] | 72 | <item name="autoCorrectionSpacebarLedEnabled">false</item> |
| 73 | <item name="autoCorrectionSpacebarLedIcon">@drawable/sym_keyboard_space_led_holo</item> |
Tadashi G. Takaoka | 4b37b2b | 2013-11-11 18:49:28 +0900 | [diff] [blame^] | 74 | <item name="spacebarTextColor">@color/spacebar_text_color_holo</item> |
| 75 | <item name="spacebarTextShadowColor">@color/spacebar_text_shadow_color_holo</item> |
Tadashi G. Takaoka | e94bbca | 2013-08-27 17:04:06 +0900 | [diff] [blame] | 76 | </style> |
Satoshi Kataoka | d76b552 | 2013-10-07 11:28:57 +0900 | [diff] [blame] | 77 | <!-- Though {@link EmojiPalettesView} doesn't extend {@link KeyboardView}, some views inside it, |
Satoshi Kataoka | 5169937 | 2013-08-30 10:28:01 +0000 | [diff] [blame] | 78 | for instance delete button, need themed {@link KeyboardView} attributes. --> |
Tadashi G. Takaoka | e94bbca | 2013-08-27 17:04:06 +0900 | [diff] [blame] | 79 | <style |
Satoshi Kataoka | d76b552 | 2013-10-07 11:28:57 +0900 | [diff] [blame] | 80 | name="EmojiPalettesView.ICS" |
Tadashi G. Takaoka | d189d2a | 2013-08-26 17:30:23 +0900 | [diff] [blame] | 81 | parent="KeyboardView.ICS" |
| 82 | > |
Satoshi Kataoka | 2d3d415 | 2013-09-10 17:55:44 +0900 | [diff] [blame] | 83 | <item name="keyBackgroundEmojiFunctional">@drawable/btn_keyboard_key_functional_ics</item> |
Tadashi G. Takaoka | 4b37b2b | 2013-11-11 18:49:28 +0900 | [diff] [blame^] | 84 | <item name="emojiTabLabelColor">@color/emoji_tab_label_color_holo</item> |
Tadashi G. Takaoka | d189d2a | 2013-08-26 17:30:23 +0900 | [diff] [blame] | 85 | </style> |
| 86 | <style |
Tadashi G. Takaoka | e94bbca | 2013-08-27 17:04:06 +0900 | [diff] [blame] | 87 | name="MoreKeysKeyboard.ICS" |
| 88 | parent="Keyboard.ICS" |
| 89 | > |
| 90 | <item name="keyboardTopPadding">0%p</item> |
| 91 | <item name="keyboardBottomPadding">0%p</item> |
| 92 | <item name="horizontalGap">0%p</item> |
| 93 | <item name="touchPositionCorrectionData">@null</item> |
| 94 | </style> |
| 95 | <style |
| 96 | name="MoreKeysKeyboardView.ICS" |
| 97 | parent="KeyboardView.ICS" |
| 98 | > |
| 99 | <item name="android:background">@null</item> |
| 100 | <item name="keyBackground">@drawable/btn_keyboard_key_popup_ics</item> |
| 101 | <item name="keyTypeface">normal</item> |
Tadashi G. Takaoka | 4b37b2b | 2013-11-11 18:49:28 +0900 | [diff] [blame^] | 102 | <item name="verticalCorrection">@dimen/more_keys_keyboard_vertical_correction_holo</item> |
Tadashi G. Takaoka | e94bbca | 2013-08-27 17:04:06 +0900 | [diff] [blame] | 103 | </style> |
| 104 | <style |
Tadashi G. Takaoka | 0861d67 | 2013-08-28 15:59:49 +0900 | [diff] [blame] | 105 | name="MoreKeysKeyboardContainer.ICS" |
| 106 | > |
| 107 | <item name="android:background">@drawable/keyboard_popup_panel_background_holo</item> |
| 108 | </style> |
| 109 | <style |
Tadashi G. Takaoka | 26d3644 | 2013-08-27 17:29:34 +0900 | [diff] [blame] | 110 | name="SuggestionStripView.ICS" |
| 111 | parent="SuggestionStripView" |
Tadashi G. Takaoka | e94bbca | 2013-08-27 17:04:06 +0900 | [diff] [blame] | 112 | > |
Tadashi G. Takaoka | 0861d67 | 2013-08-28 15:59:49 +0900 | [diff] [blame] | 113 | <item name="android:background">@drawable/keyboard_suggest_strip_holo</item> |
Tadashi G. Takaoka | e94bbca | 2013-08-27 17:04:06 +0900 | [diff] [blame] | 114 | <item name="suggestionStripOption">autoCorrectBold|validTypedWordBold</item> |
Satoshi Kataoka | d764a0a | 2013-09-20 16:43:08 +0900 | [diff] [blame] | 115 | <item name="colorValidTypedWord">@color/typed_word_color_holo</item> |
| 116 | <item name="colorTypedWord">@color/typed_word_color_holo</item> |
| 117 | <item name="colorAutoCorrect">@color/highlight_color_holo</item> |
| 118 | <item name="colorSuggested">@color/suggested_word_color_holo</item> |
Tadashi G. Takaoka | e94bbca | 2013-08-27 17:04:06 +0900 | [diff] [blame] | 119 | <item name="alphaObsoleted">70%</item> |
| 120 | </style> |
Tadashi G. Takaoka | 0861d67 | 2013-08-28 15:59:49 +0900 | [diff] [blame] | 121 | <style name="SuggestionWord.ICS"> |
| 122 | <item name="android:background">@drawable/btn_suggestion_ics</item> |
Tadashi G. Takaoka | e94bbca | 2013-08-27 17:04:06 +0900 | [diff] [blame] | 123 | </style> |
Tadashi G. Takaoka | c2a2178 | 2011-06-21 23:38:42 +0900 | [diff] [blame] | 124 | </resources> |