Rename KLP theme related resources
Bug: 11622614 Change-Id: I4e390aa263349d730b47502d84e4d528e7f5ce71
Before Width: | Height: | Size: 463 B After Width: | Height: | Size: 463 B |
Before Width: | Height: | Size: 639 B After Width: | Height: | Size: 639 B |
Before Width: | Height: | Size: 537 B After Width: | Height: | Size: 537 B |
Before Width: | Height: | Size: 655 B After Width: | Height: | Size: 655 B |
Before Width: | Height: | Size: 670 B After Width: | Height: | Size: 670 B |
Before Width: | Height: | Size: 517 B After Width: | Height: | Size: 517 B |
Before Width: | Height: | Size: 272 B After Width: | Height: | Size: 272 B |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 2 KiB After Width: | Height: | Size: 2 KiB |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 871 B After Width: | Height: | Size: 871 B |
Before Width: | Height: | Size: 355 B After Width: | Height: | Size: 355 B |
Before Width: | Height: | Size: 453 B After Width: | Height: | Size: 453 B |
Before Width: | Height: | Size: 380 B After Width: | Height: | Size: 380 B |
Before Width: | Height: | Size: 468 B After Width: | Height: | Size: 468 B |
Before Width: | Height: | Size: 458 B After Width: | Height: | Size: 458 B |
Before Width: | Height: | Size: 368 B After Width: | Height: | Size: 368 B |
Before Width: | Height: | Size: 222 B After Width: | Height: | Size: 222 B |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 589 B After Width: | Height: | Size: 589 B |
Before Width: | Height: | Size: 589 B After Width: | Height: | Size: 589 B |
Before Width: | Height: | Size: 787 B After Width: | Height: | Size: 787 B |
Before Width: | Height: | Size: 657 B After Width: | Height: | Size: 657 B |
Before Width: | Height: | Size: 848 B After Width: | Height: | Size: 848 B |
Before Width: | Height: | Size: 867 B After Width: | Height: | Size: 867 B |
Before Width: | Height: | Size: 634 B After Width: | Height: | Size: 634 B |
Before Width: | Height: | Size: 323 B After Width: | Height: | Size: 323 B |
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 3.4 KiB |
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 2 KiB After Width: | Height: | Size: 2 KiB |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 2 KiB After Width: | Height: | Size: 2 KiB |
Before Width: | Height: | Size: 2 KiB After Width: | Height: | Size: 2 KiB |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 7.3 KiB After Width: | Height: | Size: 7.3 KiB |
Before Width: | Height: | Size: 6.9 KiB After Width: | Height: | Size: 6.9 KiB |
Before Width: | Height: | Size: 7 KiB After Width: | Height: | Size: 7 KiB |
Before Width: | Height: | Size: 5.3 KiB After Width: | Height: | Size: 5.3 KiB |
Before Width: | Height: | Size: 6.9 KiB After Width: | Height: | Size: 6.9 KiB |
Before Width: | Height: | Size: 7 KiB After Width: | Height: | Size: 7 KiB |
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.7 KiB |
|
@ -17,6 +17,6 @@
|
||||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
<!-- Functional keys. -->
|
<!-- Functional keys. -->
|
||||||
<item android:state_pressed="true"
|
<item android:state_pressed="true"
|
||||||
android:drawable="@drawable/btn_keyboard_key_dark_pressed_holo" />
|
android:drawable="@drawable/btn_keyboard_key_dark_pressed_klp" />
|
||||||
<item android:drawable="@drawable/btn_keyboard_key_dark_normal_holo" />
|
<item android:drawable="@drawable/btn_keyboard_key_dark_normal_holo" />
|
||||||
</selector>
|
</selector>
|
|
@ -1,5 +1,5 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<!-- Copyright (C) 2011 The Android Open Source Project
|
<!-- Copyright (C) 2013 The Android Open Source Project
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
you may not use this file except in compliance with the License.
|
you may not use this file except in compliance with the License.
|
||||||
|
@ -17,23 +17,23 @@
|
||||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
<!-- Functional keys. -->
|
<!-- Functional keys. -->
|
||||||
<item android:state_single="true" android:state_pressed="true"
|
<item android:state_single="true" android:state_pressed="true"
|
||||||
android:drawable="@drawable/btn_keyboard_key_dark_pressed_holo" />
|
android:drawable="@drawable/btn_keyboard_key_dark_pressed_klp" />
|
||||||
<item android:state_single="true"
|
<item android:state_single="true"
|
||||||
android:drawable="@drawable/btn_keyboard_key_dark_normal_holo" />
|
android:drawable="@drawable/btn_keyboard_key_dark_normal_holo" />
|
||||||
|
|
||||||
<!-- Action keys. -->
|
<!-- Action keys. -->
|
||||||
<item android:state_active="true" android:state_pressed="true"
|
<item android:state_active="true" android:state_pressed="true"
|
||||||
android:drawable="@drawable/btn_keyboard_key_dark_pressed_holo" />
|
android:drawable="@drawable/btn_keyboard_key_dark_pressed_klp" />
|
||||||
<item android:state_active="true"
|
<item android:state_active="true"
|
||||||
android:drawable="@drawable/btn_keyboard_key_dark_active_holo" />
|
android:drawable="@drawable/btn_keyboard_key_dark_active_klp" />
|
||||||
|
|
||||||
<!-- Toggle keys. Use checkable/checked state. -->
|
<!-- Toggle keys. Use checkable/checked state. -->
|
||||||
<item android:state_checkable="true" android:state_checked="true" android:state_pressed="true"
|
<item android:state_checkable="true" android:state_checked="true" android:state_pressed="true"
|
||||||
android:drawable="@drawable/btn_keyboard_key_dark_pressed_on_holo" />
|
android:drawable="@drawable/btn_keyboard_key_dark_pressed_on_klp" />
|
||||||
<item android:state_checkable="true" android:state_pressed="true"
|
<item android:state_checkable="true" android:state_pressed="true"
|
||||||
android:drawable="@drawable/btn_keyboard_key_dark_pressed_off_holo" />
|
android:drawable="@drawable/btn_keyboard_key_dark_pressed_off_klp" />
|
||||||
<item android:state_checkable="true" android:state_checked="true"
|
<item android:state_checkable="true" android:state_checked="true"
|
||||||
android:drawable="@drawable/btn_keyboard_key_dark_normal_on_holo" />
|
android:drawable="@drawable/btn_keyboard_key_dark_normal_on_klp" />
|
||||||
<item android:state_checkable="true"
|
<item android:state_checkable="true"
|
||||||
android:drawable="@drawable/btn_keyboard_key_dark_normal_off_holo" />
|
android:drawable="@drawable/btn_keyboard_key_dark_normal_off_holo" />
|
||||||
|
|
||||||
|
@ -43,6 +43,6 @@
|
||||||
|
|
||||||
<!-- Normal keys. -->
|
<!-- Normal keys. -->
|
||||||
<item android:state_pressed="true"
|
<item android:state_pressed="true"
|
||||||
android:drawable="@drawable/btn_keyboard_key_light_pressed_holo" />
|
android:drawable="@drawable/btn_keyboard_key_light_pressed_klp" />
|
||||||
<item android:drawable="@drawable/btn_keyboard_key_light_normal_holo" />
|
<item android:drawable="@drawable/btn_keyboard_key_light_normal_holo" />
|
||||||
</selector>
|
</selector>
|
|
@ -1,5 +1,5 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<!-- Copyright (C) 2011 The Android Open Source Project
|
<!-- Copyright (C) 2013 The Android Open Source Project
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
you may not use this file except in compliance with the License.
|
you may not use this file except in compliance with the License.
|
||||||
|
@ -16,6 +16,6 @@
|
||||||
|
|
||||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
<item android:state_pressed="true"
|
<item android:state_pressed="true"
|
||||||
android:drawable="@drawable/btn_keyboard_key_popup_selected_holo" />
|
android:drawable="@drawable/btn_keyboard_key_popup_selected_klp" />
|
||||||
<item android:drawable="@drawable/transparent" />
|
<item android:drawable="@drawable/transparent" />
|
||||||
</selector>
|
</selector>
|
|
@ -2,7 +2,7 @@
|
||||||
<!--
|
<!--
|
||||||
/*
|
/*
|
||||||
**
|
**
|
||||||
** Copyright 2011, The Android Open Source Project
|
** Copyright 2013, The Android Open Source Project
|
||||||
**
|
**
|
||||||
** Licensed under the Apache License, Version 2.0 (the "License");
|
** Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
** you may not use this file except in compliance with the License.
|
** you may not use this file except in compliance with the License.
|
||||||
|
@ -23,5 +23,5 @@
|
||||||
>
|
>
|
||||||
<item
|
<item
|
||||||
android:state_pressed="true"
|
android:state_pressed="true"
|
||||||
android:drawable="@drawable/btn_keyboard_key_popup_selected_holo" />
|
android:drawable="@drawable/btn_keyboard_key_popup_selected_klp" />
|
||||||
</selector>
|
</selector>
|
|
@ -1,5 +1,5 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<!-- Copyright (C) 2011 The Android Open Source Project
|
<!-- Copyright (C) 2013 The Android Open Source Project
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
you may not use this file except in compliance with the License.
|
you may not use this file except in compliance with the License.
|
||||||
|
@ -20,17 +20,17 @@
|
||||||
>
|
>
|
||||||
<!-- Left edge -->
|
<!-- Left edge -->
|
||||||
<item latin:state_left_edge="true" latin:state_has_morekeys="true"
|
<item latin:state_left_edge="true" latin:state_has_morekeys="true"
|
||||||
android:drawable="@drawable/keyboard_key_feedback_left_more_background_holo" />
|
android:drawable="@drawable/keyboard_key_feedback_left_more_background_klp" />
|
||||||
<item latin:state_left_edge="true"
|
<item latin:state_left_edge="true"
|
||||||
android:drawable="@drawable/keyboard_key_feedback_left_background_holo" />
|
android:drawable="@drawable/keyboard_key_feedback_left_background_klp" />
|
||||||
|
|
||||||
<!-- Right edge -->
|
<!-- Right edge -->
|
||||||
<item latin:state_right_edge="true" latin:state_has_morekeys="true"
|
<item latin:state_right_edge="true" latin:state_has_morekeys="true"
|
||||||
android:drawable="@drawable/keyboard_key_feedback_right_more_background_holo" />
|
android:drawable="@drawable/keyboard_key_feedback_right_more_background_klp" />
|
||||||
<item latin:state_right_edge="true"
|
<item latin:state_right_edge="true"
|
||||||
android:drawable="@drawable/keyboard_key_feedback_right_background_holo" />
|
android:drawable="@drawable/keyboard_key_feedback_right_background_klp" />
|
||||||
|
|
||||||
<item latin:state_has_morekeys="true"
|
<item latin:state_has_morekeys="true"
|
||||||
android:drawable="@drawable/keyboard_key_feedback_more_background_holo" />
|
android:drawable="@drawable/keyboard_key_feedback_more_background_klp" />
|
||||||
<item android:drawable="@drawable/keyboard_key_feedback_background_holo" />
|
<item android:drawable="@drawable/keyboard_key_feedback_background_klp" />
|
||||||
</selector>
|
</selector>
|
|
@ -2,7 +2,7 @@
|
||||||
<!--
|
<!--
|
||||||
/*
|
/*
|
||||||
**
|
**
|
||||||
** Copyright 2012, The Android Open Source Project
|
** Copyright 2013, The Android Open Source Project
|
||||||
**
|
**
|
||||||
** Licensed under the Apache License, Version 2.0 (the "License");
|
** Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
** you may not use this file except in compliance with the License.
|
** you may not use this file except in compliance with the License.
|
||||||
|
@ -21,7 +21,7 @@
|
||||||
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
|
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:background="@drawable/keyboard_key_feedback_ics"
|
android:background="@drawable/keyboard_key_feedback_klp"
|
||||||
android:minWidth="32dp"
|
android:minWidth="32dp"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
/>
|
/>
|
|
@ -49,10 +49,10 @@
|
||||||
<color name="spacebar_text_shadow_color_holo">#80000000</color>
|
<color name="spacebar_text_shadow_color_holo">#80000000</color>
|
||||||
<color name="gesture_floating_preview_color_holo">#C0000000</color>
|
<color name="gesture_floating_preview_color_holo">#C0000000</color>
|
||||||
<!-- Color resources for KLP theme. Base color = F0F0F0 -->
|
<!-- Color resources for KLP theme. Base color = F0F0F0 -->
|
||||||
<color name="highlight_color_holo">#FFF0F0F0</color>
|
<color name="highlight_color_klp">#FFF0F0F0</color>
|
||||||
<color name="typed_word_color_holo">#D8F0F0F0</color>
|
<color name="typed_word_color_klp">#D8F0F0F0</color>
|
||||||
<color name="suggested_word_color_holo">#B2F0F0F0</color>
|
<color name="suggested_word_color_klp">#B2F0F0F0</color>
|
||||||
<color name="highlight_translucent_color_holo">#99E0E0E0</color>
|
<color name="highlight_translucent_color_klp">#99E0E0E0</color>
|
||||||
<!-- Color resources for setup wizard and tutorial -->
|
<!-- Color resources for setup wizard and tutorial -->
|
||||||
<color name="setup_background">#FFEBEBEB</color>
|
<color name="setup_background">#FFEBEBEB</color>
|
||||||
<color name="setup_text_dark">#FF707070</color>
|
<color name="setup_text_dark">#FF707070</color>
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
<item name="maxMoreKeysColumn">@integer/config_max_more_keys_column</item>
|
<item name="maxMoreKeysColumn">@integer/config_max_more_keys_column</item>
|
||||||
</style>
|
</style>
|
||||||
<style name="KeyboardView">
|
<style name="KeyboardView">
|
||||||
<item name="keyBackground">@drawable/btn_keyboard_key_ics</item>
|
<item name="keyBackground">@drawable/btn_keyboard_key_klp</item>
|
||||||
<item name="keyLetterSize">@fraction/key_letter_ratio</item>
|
<item name="keyLetterSize">@fraction/key_letter_ratio</item>
|
||||||
<item name="keyLargeLetterRatio">@fraction/key_large_letter_ratio</item>
|
<item name="keyLargeLetterRatio">@fraction/key_large_letter_ratio</item>
|
||||||
<item name="keyLabelSize">@fraction/key_label_ratio</item>
|
<item name="keyLabelSize">@fraction/key_label_ratio</item>
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<!--
|
<!--
|
||||||
/*
|
/*
|
||||||
**
|
**
|
||||||
** Copyright 2011, The Android Open Source Project
|
** Copyright 2013, The Android Open Source Project
|
||||||
**
|
**
|
||||||
** Licensed under the Apache License, Version 2.0 (the "License");
|
** Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
** you may not use this file except in compliance with the License.
|
** you may not use this file except in compliance with the License.
|
||||||
|
@ -19,19 +19,19 @@
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<resources xmlns:android="http://schemas.android.com/apk/res/android">
|
<resources xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
<style name="KeyboardTheme.ICS" parent="KeyboardIcons.Holo">
|
<style name="KeyboardTheme.KLP" parent="KeyboardIcons.Holo">
|
||||||
<item name="keyboardStyle">@style/Keyboard.ICS</item>
|
<item name="keyboardStyle">@style/Keyboard.KLP</item>
|
||||||
<item name="keyboardViewStyle">@style/KeyboardView.ICS</item>
|
<item name="keyboardViewStyle">@style/KeyboardView.KLP</item>
|
||||||
<item name="mainKeyboardViewStyle">@style/MainKeyboardView.ICS</item>
|
<item name="mainKeyboardViewStyle">@style/MainKeyboardView.KLP</item>
|
||||||
<item name="emojiPalettesViewStyle">@style/EmojiPalettesView.ICS</item>
|
<item name="emojiPalettesViewStyle">@style/EmojiPalettesView.KLP</item>
|
||||||
<item name="moreKeysKeyboardStyle">@style/MoreKeysKeyboard.ICS</item>
|
<item name="moreKeysKeyboardStyle">@style/MoreKeysKeyboard.KLP</item>
|
||||||
<item name="moreKeysKeyboardViewStyle">@style/MoreKeysKeyboardView.ICS</item>
|
<item name="moreKeysKeyboardViewStyle">@style/MoreKeysKeyboardView.KLP</item>
|
||||||
<item name="moreKeysKeyboardContainerStyle">@style/MoreKeysKeyboardContainer.ICS</item>
|
<item name="moreKeysKeyboardContainerStyle">@style/MoreKeysKeyboardContainer.KLP</item>
|
||||||
<item name="suggestionStripViewStyle">@style/SuggestionStripView.ICS</item>
|
<item name="suggestionStripViewStyle">@style/SuggestionStripView.KLP</item>
|
||||||
<item name="suggestionWordStyle">@style/SuggestionWord.ICS</item>
|
<item name="suggestionWordStyle">@style/SuggestionWord.KLP</item>
|
||||||
</style>
|
</style>
|
||||||
<style
|
<style
|
||||||
name="Keyboard.ICS"
|
name="Keyboard.KLP"
|
||||||
parent="Keyboard"
|
parent="Keyboard"
|
||||||
>
|
>
|
||||||
<!-- This should be aligned with KeyboardSwitcher.KEYBOARD_THEMES[] -->
|
<!-- This should be aligned with KeyboardSwitcher.KEYBOARD_THEMES[] -->
|
||||||
|
@ -43,11 +43,11 @@
|
||||||
<item name="touchPositionCorrectionData">@array/touch_position_correction_data_holo</item>
|
<item name="touchPositionCorrectionData">@array/touch_position_correction_data_holo</item>
|
||||||
</style>
|
</style>
|
||||||
<style
|
<style
|
||||||
name="KeyboardView.ICS"
|
name="KeyboardView.KLP"
|
||||||
parent="KeyboardView"
|
parent="KeyboardView"
|
||||||
>
|
>
|
||||||
<item name="android:background">@drawable/keyboard_background_holo</item>
|
<item name="android:background">@drawable/keyboard_background_holo</item>
|
||||||
<item name="keyBackground">@drawable/btn_keyboard_key_ics</item>
|
<item name="keyBackground">@drawable/btn_keyboard_key_klp</item>
|
||||||
<item name="keyTypeface">bold</item>
|
<item name="keyTypeface">bold</item>
|
||||||
<item name="keyTextColor">@color/key_text_color_holo</item>
|
<item name="keyTextColor">@color/key_text_color_holo</item>
|
||||||
<item name="keyTextInactivatedColor">@color/key_text_inactivated_color_holo</item>
|
<item name="keyTextInactivatedColor">@color/key_text_inactivated_color_holo</item>
|
||||||
|
@ -60,15 +60,15 @@
|
||||||
<item name="keyTextShadowRadius">0.0</item>
|
<item name="keyTextShadowRadius">0.0</item>
|
||||||
</style>
|
</style>
|
||||||
<style
|
<style
|
||||||
name="MainKeyboardView.ICS"
|
name="MainKeyboardView.KLP"
|
||||||
parent="KeyboardView.ICS"
|
parent="KeyboardView.KLP"
|
||||||
>
|
>
|
||||||
<item name="keyPreviewLayout">@layout/key_preview_ics</item>
|
<item name="keyPreviewLayout">@layout/key_preview_klp</item>
|
||||||
<item name="keyPreviewOffset">@dimen/key_preview_offset_holo</item>
|
<item name="keyPreviewOffset">@dimen/key_preview_offset_holo</item>
|
||||||
<item name="gestureFloatingPreviewTextColor">@color/highlight_color_holo</item>
|
<item name="gestureFloatingPreviewTextColor">@color/highlight_color_klp</item>
|
||||||
<item name="gestureFloatingPreviewColor">@color/gesture_floating_preview_color_holo</item>
|
<item name="gestureFloatingPreviewColor">@color/gesture_floating_preview_color_holo</item>
|
||||||
<item name="gestureTrailColor">@color/highlight_color_holo</item>
|
<item name="gestureTrailColor">@color/highlight_color_klp</item>
|
||||||
<item name="slidingKeyInputPreviewColor">@color/highlight_translucent_color_holo</item>
|
<item name="slidingKeyInputPreviewColor">@color/highlight_translucent_color_klp</item>
|
||||||
<item name="autoCorrectionSpacebarLedEnabled">false</item>
|
<item name="autoCorrectionSpacebarLedEnabled">false</item>
|
||||||
<item name="autoCorrectionSpacebarLedIcon">@drawable/sym_keyboard_space_led_holo</item>
|
<item name="autoCorrectionSpacebarLedIcon">@drawable/sym_keyboard_space_led_holo</item>
|
||||||
<item name="spacebarTextColor">@color/spacebar_text_color_holo</item>
|
<item name="spacebarTextColor">@color/spacebar_text_color_holo</item>
|
||||||
|
@ -77,15 +77,15 @@
|
||||||
<!-- Though {@link EmojiPalettesView} doesn't extend {@link KeyboardView}, some views inside it,
|
<!-- Though {@link EmojiPalettesView} doesn't extend {@link KeyboardView}, some views inside it,
|
||||||
for instance delete button, need themed {@link KeyboardView} attributes. -->
|
for instance delete button, need themed {@link KeyboardView} attributes. -->
|
||||||
<style
|
<style
|
||||||
name="EmojiPalettesView.ICS"
|
name="EmojiPalettesView.KLP"
|
||||||
parent="KeyboardView.ICS"
|
parent="KeyboardView.KLP"
|
||||||
>
|
>
|
||||||
<item name="keyBackgroundEmojiFunctional">@drawable/btn_keyboard_key_functional_ics</item>
|
<item name="keyBackgroundEmojiFunctional">@drawable/btn_keyboard_key_functional_klp</item>
|
||||||
<item name="emojiTabLabelColor">@color/emoji_tab_label_color_holo</item>
|
<item name="emojiTabLabelColor">@color/emoji_tab_label_color_holo</item>
|
||||||
</style>
|
</style>
|
||||||
<style
|
<style
|
||||||
name="MoreKeysKeyboard.ICS"
|
name="MoreKeysKeyboard.KLP"
|
||||||
parent="Keyboard.ICS"
|
parent="Keyboard.KLP"
|
||||||
>
|
>
|
||||||
<item name="keyboardTopPadding">0%p</item>
|
<item name="keyboardTopPadding">0%p</item>
|
||||||
<item name="keyboardBottomPadding">0%p</item>
|
<item name="keyboardBottomPadding">0%p</item>
|
||||||
|
@ -93,32 +93,32 @@
|
||||||
<item name="touchPositionCorrectionData">@null</item>
|
<item name="touchPositionCorrectionData">@null</item>
|
||||||
</style>
|
</style>
|
||||||
<style
|
<style
|
||||||
name="MoreKeysKeyboardView.ICS"
|
name="MoreKeysKeyboardView.KLP"
|
||||||
parent="KeyboardView.ICS"
|
parent="KeyboardView.KLP"
|
||||||
>
|
>
|
||||||
<item name="android:background">@null</item>
|
<item name="android:background">@null</item>
|
||||||
<item name="keyBackground">@drawable/btn_keyboard_key_popup_ics</item>
|
<item name="keyBackground">@drawable/btn_keyboard_key_popup_klp</item>
|
||||||
<item name="keyTypeface">normal</item>
|
<item name="keyTypeface">normal</item>
|
||||||
<item name="verticalCorrection">@dimen/more_keys_keyboard_vertical_correction_holo</item>
|
<item name="verticalCorrection">@dimen/more_keys_keyboard_vertical_correction_holo</item>
|
||||||
</style>
|
</style>
|
||||||
<style
|
<style
|
||||||
name="MoreKeysKeyboardContainer.ICS"
|
name="MoreKeysKeyboardContainer.KLP"
|
||||||
>
|
>
|
||||||
<item name="android:background">@drawable/keyboard_popup_panel_background_holo</item>
|
<item name="android:background">@drawable/keyboard_popup_panel_background_klp</item>
|
||||||
</style>
|
</style>
|
||||||
<style
|
<style
|
||||||
name="SuggestionStripView.ICS"
|
name="SuggestionStripView.KLP"
|
||||||
parent="SuggestionStripView"
|
parent="SuggestionStripView"
|
||||||
>
|
>
|
||||||
<item name="android:background">@drawable/keyboard_suggest_strip_holo</item>
|
<item name="android:background">@drawable/keyboard_suggest_strip_holo</item>
|
||||||
<item name="suggestionStripOption">autoCorrectBold|validTypedWordBold</item>
|
<item name="suggestionStripOption">autoCorrectBold|validTypedWordBold</item>
|
||||||
<item name="colorValidTypedWord">@color/typed_word_color_holo</item>
|
<item name="colorValidTypedWord">@color/typed_word_color_klp</item>
|
||||||
<item name="colorTypedWord">@color/typed_word_color_holo</item>
|
<item name="colorTypedWord">@color/typed_word_color_klp</item>
|
||||||
<item name="colorAutoCorrect">@color/highlight_color_holo</item>
|
<item name="colorAutoCorrect">@color/highlight_color_klp</item>
|
||||||
<item name="colorSuggested">@color/suggested_word_color_holo</item>
|
<item name="colorSuggested">@color/suggested_word_color_klp</item>
|
||||||
<item name="alphaObsoleted">70%</item>
|
<item name="alphaObsoleted">70%</item>
|
||||||
</style>
|
</style>
|
||||||
<style name="SuggestionWord.ICS">
|
<style name="SuggestionWord.KLP">
|
||||||
<item name="android:background">@drawable/btn_suggestion_ics</item>
|
<item name="android:background">@drawable/btn_suggestion_klp</item>
|
||||||
</style>
|
</style>
|
||||||
</resources>
|
</resources>
|
|
@ -58,7 +58,7 @@ public final class KeyboardSwitcher implements KeyboardState.SwitchActions {
|
||||||
}
|
}
|
||||||
|
|
||||||
private static final KeyboardTheme[] KEYBOARD_THEMES = {
|
private static final KeyboardTheme[] KEYBOARD_THEMES = {
|
||||||
new KeyboardTheme(0, R.style.KeyboardTheme_ICS),
|
new KeyboardTheme(0, R.style.KeyboardTheme_KLP),
|
||||||
new KeyboardTheme(1, R.style.KeyboardTheme_GB),
|
new KeyboardTheme(1, R.style.KeyboardTheme_GB),
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|