2011-06-21 14:38:42 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2013-08-27 08:04:06 +00:00
|
|
|
<!--
|
|
|
|
/*
|
|
|
|
**
|
2015-11-11 19:03:02 +00:00
|
|
|
** Copyright 2015, The Android Open Source Project
|
2013-08-27 08:04:06 +00:00
|
|
|
**
|
|
|
|
** 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
|
|
|
-->
|
|
|
|
|
2013-08-28 06:59:49 +00:00
|
|
|
<resources xmlns:android="http://schemas.android.com/apk/res/android">
|
2013-11-11 07:20:07 +00:00
|
|
|
<style name="KeyboardTheme.KLP" parent="KeyboardIcons.Holo">
|
2014-10-07 06:11:43 +00:00
|
|
|
<item name="inputViewStyle">@style/InputView.Holo</item>
|
2013-11-11 07:20:07 +00:00
|
|
|
<item name="keyboardStyle">@style/Keyboard.KLP</item>
|
|
|
|
<item name="keyboardViewStyle">@style/KeyboardView.KLP</item>
|
|
|
|
<item name="mainKeyboardViewStyle">@style/MainKeyboardView.KLP</item>
|
|
|
|
<item name="emojiPalettesViewStyle">@style/EmojiPalettesView.KLP</item>
|
|
|
|
<item name="moreKeysKeyboardStyle">@style/MoreKeysKeyboard.KLP</item>
|
2014-08-22 09:36:09 +00:00
|
|
|
<!-- Note: KLP theme uses the same style for both general more keys and action more keys. -->
|
2013-11-11 07:20:07 +00:00
|
|
|
<item name="moreKeysKeyboardViewStyle">@style/MoreKeysKeyboardView.KLP</item>
|
2014-08-22 09:36:09 +00:00
|
|
|
<item name="moreKeysKeyboardViewForActionStyle">@style/MoreKeysKeyboardView.KLP</item>
|
2013-11-11 07:20:07 +00:00
|
|
|
<item name="suggestionStripViewStyle">@style/SuggestionStripView.KLP</item>
|
|
|
|
<item name="suggestionWordStyle">@style/SuggestionWord.KLP</item>
|
2011-06-21 14:38:42 +00:00
|
|
|
</style>
|
2013-08-27 08:04:06 +00:00
|
|
|
<style
|
2013-11-11 07:20:07 +00:00
|
|
|
name="Keyboard.KLP"
|
2013-08-27 08:04:06 +00:00
|
|
|
parent="Keyboard"
|
|
|
|
>
|
2014-09-03 01:52:56 +00:00
|
|
|
<!-- This should be aligned with KeyboardTheme.THEME_ID_* -->
|
|
|
|
<item name="themeId">KLP</item>
|
2013-08-27 08:04:06 +00:00
|
|
|
</style>
|
|
|
|
<style
|
2013-11-11 07:20:07 +00:00
|
|
|
name="KeyboardView.KLP"
|
2014-08-07 07:16:31 +00:00
|
|
|
parent="KeyboardView.Holo"
|
2013-08-27 08:04:06 +00:00
|
|
|
>
|
2013-09-19 13:26:36 +00:00
|
|
|
<item name="android:background">@drawable/keyboard_background_holo</item>
|
2013-11-11 07:20:07 +00:00
|
|
|
<item name="keyBackground">@drawable/btn_keyboard_key_klp</item>
|
2014-05-14 06:30:37 +00:00
|
|
|
<item name="functionalKeyBackground">@drawable/btn_keyboard_key_functional_klp</item>
|
|
|
|
<item name="spacebarBackground">@drawable/btn_keyboard_spacebar_klp</item>
|
2013-11-11 09:49:28 +00:00
|
|
|
<item name="keyTextColor">@color/key_text_color_holo</item>
|
|
|
|
<item name="keyTextInactivatedColor">@color/key_text_inactivated_color_holo</item>
|
2014-05-15 06:39:01 +00:00
|
|
|
<item name="functionalTextColor">@color/key_text_color_holo</item>
|
2013-11-11 09:49:28 +00:00
|
|
|
<item name="keyHintLetterColor">@color/key_hint_letter_color_holo</item>
|
|
|
|
<item name="keyHintLabelColor">@color/key_hint_label_color_holo</item>
|
|
|
|
<item name="keyShiftedLetterHintInactivatedColor">@color/key_shifted_letter_hint_inactivated_color_holo</item>
|
|
|
|
<item name="keyShiftedLetterHintActivatedColor">@color/key_shifted_letter_hint_activated_color_holo</item>
|
|
|
|
<item name="keyPreviewTextColor">@color/key_text_color_holo</item>
|
2013-08-27 08:04:06 +00:00
|
|
|
</style>
|
|
|
|
<style
|
2013-11-11 07:20:07 +00:00
|
|
|
name="MainKeyboardView.KLP"
|
|
|
|
parent="KeyboardView.KLP"
|
2013-08-27 08:04:06 +00:00
|
|
|
>
|
2014-06-18 00:42:36 +00:00
|
|
|
<item name="keyPreviewBackground">@drawable/keyboard_key_feedback_klp</item>
|
2014-09-08 05:12:48 +00:00
|
|
|
<item name="keyPreviewHeight">@dimen/config_key_preview_height_holo</item>
|
2013-12-13 08:09:16 +00:00
|
|
|
<item name="keyPreviewOffset">@dimen/config_key_preview_offset_holo</item>
|
2014-09-01 09:26:34 +00:00
|
|
|
<item name="keyPreviewShowUpAnimator">@anim/key_preview_show_up_holo</item>
|
|
|
|
<item name="keyPreviewDismissAnimator">@anim/key_preview_dismiss_holo</item>
|
2013-11-11 07:20:07 +00:00
|
|
|
<item name="gestureFloatingPreviewTextColor">@color/highlight_color_klp</item>
|
2013-11-11 09:49:28 +00:00
|
|
|
<item name="gestureFloatingPreviewColor">@color/gesture_floating_preview_color_holo</item>
|
2013-11-11 07:20:07 +00:00
|
|
|
<item name="gestureTrailColor">@color/highlight_color_klp</item>
|
|
|
|
<item name="slidingKeyInputPreviewColor">@color/highlight_translucent_color_klp</item>
|
2013-12-13 08:09:16 +00:00
|
|
|
<item name="languageOnSpacebarTextColor">@color/spacebar_text_color_holo</item>
|
2014-05-13 02:19:43 +00:00
|
|
|
<item name="languageOnSpacebarTextShadowRadius">1.0</item>
|
2013-12-13 08:09:16 +00:00
|
|
|
<item name="languageOnSpacebarTextShadowColor">@color/spacebar_text_shadow_color_holo</item>
|
|
|
|
</style>
|
2014-10-22 05:04:07 +00:00
|
|
|
<!-- Though {@link com.android.inputmethod.keyboard.emoji.EmojiPalettesView} doesn't extend
|
|
|
|
{@link com.android.inputmethod.keyboard.KeyboardView}, some views inside it, for instance
|
|
|
|
delete button, need themed {@link com.android.inputmethod.keyboard.KeyboardView}
|
|
|
|
attributes. -->
|
2013-08-26 08:30:23 +00:00
|
|
|
<style
|
2013-11-11 07:20:07 +00:00
|
|
|
name="EmojiPalettesView.KLP"
|
2014-05-14 06:30:37 +00:00
|
|
|
parent="MainKeyboardView.KLP"
|
2013-08-26 08:30:23 +00:00
|
|
|
>
|
2014-05-23 07:04:39 +00:00
|
|
|
<item name="categoryIndicatorEnabled">true</item>
|
|
|
|
<item name="categoryIndicatorDrawable">@drawable/emoji_category_tab_selected_klp</item>
|
|
|
|
<item name="categoryIndicatorBackground">@drawable/emoji_category_tab_unselected_holo_dark</item>
|
|
|
|
<item name="categoryPageIndicatorColor">@color/highlight_color_klp</item>
|
|
|
|
<item name="categoryPageIndicatorBackground">@color/emoji_tab_page_indicator_background_holo</item>
|
2014-05-16 01:32:04 +00:00
|
|
|
<item name="iconEmojiRecentsTab">@drawable/ic_emoji_recents_holo_dark</item>
|
|
|
|
<item name="iconEmojiCategory1Tab">@drawable/ic_emoji_people_holo_dark</item>
|
|
|
|
<item name="iconEmojiCategory2Tab">@drawable/ic_emoji_objects_holo_dark</item>
|
|
|
|
<item name="iconEmojiCategory3Tab">@drawable/ic_emoji_nature_holo_dark</item>
|
|
|
|
<item name="iconEmojiCategory4Tab">@drawable/ic_emoji_places_holo_dark</item>
|
|
|
|
<item name="iconEmojiCategory5Tab">@drawable/ic_emoji_symbols_holo_dark</item>
|
|
|
|
<item name="iconEmojiCategory6Tab">@drawable/ic_emoji_emoticons_holo_dark</item>
|
2015-11-11 19:03:02 +00:00
|
|
|
<item name="iconEmojiCategory7Tab">@drawable/ic_emoji_flag_holo_dark</item>
|
|
|
|
<item name="iconEmojiCategory8Tab">@drawable/ic_emoji_people_holo_dark</item>
|
|
|
|
<item name="iconEmojiCategory9Tab">@drawable/ic_emoji_nature_holo_dark</item>
|
|
|
|
<item name="iconEmojiCategory10Tab">@drawable/ic_emoji_food_holo_dark</item>
|
|
|
|
<item name="iconEmojiCategory11Tab">@drawable/ic_emoji_places_holo_dark</item>
|
|
|
|
<item name="iconEmojiCategory12Tab">@drawable/ic_emoji_activity_holo_dark</item>
|
|
|
|
<item name="iconEmojiCategory13Tab">@drawable/ic_emoji_objects_holo_dark</item>
|
|
|
|
<item name="iconEmojiCategory14Tab">@drawable/ic_emoji_symbols_holo_dark</item>
|
|
|
|
<item name="iconEmojiCategory15Tab">@drawable/ic_emoji_flag_holo_dark</item>
|
|
|
|
<item name="iconEmojiCategory16Tab">@drawable/ic_emoji_people_holo_dark</item>
|
2013-08-26 08:30:23 +00:00
|
|
|
</style>
|
2013-08-27 08:04:06 +00:00
|
|
|
<style
|
2013-11-11 07:20:07 +00:00
|
|
|
name="MoreKeysKeyboard.KLP"
|
|
|
|
parent="Keyboard.KLP"
|
2013-08-27 08:04:06 +00:00
|
|
|
>
|
|
|
|
<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
|
2013-11-11 07:20:07 +00:00
|
|
|
name="MoreKeysKeyboardView.KLP"
|
|
|
|
parent="KeyboardView.KLP"
|
2013-08-27 08:04:06 +00:00
|
|
|
>
|
2013-12-13 08:09:16 +00:00
|
|
|
<item name="android:background">@drawable/keyboard_popup_panel_background_klp</item>
|
2013-11-11 07:20:07 +00:00
|
|
|
<item name="keyBackground">@drawable/btn_keyboard_key_popup_klp</item>
|
2014-09-05 04:07:50 +00:00
|
|
|
<item name="divider">@drawable/more_keys_divider</item>
|
2013-08-27 08:04:06 +00:00
|
|
|
<item name="keyTypeface">normal</item>
|
2013-12-13 08:09:16 +00:00
|
|
|
<item name="verticalCorrection">@dimen/config_more_keys_keyboard_vertical_correction_holo</item>
|
2013-08-28 06:59:49 +00:00
|
|
|
</style>
|
2013-08-27 08:04:06 +00:00
|
|
|
<style
|
2013-11-11 07:20:07 +00:00
|
|
|
name="SuggestionStripView.KLP"
|
2014-05-02 08:03:12 +00:00
|
|
|
parent="KeyboardView.KLP"
|
2013-08-27 08:04:06 +00:00
|
|
|
>
|
2014-05-02 08:03:12 +00:00
|
|
|
<item name="suggestionsCountInStrip">@integer/config_suggestions_count_in_strip</item>
|
|
|
|
<item name="centerSuggestionPercentile">@fraction/config_center_suggestion_percentile</item>
|
|
|
|
<item name="maxMoreSuggestionsRow">@integer/config_max_more_suggestions_row</item>
|
|
|
|
<item name="minMoreSuggestionsWidth">@fraction/config_min_more_suggestions_width</item>
|
2013-08-28 06:59:49 +00:00
|
|
|
<item name="android:background">@drawable/keyboard_suggest_strip_holo</item>
|
2014-07-04 06:29:10 +00:00
|
|
|
<item name="android:src">@drawable/suggestions_strip_divider_holo</item>
|
2014-02-25 05:52:18 +00:00
|
|
|
<item name="suggestionStripOptions">autoCorrectBold|validTypedWordBold</item>
|
2013-11-11 07:20:07 +00:00
|
|
|
<item name="colorValidTypedWord">@color/typed_word_color_klp</item>
|
|
|
|
<item name="colorTypedWord">@color/typed_word_color_klp</item>
|
|
|
|
<item name="colorAutoCorrect">@color/highlight_color_klp</item>
|
|
|
|
<item name="colorSuggested">@color/suggested_word_color_klp</item>
|
2013-08-27 08:04:06 +00:00
|
|
|
<item name="alphaObsoleted">70%</item>
|
|
|
|
</style>
|
2014-01-28 10:22:27 +00:00
|
|
|
<style
|
|
|
|
name="SuggestionWord.KLP"
|
|
|
|
parent="SuggestionWord"
|
|
|
|
>
|
2013-11-11 07:20:07 +00:00
|
|
|
<item name="android:background">@drawable/btn_suggestion_klp</item>
|
2014-01-28 10:22:27 +00:00
|
|
|
<item name="android:textColor">@color/highlight_color_klp</item>
|
2013-08-27 08:04:06 +00:00
|
|
|
</style>
|
2011-06-21 14:38:42 +00:00
|
|
|
</resources>
|