2011-06-21 14:38:42 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2013-08-27 08:04:06 +00:00
|
|
|
<!--
|
|
|
|
/*
|
|
|
|
**
|
|
|
|
** Copyright 2011, The Android Open Source Project
|
|
|
|
**
|
|
|
|
** Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
** you may not use this file except in compliance with the License.
|
|
|
|
** You may obtain a copy of the License at
|
|
|
|
**
|
|
|
|
** http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
**
|
|
|
|
** Unless required by applicable law or agreed to in writing, software
|
|
|
|
** distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
** See the License for the specific language governing permissions and
|
|
|
|
** limitations under the License.
|
|
|
|
*/
|
2011-06-21 14:38:42 +00:00
|
|
|
-->
|
|
|
|
|
|
|
|
<resources>
|
2013-08-27 06:15:44 +00:00
|
|
|
<style name="KeyboardTheme.GB" parent="KeyboardIcons.GB">
|
2013-08-27 04:01:20 +00:00
|
|
|
<item name="keyboardStyle">@style/Keyboard.GB</item>
|
|
|
|
<item name="keyboardViewStyle">@style/KeyboardView.GB</item>
|
|
|
|
<item name="mainKeyboardViewStyle">@style/MainKeyboardView.GB</item>
|
2013-11-21 07:06:57 +00:00
|
|
|
<item name="keyPreviewTextViewStyle">@style/KeyPreviewTextView.GB</item>
|
2013-10-07 02:28:57 +00:00
|
|
|
<item name="emojiPalettesViewStyle">@style/EmojiPalettesView.GB</item>
|
2013-08-27 04:01:20 +00:00
|
|
|
<item name="moreKeysKeyboardStyle">@style/MoreKeysKeyboard.GB</item>
|
|
|
|
<item name="moreKeysKeyboardViewStyle">@style/MoreKeysKeyboardView.GB</item>
|
2013-08-27 08:29:34 +00:00
|
|
|
<item name="suggestionStripViewStyle">@style/SuggestionStripView.GB</item>
|
2013-08-28 06:59:49 +00:00
|
|
|
<item name="suggestionWordStyle">@style/SuggestionWord.GB</item>
|
2011-06-21 14:38:42 +00:00
|
|
|
</style>
|
2013-08-27 08:04:06 +00:00
|
|
|
<style name="KeyboardIcons.GB">
|
|
|
|
<!-- Keyboard icons -->
|
2013-09-19 13:26:36 +00:00
|
|
|
<item name="iconShiftKey">@drawable/sym_keyboard_shift_holo_dark</item>
|
|
|
|
<item name="iconDeleteKey">@drawable/sym_keyboard_delete_holo_dark</item>
|
|
|
|
<item name="iconSettingsKey">@drawable/sym_keyboard_settings_holo_dark</item>
|
|
|
|
<item name="iconSpaceKey">@drawable/sym_keyboard_space_holo_dark</item>
|
|
|
|
<item name="iconEnterKey">@drawable/sym_keyboard_return_holo_dark</item>
|
|
|
|
<item name="iconSearchKey">@drawable/sym_keyboard_search_holo_dark</item>
|
|
|
|
<item name="iconTabKey">@drawable/sym_keyboard_tab_holo_dark</item>
|
|
|
|
<item name="iconShortcutKey">@drawable/sym_keyboard_mic_holo_dark</item>
|
2013-08-27 08:04:06 +00:00
|
|
|
<item name="iconSpaceKeyForNumberLayout">@drawable/sym_keyboard_space</item>
|
2013-09-19 13:26:36 +00:00
|
|
|
<item name="iconShiftKeyShifted">@drawable/sym_keyboard_shift_locked_holo_dark</item>
|
2013-08-27 08:04:06 +00:00
|
|
|
<!-- TODO: Needs non-holo disabled shortcut icon drawable -->
|
2013-09-19 13:26:36 +00:00
|
|
|
<item name="iconShortcutKeyDisabled">@drawable/sym_keyboard_voice_off_holo_dark</item>
|
2013-08-27 08:04:06 +00:00
|
|
|
<item name="iconTabKeyPreview">@drawable/sym_keyboard_feedback_tab</item>
|
2013-09-19 13:26:36 +00:00
|
|
|
<item name="iconLanguageSwitchKey">@drawable/sym_keyboard_language_switch_dark</item>
|
2013-08-27 08:04:06 +00:00
|
|
|
<!-- TODO: Needs dedicated black theme ZWNJ and ZWJ icons -->
|
2013-09-19 13:26:36 +00:00
|
|
|
<item name="iconZwnjKey">@drawable/sym_keyboard_zwnj_holo_dark</item>
|
|
|
|
<item name="iconZwjKey">@drawable/sym_keyboard_zwj_holo_dark</item>
|
|
|
|
<item name="iconEmojiKey">@drawable/sym_keyboard_smiley_holo_dark</item>
|
2013-08-27 08:04:06 +00:00
|
|
|
</style>
|
|
|
|
<style
|
|
|
|
name="Keyboard.GB"
|
|
|
|
parent="Keyboard"
|
|
|
|
>
|
|
|
|
<!-- This should be aligned with KeyboardSwitcher.KEYBOARD_THEMES[] -->
|
|
|
|
<item name="themeId">1</item>
|
|
|
|
<item name="touchPositionCorrectionData">@array/touch_position_correction_data_gb</item>
|
2013-12-02 09:38:03 +00:00
|
|
|
<item name="keyboardTopPadding">@fraction/config_keyboard_top_padding_gb</item>
|
|
|
|
<item name="keyboardBottomPadding">@fraction/config_keyboard_bottom_padding_gb</item>
|
|
|
|
<item name="horizontalGap">@fraction/config_key_horizontal_gap_gb</item>
|
|
|
|
<item name="verticalGap">@fraction/config_key_vertical_gap_gb</item>
|
2013-08-27 08:04:06 +00:00
|
|
|
</style>
|
|
|
|
<style
|
|
|
|
name="KeyboardView.GB"
|
|
|
|
parent="KeyboardView"
|
|
|
|
>
|
|
|
|
<item name="android:background">@drawable/keyboard_background_gb</item>
|
|
|
|
<item name="keyBackground">@drawable/btn_keyboard_key_gb</item>
|
|
|
|
<item name="keyTypeface">bold</item>
|
|
|
|
<item name="keyTextColor">@color/key_text_color_gb</item>
|
|
|
|
<item name="keyTextInactivatedColor">@color/key_text_inactivated_color_gb</item>
|
|
|
|
<item name="keyHintLetterColor">@color/key_hint_letter_color_gb</item>
|
|
|
|
<item name="keyHintLabelColor">@color/key_hint_label_color_gb</item>
|
|
|
|
<item name="keyShiftedLetterHintInactivatedColor">@color/key_shifted_letter_hint_inactivated_color_gb</item>
|
|
|
|
<item name="keyShiftedLetterHintActivatedColor">@color/key_shifted_letter_hint_activated_color_gb</item>
|
|
|
|
<item name="keyPreviewTextColor">@color/key_text_color_gb</item>
|
|
|
|
<item name="keyTextShadowColor">@color/key_text_shadow_color_gb</item>
|
|
|
|
<item name="keyTextShadowRadius">2.75</item>
|
|
|
|
</style>
|
|
|
|
<style
|
|
|
|
name="MainKeyboardView.GB"
|
|
|
|
parent="KeyboardView.GB"
|
|
|
|
>
|
2013-12-02 09:38:03 +00:00
|
|
|
<item name="keyPreviewOffset">@dimen/config_key_preview_offset_gb</item>
|
2013-08-27 08:04:06 +00:00
|
|
|
<item name="gestureFloatingPreviewTextColor">@color/highlight_color_gb</item>
|
|
|
|
<item name="gestureFloatingPreviewColor">@color/gesture_floating_preview_color_gb</item>
|
|
|
|
<item name="gestureTrailColor">@color/highlight_color_gb</item>
|
|
|
|
<item name="slidingKeyInputPreviewColor">@color/highlight_translucent_color_gb</item>
|
|
|
|
<item name="autoCorrectionSpacebarLedEnabled">true</item>
|
|
|
|
<item name="autoCorrectionSpacebarLedIcon">@drawable/sym_keyboard_space_led_gb</item>
|
2013-12-02 09:38:03 +00:00
|
|
|
<item name="languageOnSpacebarTextColor">@color/spacebar_text_color_gb</item>
|
|
|
|
<item name="languageOnSpacebarTextShadowColor">@color/spacebar_text_shadow_color_gb</item>
|
2013-08-27 08:04:06 +00:00
|
|
|
</style>
|
2013-11-21 07:06:57 +00:00
|
|
|
<style
|
|
|
|
name="KeyPreviewTextView.GB"
|
|
|
|
parent="KeyPreviewTextView"
|
|
|
|
>
|
|
|
|
<item name="android:background">@drawable/keyboard_key_feedback_gb</item>
|
|
|
|
</style>
|
2013-10-07 02:28:57 +00:00
|
|
|
<!-- Though {@link EmojiPalettesView} doesn't extend {@link KeyboardView}, some views inside it,
|
2013-08-30 10:28:01 +00:00
|
|
|
for instance delete button, need themed {@link KeyboardView} attributes. -->
|
2013-08-26 08:30:23 +00:00
|
|
|
<style
|
2013-10-07 02:28:57 +00:00
|
|
|
name="EmojiPalettesView.GB"
|
2013-08-26 08:30:23 +00:00
|
|
|
parent="KeyboardView.GB"
|
|
|
|
>
|
|
|
|
<item name="keyBackground">@drawable/btn_keyboard_key_functional_gb</item>
|
|
|
|
<item name="emojiTabLabelColor">@color/emoji_tab_label_color_gb</item>
|
|
|
|
</style>
|
2013-08-27 08:04:06 +00:00
|
|
|
<style
|
|
|
|
name="MoreKeysKeyboard.GB"
|
|
|
|
parent="Keyboard.GB"
|
|
|
|
>
|
|
|
|
<item name="keyboardTopPadding">0%p</item>
|
|
|
|
<item name="keyboardBottomPadding">0%p</item>
|
|
|
|
<item name="horizontalGap">0%p</item>
|
|
|
|
<item name="touchPositionCorrectionData">@null</item>
|
|
|
|
</style>
|
|
|
|
<style
|
|
|
|
name="MoreKeysKeyboardView.GB"
|
|
|
|
parent="KeyboardView.GB"
|
|
|
|
>
|
2013-11-19 07:12:18 +00:00
|
|
|
<item name="android:background">@drawable/keyboard_popup_panel_background_gb</item>
|
2013-08-27 08:04:06 +00:00
|
|
|
<item name="keyBackground">@drawable/btn_keyboard_key_popup_gb</item>
|
|
|
|
<item name="keyTypeface">normal</item>
|
2013-12-02 09:38:03 +00:00
|
|
|
<item name="verticalCorrection">@dimen/config_more_keys_keyboard_vertical_correction_gb</item>
|
2013-08-27 08:04:06 +00:00
|
|
|
</style>
|
|
|
|
<style
|
2013-08-27 08:29:34 +00:00
|
|
|
name="SuggestionStripView.GB"
|
|
|
|
parent="SuggestionStripView"
|
2013-08-27 08:04:06 +00:00
|
|
|
>
|
2013-08-28 06:59:49 +00:00
|
|
|
<item name="android:background">@drawable/keyboard_suggest_strip_gb</item>
|
2013-08-27 08:04:06 +00:00
|
|
|
<item name="suggestionStripOption">autoCorrectBold|validTypedWordBold</item>
|
|
|
|
<item name="colorValidTypedWord">@color/highlight_color_gb</item>
|
|
|
|
<item name="colorTypedWord">@color/typed_word_color_gb</item>
|
|
|
|
<item name="colorAutoCorrect">@color/highlight_color_gb</item>
|
|
|
|
<item name="colorSuggested">@color/highlight_color_gb</item>
|
|
|
|
<item name="alphaObsoleted">50%</item>
|
|
|
|
</style>
|
2013-08-28 06:59:49 +00:00
|
|
|
<style name="SuggestionWord.GB">
|
|
|
|
<item name="android:background">@drawable/btn_suggestion_gb</item>
|
|
|
|
</style>
|
2011-06-21 14:38:42 +00:00
|
|
|
</resources>
|