5169937dd4
Window resizing junkiness is addressed in I605e657c9468
This reverts commit aabc972338
.
Change-Id: I0bc0f1ad9a90799e643fe9ec35f5b4bbe94eee0d
146 lines
7.4 KiB
XML
146 lines
7.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
/*
|
|
**
|
|
** 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.
|
|
*/
|
|
-->
|
|
|
|
<resources>
|
|
<style name="KeyboardTheme.GB" parent="KeyboardIcons.GB">
|
|
<item name="keyboardStyle">@style/Keyboard.GB</item>
|
|
<item name="keyboardViewStyle">@style/KeyboardView.GB</item>
|
|
<item name="mainKeyboardViewStyle">@style/MainKeyboardView.GB</item>
|
|
<item name="emojiKeyboardViewStyle">@style/EmojiKeyboardView.GB</item>
|
|
<item name="moreKeysKeyboardStyle">@style/MoreKeysKeyboard.GB</item>
|
|
<item name="moreKeysKeyboardViewStyle">@style/MoreKeysKeyboardView.GB</item>
|
|
<item name="moreKeysKeyboardContainerStyle">@style/MoreKeysKeyboardContainer.GB</item>
|
|
<item name="suggestionStripViewStyle">@style/SuggestionStripView.GB</item>
|
|
<item name="suggestionWordStyle">@style/SuggestionWord.GB</item>
|
|
</style>
|
|
<style name="KeyboardIcons.GB">
|
|
<!-- Keyboard icons -->
|
|
<item name="iconShiftKey">@drawable/sym_keyboard_shift</item>
|
|
<item name="iconDeleteKey">@drawable/sym_keyboard_delete</item>
|
|
<item name="iconSettingsKey">@drawable/sym_keyboard_settings</item>
|
|
<item name="iconSpaceKey">@drawable/sym_keyboard_space</item>
|
|
<item name="iconEnterKey">@drawable/sym_keyboard_return</item>
|
|
<item name="iconSearchKey">@drawable/sym_keyboard_search</item>
|
|
<item name="iconTabKey">@drawable/sym_keyboard_tab</item>
|
|
<item name="iconShortcutKey">@drawable/sym_keyboard_mic</item>
|
|
<item name="iconShortcutForLabel">@drawable/sym_keyboard_label_mic</item>
|
|
<item name="iconSpaceKeyForNumberLayout">@drawable/sym_keyboard_space</item>
|
|
<item name="iconShiftKeyShifted">@drawable/sym_keyboard_shift_locked</item>
|
|
<!-- TODO: Needs non-holo disabled shortcut icon drawable -->
|
|
<item name="iconShortcutKeyDisabled">@drawable/sym_keyboard_voice_off_holo</item>
|
|
<item name="iconTabKeyPreview">@drawable/sym_keyboard_feedback_tab</item>
|
|
<item name="iconLanguageSwitchKey">@drawable/sym_keyboard_language_switch</item>
|
|
<!-- TODO: Needs dedicated black theme ZWNJ and ZWJ icons -->
|
|
<item name="iconZwnjKey">@drawable/sym_keyboard_zwnj_holo</item>
|
|
<item name="iconZwjKey">@drawable/sym_keyboard_zwj_holo</item>
|
|
<item name="iconEmojiKey">@drawable/ic_emoji_light</item>
|
|
</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>
|
|
<item name="keyboardTopPadding">@fraction/keyboard_top_padding_gb</item>
|
|
<item name="keyboardBottomPadding">@fraction/keyboard_bottom_padding_gb</item>
|
|
<item name="horizontalGap">@fraction/key_horizontal_gap_gb</item>
|
|
<item name="verticalGap">@fraction/key_bottom_gap_gb</item>
|
|
</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"
|
|
>
|
|
<item name="keyPreviewLayout">@layout/key_preview_gb</item>
|
|
<item name="keyPreviewOffset">@dimen/key_preview_offset_gb</item>
|
|
<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>
|
|
<item name="spacebarTextColor">@color/spacebar_text_color_gb</item>
|
|
<item name="spacebarTextShadowColor">@color/spacebar_text_shadow_color_gb</item>
|
|
</style>
|
|
<!-- Though {@link EmojiKeyboardView} doesn't extend {@link KeyboardView}, some views inside it,
|
|
for instance delete button, need themed {@link KeyboardView} attributes. -->
|
|
<style
|
|
name="EmojiKeyboardView.GB"
|
|
parent="KeyboardView.GB"
|
|
>
|
|
<item name="keyBackground">@drawable/btn_keyboard_key_functional_gb</item>
|
|
<item name="emojiTabLabelColor">@color/emoji_tab_label_color_gb</item>
|
|
</style>
|
|
<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"
|
|
>
|
|
<item name="android:background">@null</item>
|
|
<item name="keyBackground">@drawable/btn_keyboard_key_popup_gb</item>
|
|
<item name="keyTypeface">normal</item>
|
|
<item name="verticalCorrection">@dimen/more_keys_keyboard_vertical_correction_gb</item>
|
|
</style>
|
|
<style
|
|
name="MoreKeysKeyboardContainer.GB"
|
|
>
|
|
<item name="android:background">@drawable/keyboard_popup_panel_background_gb</item>
|
|
</style>
|
|
<style
|
|
name="SuggestionStripView.GB"
|
|
parent="SuggestionStripView"
|
|
>
|
|
<item name="android:background">@drawable/keyboard_suggest_strip_gb</item>
|
|
<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>
|
|
<style name="SuggestionWord.GB">
|
|
<item name="android:background">@drawable/btn_suggestion_gb</item>
|
|
</style>
|
|
</resources>
|