diff options
author | 2014-05-09 10:44:33 +0000 | |
---|---|---|
committer | 2014-05-09 10:44:33 +0000 | |
commit | 159071fd19aeb9921b403ab23d72183f6f210ca6 (patch) | |
tree | 3feaea37a1a86cfc56373366b1c670bebe00a347 /java/res/drawable | |
parent | dd9ed45c6332e6cb45da0953d23b9748ddddc548 (diff) | |
download | latinime-159071fd19aeb9921b403ab23d72183f6f210ca6.tar.gz latinime-159071fd19aeb9921b403ab23d72183f6f210ca6.tar.xz latinime-159071fd19aeb9921b403ab23d72183f6f210ca6.zip |
Revert "Add pseudo LMP theme"
This reverts commit dd9ed45c6332e6cb45da0953d23b9748ddddc548.
Unit test breakage.
https://sponge.corp.google.com/target?id=f7fd85a6-8e3b-4fda-8c84-d4e1b342e839&target=com.google.android.inputmethod.latin.tests&searchFor=&show=FAILED&sortBy=STATUS
Change-Id: Ia971834b368890c344a06602473a56887709bbca
Diffstat (limited to 'java/res/drawable')
-rw-r--r-- | java/res/drawable/btn_keyboard_key_functional_lmp.xml | 22 | ||||
-rw-r--r-- | java/res/drawable/btn_keyboard_key_ics.xml | 2 | ||||
-rw-r--r-- | java/res/drawable/btn_keyboard_key_klp.xml | 2 | ||||
-rw-r--r-- | java/res/drawable/btn_keyboard_key_lmp.xml | 48 | ||||
-rw-r--r-- | java/res/drawable/btn_keyboard_key_popup_ics.xml | 2 | ||||
-rw-r--r-- | java/res/drawable/btn_keyboard_key_popup_klp.xml | 2 | ||||
-rw-r--r-- | java/res/drawable/btn_keyboard_key_popup_lmp.xml | 21 | ||||
-rw-r--r-- | java/res/drawable/btn_keyboard_spacebar_lmp.xml | 21 | ||||
-rw-r--r-- | java/res/drawable/keyboard_key_feedback_lmp.xml | 36 | ||||
-rw-r--r-- | java/res/drawable/transparent.xml (renamed from java/res/drawable/btn_suggestion_lmp.xml) | 15 |
10 files changed, 13 insertions, 158 deletions
diff --git a/java/res/drawable/btn_keyboard_key_functional_lmp.xml b/java/res/drawable/btn_keyboard_key_functional_lmp.xml deleted file mode 100644 index 427b8d568..000000000 --- a/java/res/drawable/btn_keyboard_key_functional_lmp.xml +++ /dev/null @@ -1,22 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Copyright (C) 2014 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. ---> - -<selector xmlns:android="http://schemas.android.com/apk/res/android"> - <!-- Functional keys. --> - <item android:state_pressed="true" - android:drawable="@drawable/btn_keyboard_key_dark_pressed_lmp" /> - <item android:drawable="@android:color/transparent" /> -</selector> diff --git a/java/res/drawable/btn_keyboard_key_ics.xml b/java/res/drawable/btn_keyboard_key_ics.xml index 9db0eeef4..259bb9ba5 100644 --- a/java/res/drawable/btn_keyboard_key_ics.xml +++ b/java/res/drawable/btn_keyboard_key_ics.xml @@ -39,7 +39,7 @@ <!-- Empty background keys. --> <item android:state_empty="true" - android:drawable="@android:color/transparent" /> + android:drawable="@drawable/transparent" /> <!-- Normal keys. --> <item android:state_pressed="true" diff --git a/java/res/drawable/btn_keyboard_key_klp.xml b/java/res/drawable/btn_keyboard_key_klp.xml index 500e3ea75..16b5fa00b 100644 --- a/java/res/drawable/btn_keyboard_key_klp.xml +++ b/java/res/drawable/btn_keyboard_key_klp.xml @@ -39,7 +39,7 @@ <!-- Empty background keys. --> <item android:state_empty="true" - android:drawable="@android:color/transparent" /> + android:drawable="@drawable/transparent" /> <!-- Normal keys. --> <item android:state_pressed="true" diff --git a/java/res/drawable/btn_keyboard_key_lmp.xml b/java/res/drawable/btn_keyboard_key_lmp.xml deleted file mode 100644 index fdd19df68..000000000 --- a/java/res/drawable/btn_keyboard_key_lmp.xml +++ /dev/null @@ -1,48 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Copyright (C) 2014 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. ---> - -<selector xmlns:android="http://schemas.android.com/apk/res/android"> - <!-- Functional keys. --> - <item android:state_single="true" android:state_pressed="true" - android:drawable="@drawable/btn_keyboard_key_dark_pressed_lmp" /> - <item android:state_single="true" - android:drawable="@android:color/transparent" /> - - <!-- Action keys. --> - <item android:state_active="true" android:state_pressed="true" - android:drawable="@drawable/btn_keyboard_key_dark_pressed_lmp" /> - <item android:state_active="true" - android:drawable="@android:color/transparent" /> - - <!-- Toggle keys. Use checkable/checked state. --> - <item android:state_checkable="true" android:state_checked="true" android:state_pressed="true" - android:drawable="@drawable/btn_keyboard_key_dark_pressed_on_lmp" /> - <item android:state_checkable="true" android:state_pressed="true" - android:drawable="@drawable/btn_keyboard_key_dark_pressed_lmp" /> - <item android:state_checkable="true" android:state_checked="true" - android:drawable="@drawable/btn_keyboard_key_dark_normal_on_lmp" /> - <item android:state_checkable="true" - android:drawable="@android:color/transparent" /> - - <!-- Empty background keys. --> - <item android:state_empty="true" - android:drawable="@android:color/transparent" /> - - <!-- Normal keys. --> - <item android:state_pressed="true" - android:drawable="@drawable/btn_keyboard_key_light_pressed_lmp" /> - <item android:drawable="@android:color/transparent" /> -</selector> diff --git a/java/res/drawable/btn_keyboard_key_popup_ics.xml b/java/res/drawable/btn_keyboard_key_popup_ics.xml index 17d646b8f..31b613176 100644 --- a/java/res/drawable/btn_keyboard_key_popup_ics.xml +++ b/java/res/drawable/btn_keyboard_key_popup_ics.xml @@ -17,5 +17,5 @@ <selector xmlns:android="http://schemas.android.com/apk/res/android"> <item android:state_pressed="true" android:drawable="@drawable/btn_keyboard_key_popup_selected_ics" /> - <item android:drawable="@android:color/transparent" /> + <item android:drawable="@drawable/transparent" /> </selector> diff --git a/java/res/drawable/btn_keyboard_key_popup_klp.xml b/java/res/drawable/btn_keyboard_key_popup_klp.xml index 9dfc93ae8..62cbca8ae 100644 --- a/java/res/drawable/btn_keyboard_key_popup_klp.xml +++ b/java/res/drawable/btn_keyboard_key_popup_klp.xml @@ -17,5 +17,5 @@ <selector xmlns:android="http://schemas.android.com/apk/res/android"> <item android:state_pressed="true" android:drawable="@drawable/btn_keyboard_key_popup_selected_klp" /> - <item android:drawable="@android:color/transparent" /> + <item android:drawable="@drawable/transparent" /> </selector> diff --git a/java/res/drawable/btn_keyboard_key_popup_lmp.xml b/java/res/drawable/btn_keyboard_key_popup_lmp.xml deleted file mode 100644 index ebedaea3a..000000000 --- a/java/res/drawable/btn_keyboard_key_popup_lmp.xml +++ /dev/null @@ -1,21 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Copyright (C) 2014 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. ---> - -<selector xmlns:android="http://schemas.android.com/apk/res/android"> - <item android:state_pressed="true" - android:drawable="@drawable/btn_keyboard_key_popup_selected_lmp" /> - <item android:drawable="@android:color/transparent" /> -</selector> diff --git a/java/res/drawable/btn_keyboard_spacebar_lmp.xml b/java/res/drawable/btn_keyboard_spacebar_lmp.xml deleted file mode 100644 index 516cb0731..000000000 --- a/java/res/drawable/btn_keyboard_spacebar_lmp.xml +++ /dev/null @@ -1,21 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Copyright (C) 2014 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. ---> - -<selector xmlns:android="http://schemas.android.com/apk/res/android"> - <item android:state_pressed="true" - android:drawable="@drawable/btn_keyboard_key_light_pressed_lmp" /> - <item android:drawable="@android:color/transparent" /> -</selector> diff --git a/java/res/drawable/keyboard_key_feedback_lmp.xml b/java/res/drawable/keyboard_key_feedback_lmp.xml deleted file mode 100644 index cdbe64c38..000000000 --- a/java/res/drawable/keyboard_key_feedback_lmp.xml +++ /dev/null @@ -1,36 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Copyright (C) 2014 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. ---> - -<selector - xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin" -> - <!-- Left edge --> - <item latin:state_left_edge="true" latin:state_has_morekeys="true" - android:drawable="@drawable/keyboard_key_feedback_left_more_background_lmp" /> - <item latin:state_left_edge="true" - android:drawable="@drawable/keyboard_key_feedback_left_background_lmp" /> - - <!-- Right edge --> - <item latin:state_right_edge="true" latin:state_has_morekeys="true" - android:drawable="@drawable/keyboard_key_feedback_right_more_background_lmp" /> - <item latin:state_right_edge="true" - android:drawable="@drawable/keyboard_key_feedback_right_background_lmp" /> - - <item latin:state_has_morekeys="true" - android:drawable="@drawable/keyboard_key_feedback_more_background_lmp" /> - <item android:drawable="@drawable/keyboard_key_feedback_background_lmp" /> -</selector> diff --git a/java/res/drawable/btn_suggestion_lmp.xml b/java/res/drawable/transparent.xml index c778e236f..855cf2ad5 100644 --- a/java/res/drawable/btn_suggestion_lmp.xml +++ b/java/res/drawable/transparent.xml @@ -2,7 +2,7 @@ <!-- /* ** -** Copyright 2014, The Android Open Source Project +** 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. @@ -18,10 +18,13 @@ */ --> -<selector +<shape xmlns:android="http://schemas.android.com/apk/res/android" + android:shape="rectangle" > - <item - android:state_pressed="true" - android:drawable="@drawable/btn_keyboard_key_popup_selected_lmp" /> -</selector> + <solid + android:color="@android:color/transparent" /> + <size + android:width="50dp" + android:height="40dp" /> +</shape> |