2010-08-20 05:35:02 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!-- Copyright (C) 2010 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>
|
2011-05-24 12:08:20 +00:00
|
|
|
<!-- Theme "Basic" -->
|
2010-12-02 09:46:21 +00:00
|
|
|
<style name="KeyboardView">
|
2010-08-20 05:35:02 +00:00
|
|
|
<item name="android:background">@drawable/keyboard_background</item>
|
|
|
|
<item name="keyBackground">@drawable/btn_keyboard_key</item>
|
2011-05-12 14:49:19 +00:00
|
|
|
<item name="keyLetterRatio">@fraction/key_letter_ratio</item>
|
2010-12-01 03:22:19 +00:00
|
|
|
<item name="keyLetterStyle">normal</item>
|
2010-08-20 05:35:02 +00:00
|
|
|
<item name="keyTextColor">#FFFFFFFF</item>
|
2010-12-01 03:22:19 +00:00
|
|
|
<item name="keyTextColorDisabled">#FFFFFFFF</item>
|
2010-09-13 12:54:15 +00:00
|
|
|
<item name="keyPreviewLayout">@layout/key_preview</item>
|
2010-09-28 05:35:21 +00:00
|
|
|
<item name="keyPreviewOffset">@dimen/key_preview_offset</item>
|
|
|
|
<item name="keyPreviewHeight">@dimen/key_preview_height</item>
|
2011-05-12 14:49:19 +00:00
|
|
|
<item name="labelTextRatio">@fraction/key_label_text_ratio</item>
|
2010-09-13 12:54:15 +00:00
|
|
|
<item name="popupLayout">@layout/keyboard_popup</item>
|
2010-09-28 05:35:21 +00:00
|
|
|
<item name="keyHysteresisDistance">@dimen/key_hysteresis_distance</item>
|
2010-09-27 08:07:09 +00:00
|
|
|
<item name="verticalCorrection">@dimen/keyboard_vertical_correction</item>
|
2010-08-20 05:35:02 +00:00
|
|
|
<item name="shadowColor">#BB000000</item>
|
|
|
|
<item name="shadowRadius">2.75</item>
|
|
|
|
<item name="backgroundDimAmount">0.5</item>
|
2010-11-22 00:40:38 +00:00
|
|
|
<item name="colorScheme">white</item>
|
2010-08-20 05:35:02 +00:00
|
|
|
</style>
|
2011-05-24 12:08:20 +00:00
|
|
|
<style name="KeyPreviewStyle">
|
|
|
|
<item name="android:background">@drawable/keyboard_key_feedback</item>
|
|
|
|
</style>
|
|
|
|
<style name="PopupMiniKeyboardView" parent="KeyboardView">
|
|
|
|
<item name="keyBackground">@drawable/btn_keyboard_key_popup</item>
|
|
|
|
<item name="keyHysteresisDistance">0dip</item>
|
|
|
|
<item name="verticalCorrection">@dimen/mini_keyboard_vertical_correction</item>
|
|
|
|
</style>
|
|
|
|
<style name="PopupMiniKeyboardPanelStyle">
|
|
|
|
<item name="android:background">@drawable/keyboard_popup_panel_background</item>
|
|
|
|
<item name="android:paddingLeft">@dimen/mini_keyboard_horizontal_padding</item>
|
|
|
|
<item name="android:paddingRight">@dimen/mini_keyboard_horizontal_padding</item>
|
|
|
|
</style>
|
|
|
|
<style name="SuggestionsStripBackgroundStyle">
|
|
|
|
<item name="android:background">@drawable/keyboard_suggest_strip</item>
|
|
|
|
</style>
|
|
|
|
<style name="SuggestionBackgroundStyle">
|
|
|
|
<item name="android:background">@drawable/btn_candidate</item>
|
|
|
|
</style>
|
|
|
|
<style name="SuggestionPreviewBackgroundStyle">
|
|
|
|
<item name="android:background">@drawable/candidate_feedback_background</item>
|
|
|
|
</style>
|
|
|
|
<!-- Theme "Basic high contrast" -->
|
|
|
|
<style name="KeyboardView.HighContrast" parent="KeyboardView">
|
|
|
|
<item name="android:background">@android:color/black</item>
|
|
|
|
<item name="keyBackground">@drawable/btn_keyboard_key3</item>
|
|
|
|
</style>
|
|
|
|
<!-- Theme "Stone" -->
|
|
|
|
<style name="KeyboardView.Stone" parent="KeyboardView">
|
|
|
|
<item name="keyBackground">@drawable/btn_keyboard_key_stone</item>
|
|
|
|
<item name="keyTextColor">@color/latinkeyboard_key_color_black</item>
|
|
|
|
<item name="keyTextColorDisabled">#FF808080</item>
|
|
|
|
<item name="shadowColor">@color/latinkeyboard_key_color_white</item>
|
|
|
|
<item name="colorScheme">black</item>
|
|
|
|
</style>
|
|
|
|
<style name="PopupMiniKeyboardView.Stone" parent="PopupMiniKeyboardView">
|
|
|
|
<item name="keyBackground">@drawable/btn_keyboard_key_stone</item>
|
|
|
|
<item name="keyTextColor">@color/latinkeyboard_key_color_black</item>
|
|
|
|
<item name="shadowColor">@color/latinkeyboard_key_color_white</item>
|
|
|
|
</style>
|
|
|
|
<!-- Theme "Stone bold" -->
|
|
|
|
<style name="KeyboardView.Stone.Bold" parent="KeyboardView.Stone">
|
|
|
|
<item name="keyLetterStyle">bold</item>
|
|
|
|
</style>
|
|
|
|
<!-- Theme "Gingerbread" -->
|
|
|
|
<style name="KeyboardView.Gingerbread" parent="KeyboardView">
|
|
|
|
<item name="android:background">@drawable/keyboard_dark_background</item>
|
|
|
|
<item name="keyBackground">@drawable/btn_keyboard_key_gingerbread</item>
|
|
|
|
<item name="keyLetterStyle">bold</item>
|
|
|
|
</style>
|
|
|
|
<style name="PopupMiniKeyboardView.Gingerbread" parent="PopupMiniKeyboardView">
|
|
|
|
<item name="android:background">@null</item>
|
|
|
|
</style>
|
|
|
|
<!-- Theme "Honeycomb" -->
|
|
|
|
<style name="KeyboardView.Honeycomb" parent="KeyboardView">
|
|
|
|
<item name="android:background">@drawable/keyboard_background_holo</item>
|
|
|
|
<item name="keyBackground">@drawable/btn_keyboard_key_honeycomb</item>
|
|
|
|
<item name="keyPreviewHeight">@dimen/key_preview_height_holo</item>
|
|
|
|
<item name="keyPreviewOffset">@dimen/key_preview_offset_holo</item>
|
|
|
|
<item name="keyTextColorDisabled">#FF63666D</item>
|
|
|
|
<item name="keyLetterStyle">bold</item>
|
|
|
|
<item name="shadowColor">#00000000</item>
|
|
|
|
<item name="shadowRadius">0.0</item>
|
|
|
|
</style>
|
|
|
|
<style name="KeyPreviewStyle.Honeycomb">
|
|
|
|
<item name="android:background">@drawable/keyboard_key_feedback_honeycomb</item>
|
|
|
|
</style>
|
|
|
|
<style name="PopupMiniKeyboardView.Honeycomb" parent="PopupMiniKeyboardView">
|
|
|
|
<item name="android:background">@null</item>
|
|
|
|
<item name="keyBackground">@drawable/btn_keyboard_key_popup_honeycomb</item>
|
|
|
|
</style>
|
|
|
|
<style name="PopupMiniKeyboardPanelStyle.Honeycomb">
|
|
|
|
<item name="android:background">@drawable/keyboard_popup_panel_background_holo</item>
|
|
|
|
<item name="android:paddingLeft">@dimen/mini_keyboard_horizontal_padding_holo</item>
|
|
|
|
<item name="android:paddingRight">@dimen/mini_keyboard_horizontal_padding_holo</item>
|
|
|
|
</style>
|
|
|
|
<style name="SuggestionsStripBackgroundStyle.Holo">
|
|
|
|
<item name="android:background">@drawable/keyboard_suggest_strip_holo</item>
|
|
|
|
</style>
|
|
|
|
<style name="SuggestionBackgroundStyle.Holo">
|
|
|
|
<item name="android:background">@drawable/btn_candidate_holo</item>
|
|
|
|
</style>
|
|
|
|
<style name="SuggestionPreviewBackgroundStyle.Holo">
|
|
|
|
<item name="android:background">@drawable/keyboard_popup_panel_background_holo</item>
|
|
|
|
</style>
|
2011-04-27 05:14:45 +00:00
|
|
|
<style name="PopupMiniKeyboardAnimation">
|
2010-09-16 05:54:45 +00:00
|
|
|
<item name="android:windowEnterAnimation">@anim/mini_keyboard_fadein</item>
|
|
|
|
<item name="android:windowExitAnimation">@anim/mini_keyboard_fadeout</item>
|
|
|
|
</style>
|
2010-08-20 05:35:02 +00:00
|
|
|
</resources>
|