diff options
Diffstat (limited to 'java/res')
-rw-r--r-- | java/res/values-hdpi/keyboard_key_feedback_background_holo.xml | 24 | ||||
-rw-r--r-- | java/res/values-land/dimens.xml | 2 | ||||
-rw-r--r-- | java/res/values-mdpi/keyboard_key_feedback_background_holo.xml | 24 | ||||
-rw-r--r-- | java/res/values-xhdpi/keyboard_key_feedback_background_holo.xml | 24 | ||||
-rw-r--r-- | java/res/values/attrs.xml | 4 | ||||
-rw-r--r-- | java/res/values/dimens.xml | 3 | ||||
-rw-r--r-- | java/res/values/styles.xml | 6 |
7 files changed, 2 insertions, 85 deletions
diff --git a/java/res/values-hdpi/keyboard_key_feedback_background_holo.xml b/java/res/values-hdpi/keyboard_key_feedback_background_holo.xml deleted file mode 100644 index 8ab32269d..000000000 --- a/java/res/values-hdpi/keyboard_key_feedback_background_holo.xml +++ /dev/null @@ -1,24 +0,0 @@ -<?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> - <dimen name="keyboard_key_feedback_background_holo_width">46.67dp</dimen> - <dimen name="keyboard_key_feedback_background_holo_height">58.67dp</dimen> -</resources> diff --git a/java/res/values-land/dimens.xml b/java/res/values-land/dimens.xml index 1157b2733..62597258c 100644 --- a/java/res/values-land/dimens.xml +++ b/java/res/values-land/dimens.xml @@ -53,7 +53,7 @@ <fraction name="key_uppercase_letter_ratio">40%</fraction> <fraction name="key_preview_text_ratio">90%</fraction> <fraction name="spacebar_text_ratio">40.000%</fraction> - <dimen name="key_preview_offset">12.8dp</dimen> + <dimen name="key_preview_offset">0.0dp</dimen> <dimen name="key_preview_offset_ics">1.6dp</dimen> <!-- popup_key_height x -0.5 --> diff --git a/java/res/values-mdpi/keyboard_key_feedback_background_holo.xml b/java/res/values-mdpi/keyboard_key_feedback_background_holo.xml deleted file mode 100644 index 10fef3d48..000000000 --- a/java/res/values-mdpi/keyboard_key_feedback_background_holo.xml +++ /dev/null @@ -1,24 +0,0 @@ -<?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> - <dimen name="keyboard_key_feedback_background_holo_width">46dp</dimen> - <dimen name="keyboard_key_feedback_background_holo_height">58dp</dimen> -</resources> diff --git a/java/res/values-xhdpi/keyboard_key_feedback_background_holo.xml b/java/res/values-xhdpi/keyboard_key_feedback_background_holo.xml deleted file mode 100644 index fba602626..000000000 --- a/java/res/values-xhdpi/keyboard_key_feedback_background_holo.xml +++ /dev/null @@ -1,24 +0,0 @@ -<?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> - <dimen name="keyboard_key_feedback_background_holo_width">47dp</dimen> - <dimen name="keyboard_key_feedback_background_holo_height">57dp</dimen> -</resources> diff --git a/java/res/values/attrs.xml b/java/res/values/attrs.xml index 844b8e96d..4bf5414a1 100644 --- a/java/res/values/attrs.xml +++ b/java/res/values/attrs.xml @@ -91,10 +91,6 @@ <attr name="keyPreviewLeftBackground" format="reference" /> <!-- The background for the right edge key press feedback. --> <attr name="keyPreviewRightBackground" format="reference" /> - <!-- The width of rectangle part of the key press feedback background. --> - <attr name="keyPreviewBackgroundWidth" format="dimension" /> - <!-- The height of rectangle part of the key press feedback background. --> - <attr name="keyPreviewBackgroundHeight" format="dimension" /> <!-- The text color for key press feedback. --> <attr name="keyPreviewTextColor" format="color" /> <!-- Vertical offset of the key press feedback from the key. --> diff --git a/java/res/values/dimens.xml b/java/res/values/dimens.xml index 7eb57c3cf..d8d58dfa0 100644 --- a/java/res/values/dimens.xml +++ b/java/res/values/dimens.xml @@ -27,7 +27,6 @@ <dimen name="popup_key_height">52.8dp</dimen> - <dimen name="more_keys_keyboard_horizontal_edges_padding">16dp</dimen> <dimen name="more_keys_keyboard_key_horizontal_padding">8dp</dimen> <fraction name="keyboard_top_padding">1.556%p</fraction> @@ -66,7 +65,7 @@ <fraction name="key_preview_text_ratio">82%</fraction> <fraction name="spacebar_text_ratio">33.735%</fraction> <dimen name="key_preview_height">80dp</dimen> - <dimen name="key_preview_offset">16.0dp</dimen> + <dimen name="key_preview_offset">-8.0dp</dimen> <dimen name="key_label_horizontal_padding">4dp</dimen> <dimen name="key_hint_letter_padding">1dp</dimen> diff --git a/java/res/values/styles.xml b/java/res/values/styles.xml index 1f8c37550..b3c921e9e 100644 --- a/java/res/values/styles.xml +++ b/java/res/values/styles.xml @@ -108,8 +108,6 @@ </style> <style name="MoreKeysKeyboardPanelStyle"> <item name="android:background">@drawable/keyboard_popup_panel_background</item> - <item name="android:paddingLeft">@dimen/more_keys_keyboard_horizontal_edges_padding</item> - <item name="android:paddingRight">@dimen/more_keys_keyboard_horizontal_edges_padding</item> </style> <style name="SuggestionsStripBackgroundStyle"> <item name="android:background">@drawable/keyboard_suggest_strip</item> @@ -311,8 +309,6 @@ <item name="keyPreviewBackground">@drawable/keyboard_key_feedback_ics</item> <item name="keyPreviewLeftBackground">@drawable/keyboard_key_feedback_left_ics</item> <item name="keyPreviewRightBackground">@drawable/keyboard_key_feedback_right_ics</item> - <item name="keyPreviewBackgroundWidth">@dimen/keyboard_key_feedback_background_holo_width</item> - <item name="keyPreviewBackgroundHeight">@dimen/keyboard_key_feedback_background_holo_height</item> <item name="keyPreviewTextColor">#FFFFFFFF</item> <item name="keyPreviewOffset">@dimen/key_preview_offset_ics</item> <item name="shadowColor">#00000000</item> @@ -346,8 +342,6 @@ </style> <style name="MoreKeysKeyboardPanelStyle.IceCreamSandwich"> <item name="android:background">@drawable/keyboard_popup_panel_background_holo</item> - <item name="android:paddingLeft">@dimen/more_keys_keyboard_horizontal_edges_padding_ics</item> - <item name="android:paddingRight">@dimen/more_keys_keyboard_horizontal_edges_padding_ics</item> </style> <style name="SuggestionsStripBackgroundStyle.IceCreamSandwich"> <item name="android:background">@drawable/keyboard_suggest_strip_holo</item> |