2011-06-21 15:38:42 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2013-08-27 09:04:06 +01: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 15:38:42 +01:00
|
|
|
-->
|
|
|
|
|
2013-08-28 07:59:49 +01:00
|
|
|
<resources xmlns:android="http://schemas.android.com/apk/res/android">
|
2013-08-27 05:01:20 +01:00
|
|
|
<style name="KeyboardTheme.ICS" parent="KeyboardIcons.ICS">
|
|
|
|
<item name="keyboardStyle">@style/Keyboard.ICS</item>
|
|
|
|
<item name="keyboardViewStyle">@style/KeyboardView.ICS</item>
|
|
|
|
<item name="mainKeyboardViewStyle">@style/MainKeyboardView.ICS</item>
|
2013-08-26 09:30:23 +01:00
|
|
|
<item name="emojiKeyboardViewStyle">@style/EmojiKeyboardView.ICS</item>
|
2013-08-27 05:01:20 +01:00
|
|
|
<item name="moreKeysKeyboardStyle">@style/MoreKeysKeyboard.ICS</item>
|
|
|
|
<item name="moreKeysKeyboardViewStyle">@style/MoreKeysKeyboardView.ICS</item>
|
2013-08-28 07:59:49 +01:00
|
|
|
<item name="moreKeysKeyboardContainerStyle">@style/MoreKeysKeyboardContainer.ICS</item>
|
2013-08-27 09:29:34 +01:00
|
|
|
<item name="suggestionStripViewStyle">@style/SuggestionStripView.ICS</item>
|
2013-08-28 07:59:49 +01:00
|
|
|
<item name="suggestionWordStyle">@style/SuggestionWord.ICS</item>
|
2011-06-21 15:38:42 +01:00
|
|
|
</style>
|
2013-08-27 09:04:06 +01:00
|
|
|
<style name="KeyboardIcons.ICS">
|
|
|
|
<!-- Keyboard icons -->
|
|
|
|
<!-- TODO: The following holo icon for phone (drawable-hdpi and drawable-xhdpi) are missing.
|
|
|
|
sym_keyboard_123_mic_holo
|
|
|
|
-->
|
2013-09-19 14:26:36 +01: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>
|
2013-08-27 09:04:06 +01:00
|
|
|
<item name="iconSpaceKey">@null</item>
|
2013-09-19 14:26:36 +01:00
|
|
|
<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_voice_holo_dark</item>
|
|
|
|
<item name="iconShortcutForLabel">@drawable/sym_keyboard_label_mic_holo_dark</item>
|
|
|
|
<item name="iconSpaceKeyForNumberLayout">@drawable/sym_keyboard_space_holo_dark</item>
|
|
|
|
<item name="iconShiftKeyShifted">@drawable/sym_keyboard_shift_locked_holo_dark</item>
|
|
|
|
<item name="iconShortcutKeyDisabled">@drawable/sym_keyboard_voice_off_holo_dark</item>
|
2013-08-27 09:04:06 +01:00
|
|
|
<item name="iconTabKeyPreview">@drawable/sym_keyboard_feedback_tab</item>
|
2013-09-19 14:26:36 +01:00
|
|
|
<item name="iconLanguageSwitchKey">@drawable/sym_keyboard_language_switch_dark</item>
|
|
|
|
<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 09:04:06 +01:00
|
|
|
</style>
|
|
|
|
<style
|
|
|
|
name="Keyboard.ICS"
|
|
|
|
parent="Keyboard"
|
|
|
|
>
|
|
|
|
<!-- This should be aligned with KeyboardSwitcher.KEYBOARD_THEMES[] -->
|
|
|
|
<item name="themeId">0</item>
|
|
|
|
<item name="keyboardTopPadding">@fraction/keyboard_top_padding_ics</item>
|
|
|
|
<item name="keyboardBottomPadding">@fraction/keyboard_bottom_padding_ics</item>
|
|
|
|
<item name="horizontalGap">@fraction/key_horizontal_gap_ics</item>
|
|
|
|
<item name="verticalGap">@fraction/key_bottom_gap_ics</item>
|
|
|
|
<item name="touchPositionCorrectionData">@array/touch_position_correction_data_ics</item>
|
|
|
|
</style>
|
|
|
|
<style
|
|
|
|
name="KeyboardView.ICS"
|
|
|
|
parent="KeyboardView"
|
|
|
|
>
|
2013-09-19 14:26:36 +01:00
|
|
|
<item name="android:background">@drawable/keyboard_background_holo</item>
|
2013-08-27 09:04:06 +01:00
|
|
|
<item name="keyBackground">@drawable/btn_keyboard_key_ics</item>
|
|
|
|
<item name="keyTypeface">bold</item>
|
|
|
|
<item name="keyTextColor">@color/key_text_color_ics</item>
|
|
|
|
<item name="keyTextInactivatedColor">@color/key_text_inactivated_color_ics</item>
|
|
|
|
<item name="keyHintLetterColor">@color/key_hint_letter_color_ics</item>
|
|
|
|
<item name="keyHintLabelColor">@color/key_hint_label_color_ics</item>
|
|
|
|
<item name="keyShiftedLetterHintInactivatedColor">@color/key_shifted_letter_hint_inactivated_color_ics</item>
|
|
|
|
<item name="keyShiftedLetterHintActivatedColor">@color/key_shifted_letter_hint_activated_color_ics</item>
|
|
|
|
<item name="keyPreviewTextColor">@color/key_text_color_ics</item>
|
|
|
|
<item name="keyTextShadowColor">@color/key_text_shadow_color_ics</item>
|
|
|
|
<item name="keyTextShadowRadius">0.0</item>
|
|
|
|
</style>
|
|
|
|
<style
|
|
|
|
name="MainKeyboardView.ICS"
|
|
|
|
parent="KeyboardView.ICS"
|
|
|
|
>
|
|
|
|
<item name="keyPreviewLayout">@layout/key_preview_ics</item>
|
|
|
|
<item name="keyPreviewOffset">@dimen/key_preview_offset_ics</item>
|
2013-09-20 08:43:08 +01:00
|
|
|
<item name="gestureFloatingPreviewTextColor">@color/highlight_color_holo</item>
|
2013-08-27 09:04:06 +01:00
|
|
|
<item name="gestureFloatingPreviewColor">@color/gesture_floating_preview_color_ics</item>
|
2013-09-20 08:43:08 +01:00
|
|
|
<item name="gestureTrailColor">@color/highlight_color_holo</item>
|
|
|
|
<item name="slidingKeyInputPreviewColor">@color/highlight_translucent_color_holo</item>
|
2013-08-27 09:04:06 +01:00
|
|
|
<item name="autoCorrectionSpacebarLedEnabled">false</item>
|
|
|
|
<item name="autoCorrectionSpacebarLedIcon">@drawable/sym_keyboard_space_led_holo</item>
|
|
|
|
<item name="spacebarTextColor">@color/spacebar_text_color_ics</item>
|
|
|
|
<item name="spacebarTextShadowColor">@color/spacebar_text_shadow_color_ics</item>
|
|
|
|
</style>
|
2013-08-30 11:28:01 +01:00
|
|
|
<!-- Though {@link EmojiKeyboardView} doesn't extend {@link KeyboardView}, some views inside it,
|
|
|
|
for instance delete button, need themed {@link KeyboardView} attributes. -->
|
2013-08-26 09:30:23 +01:00
|
|
|
<style
|
|
|
|
name="EmojiKeyboardView.ICS"
|
|
|
|
parent="KeyboardView.ICS"
|
|
|
|
>
|
2013-09-10 09:55:44 +01:00
|
|
|
<item name="keyBackgroundEmojiFunctional">@drawable/btn_keyboard_key_functional_ics</item>
|
2013-08-26 09:30:23 +01:00
|
|
|
<item name="emojiTabLabelColor">@color/emoji_tab_label_color_ics</item>
|
|
|
|
</style>
|
2013-08-27 09:04:06 +01:00
|
|
|
<style
|
|
|
|
name="MoreKeysKeyboard.ICS"
|
|
|
|
parent="Keyboard.ICS"
|
|
|
|
>
|
|
|
|
<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.ICS"
|
|
|
|
parent="KeyboardView.ICS"
|
|
|
|
>
|
|
|
|
<item name="android:background">@null</item>
|
|
|
|
<item name="keyBackground">@drawable/btn_keyboard_key_popup_ics</item>
|
|
|
|
<item name="keyTypeface">normal</item>
|
|
|
|
<item name="verticalCorrection">@dimen/more_keys_keyboard_vertical_correction_ics</item>
|
|
|
|
</style>
|
2013-08-28 07:59:49 +01:00
|
|
|
<style
|
|
|
|
name="MoreKeysKeyboardContainer.ICS"
|
|
|
|
>
|
|
|
|
<item name="android:background">@drawable/keyboard_popup_panel_background_holo</item>
|
|
|
|
</style>
|
2013-08-27 09:04:06 +01:00
|
|
|
<style
|
2013-08-27 09:29:34 +01:00
|
|
|
name="SuggestionStripView.ICS"
|
|
|
|
parent="SuggestionStripView"
|
2013-08-27 09:04:06 +01:00
|
|
|
>
|
2013-08-28 07:59:49 +01:00
|
|
|
<item name="android:background">@drawable/keyboard_suggest_strip_holo</item>
|
2013-08-27 09:04:06 +01:00
|
|
|
<item name="suggestionStripOption">autoCorrectBold|validTypedWordBold</item>
|
2013-09-20 08:43:08 +01:00
|
|
|
<item name="colorValidTypedWord">@color/typed_word_color_holo</item>
|
|
|
|
<item name="colorTypedWord">@color/typed_word_color_holo</item>
|
|
|
|
<item name="colorAutoCorrect">@color/highlight_color_holo</item>
|
|
|
|
<item name="colorSuggested">@color/suggested_word_color_holo</item>
|
2013-08-27 09:04:06 +01:00
|
|
|
<item name="alphaObsoleted">70%</item>
|
|
|
|
</style>
|
2013-08-28 07:59:49 +01:00
|
|
|
<style name="SuggestionWord.ICS">
|
|
|
|
<item name="android:background">@drawable/btn_suggestion_ics</item>
|
2013-08-27 09:04:06 +01:00
|
|
|
</style>
|
2011-06-21 15:38:42 +01:00
|
|
|
</resources>
|