diff options
author | Alan Viverette <alanv@google.com> | 2014-04-14 23:08:50 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2014-04-14 23:08:51 +0000 |
commit | 325fa84c87eb480d45246f314f9321cdaefcdba7 (patch) | |
tree | 1c1d0e9882340f4b3c593cab7339fd1aea6271a0 /core | |
parent | 135a9ad4a51c9827fee40e3ff57639349fe7f236 (diff) | |
parent | 63ef4377e21197366ffe4ac8782b90c4e604e29e (diff) | |
download | frameworks_base-325fa84c87eb480d45246f314f9321cdaefcdba7.zip frameworks_base-325fa84c87eb480d45246f314f9321cdaefcdba7.tar.gz frameworks_base-325fa84c87eb480d45246f314f9321cdaefcdba7.tar.bz2 |
Merge "Update search box and text handles styling for Quantum"
Diffstat (limited to 'core')
50 files changed, 216 insertions, 8 deletions
diff --git a/core/res/res/drawable-hdpi/ic_clear_qntm_alpha.png b/core/res/res/drawable-hdpi/ic_clear_qntm_alpha.png Binary files differnew file mode 100644 index 0000000..3813563 --- /dev/null +++ b/core/res/res/drawable-hdpi/ic_clear_qntm_alpha.png diff --git a/core/res/res/drawable-hdpi/ic_commit_search_api_qntm_alpha.png b/core/res/res/drawable-hdpi/ic_commit_search_api_qntm_alpha.png Binary files differnew file mode 100644 index 0000000..47263ea --- /dev/null +++ b/core/res/res/drawable-hdpi/ic_commit_search_api_qntm_alpha.png diff --git a/core/res/res/drawable-hdpi/ic_go_search_api_qntm_alpha.png b/core/res/res/drawable-hdpi/ic_go_search_api_qntm_alpha.png Binary files differnew file mode 100644 index 0000000..aa23c59 --- /dev/null +++ b/core/res/res/drawable-hdpi/ic_go_search_api_qntm_alpha.png diff --git a/core/res/res/drawable-hdpi/ic_search_api_qntm_alpha.png b/core/res/res/drawable-hdpi/ic_search_api_qntm_alpha.png Binary files differnew file mode 100644 index 0000000..cac32b5 --- /dev/null +++ b/core/res/res/drawable-hdpi/ic_search_api_qntm_alpha.png diff --git a/core/res/res/drawable-hdpi/ic_voice_search_api_qntm_alpha.png b/core/res/res/drawable-hdpi/ic_voice_search_api_qntm_alpha.png Binary files differnew file mode 100644 index 0000000..25b8935 --- /dev/null +++ b/core/res/res/drawable-hdpi/ic_voice_search_api_qntm_alpha.png diff --git a/core/res/res/drawable-hdpi/text_select_handle_left_qntm_alpha.png b/core/res/res/drawable-hdpi/text_select_handle_left_qntm_alpha.png Binary files differnew file mode 100644 index 0000000..598b98c --- /dev/null +++ b/core/res/res/drawable-hdpi/text_select_handle_left_qntm_alpha.png diff --git a/core/res/res/drawable-hdpi/text_select_handle_middle_qntm_alpha.png b/core/res/res/drawable-hdpi/text_select_handle_middle_qntm_alpha.png Binary files differnew file mode 100644 index 0000000..df2fdb8 --- /dev/null +++ b/core/res/res/drawable-hdpi/text_select_handle_middle_qntm_alpha.png diff --git a/core/res/res/drawable-hdpi/text_select_handle_right_qntm_alpha.png b/core/res/res/drawable-hdpi/text_select_handle_right_qntm_alpha.png Binary files differnew file mode 100644 index 0000000..79fe7c5 --- /dev/null +++ b/core/res/res/drawable-hdpi/text_select_handle_right_qntm_alpha.png diff --git a/core/res/res/drawable-hdpi/textfield_search_activated_qntm_alpha.9.png b/core/res/res/drawable-hdpi/textfield_search_activated_qntm_alpha.9.png Binary files differnew file mode 100644 index 0000000..7bcebcd --- /dev/null +++ b/core/res/res/drawable-hdpi/textfield_search_activated_qntm_alpha.9.png diff --git a/core/res/res/drawable-hdpi/textfield_search_default_qntm_alpha.9.png b/core/res/res/drawable-hdpi/textfield_search_default_qntm_alpha.9.png Binary files differnew file mode 100644 index 0000000..eb1d945 --- /dev/null +++ b/core/res/res/drawable-hdpi/textfield_search_default_qntm_alpha.9.png diff --git a/core/res/res/drawable-mdpi/ic_clear_qntm_alpha.png b/core/res/res/drawable-mdpi/ic_clear_qntm_alpha.png Binary files differnew file mode 100644 index 0000000..d43e4d1 --- /dev/null +++ b/core/res/res/drawable-mdpi/ic_clear_qntm_alpha.png diff --git a/core/res/res/drawable-mdpi/ic_commit_search_api_qntm_alpha.png b/core/res/res/drawable-mdpi/ic_commit_search_api_qntm_alpha.png Binary files differnew file mode 100644 index 0000000..42ac8ca --- /dev/null +++ b/core/res/res/drawable-mdpi/ic_commit_search_api_qntm_alpha.png diff --git a/core/res/res/drawable-mdpi/ic_go_search_api_qntm_alpha.png b/core/res/res/drawable-mdpi/ic_go_search_api_qntm_alpha.png Binary files differnew file mode 100644 index 0000000..b5f6176 --- /dev/null +++ b/core/res/res/drawable-mdpi/ic_go_search_api_qntm_alpha.png diff --git a/core/res/res/drawable-mdpi/ic_search_api_qntm_alpha.png b/core/res/res/drawable-mdpi/ic_search_api_qntm_alpha.png Binary files differnew file mode 100644 index 0000000..9137fea --- /dev/null +++ b/core/res/res/drawable-mdpi/ic_search_api_qntm_alpha.png diff --git a/core/res/res/drawable-mdpi/ic_voice_search_api_qntm_alpha.png b/core/res/res/drawable-mdpi/ic_voice_search_api_qntm_alpha.png Binary files differnew file mode 100644 index 0000000..3f1eee3 --- /dev/null +++ b/core/res/res/drawable-mdpi/ic_voice_search_api_qntm_alpha.png diff --git a/core/res/res/drawable-mdpi/text_select_handle_left_qntm_alpha.png b/core/res/res/drawable-mdpi/text_select_handle_left_qntm_alpha.png Binary files differnew file mode 100644 index 0000000..506a186 --- /dev/null +++ b/core/res/res/drawable-mdpi/text_select_handle_left_qntm_alpha.png diff --git a/core/res/res/drawable-mdpi/text_select_handle_middle_qntm_alpha.png b/core/res/res/drawable-mdpi/text_select_handle_middle_qntm_alpha.png Binary files differnew file mode 100644 index 0000000..e54d32e --- /dev/null +++ b/core/res/res/drawable-mdpi/text_select_handle_middle_qntm_alpha.png diff --git a/core/res/res/drawable-mdpi/text_select_handle_right_qntm_alpha.png b/core/res/res/drawable-mdpi/text_select_handle_right_qntm_alpha.png Binary files differnew file mode 100644 index 0000000..fb0e926 --- /dev/null +++ b/core/res/res/drawable-mdpi/text_select_handle_right_qntm_alpha.png diff --git a/core/res/res/drawable-mdpi/textfield_search_activated_qntm_alpha.9.png b/core/res/res/drawable-mdpi/textfield_search_activated_qntm_alpha.9.png Binary files differnew file mode 100644 index 0000000..ef4ebc0 --- /dev/null +++ b/core/res/res/drawable-mdpi/textfield_search_activated_qntm_alpha.9.png diff --git a/core/res/res/drawable-mdpi/textfield_search_default_qntm_alpha.9.png b/core/res/res/drawable-mdpi/textfield_search_default_qntm_alpha.9.png Binary files differnew file mode 100644 index 0000000..9ddbcf5 --- /dev/null +++ b/core/res/res/drawable-mdpi/textfield_search_default_qntm_alpha.9.png diff --git a/core/res/res/drawable-xhdpi/ic_clear_qntm_alpha.png b/core/res/res/drawable-xhdpi/ic_clear_qntm_alpha.png Binary files differnew file mode 100644 index 0000000..ddacb59 --- /dev/null +++ b/core/res/res/drawable-xhdpi/ic_clear_qntm_alpha.png diff --git a/core/res/res/drawable-xhdpi/ic_commit_search_api_qntm_alpha.png b/core/res/res/drawable-xhdpi/ic_commit_search_api_qntm_alpha.png Binary files differnew file mode 100644 index 0000000..c10a1b7 --- /dev/null +++ b/core/res/res/drawable-xhdpi/ic_commit_search_api_qntm_alpha.png diff --git a/core/res/res/drawable-xhdpi/ic_go_search_api_qntm_alpha.png b/core/res/res/drawable-xhdpi/ic_go_search_api_qntm_alpha.png Binary files differnew file mode 100644 index 0000000..bd80981 --- /dev/null +++ b/core/res/res/drawable-xhdpi/ic_go_search_api_qntm_alpha.png diff --git a/core/res/res/drawable-xhdpi/ic_search_api_qntm_alpha.png b/core/res/res/drawable-xhdpi/ic_search_api_qntm_alpha.png Binary files differnew file mode 100644 index 0000000..513ee8b --- /dev/null +++ b/core/res/res/drawable-xhdpi/ic_search_api_qntm_alpha.png diff --git a/core/res/res/drawable-xhdpi/ic_voice_search_api_qntm_alpha.png b/core/res/res/drawable-xhdpi/ic_voice_search_api_qntm_alpha.png Binary files differnew file mode 100644 index 0000000..c1c23d0 --- /dev/null +++ b/core/res/res/drawable-xhdpi/ic_voice_search_api_qntm_alpha.png diff --git a/core/res/res/drawable-xhdpi/text_select_handle_left_qntm_alpha.png b/core/res/res/drawable-xhdpi/text_select_handle_left_qntm_alpha.png Binary files differnew file mode 100644 index 0000000..38b8e8b --- /dev/null +++ b/core/res/res/drawable-xhdpi/text_select_handle_left_qntm_alpha.png diff --git a/core/res/res/drawable-xhdpi/text_select_handle_middle_qntm_alpha.png b/core/res/res/drawable-xhdpi/text_select_handle_middle_qntm_alpha.png Binary files differnew file mode 100644 index 0000000..c1ca323 --- /dev/null +++ b/core/res/res/drawable-xhdpi/text_select_handle_middle_qntm_alpha.png diff --git a/core/res/res/drawable-xhdpi/text_select_handle_right_qntm_alpha.png b/core/res/res/drawable-xhdpi/text_select_handle_right_qntm_alpha.png Binary files differnew file mode 100644 index 0000000..d6002a7 --- /dev/null +++ b/core/res/res/drawable-xhdpi/text_select_handle_right_qntm_alpha.png diff --git a/core/res/res/drawable-xhdpi/textfield_search_activated_qntm_alpha.9.png b/core/res/res/drawable-xhdpi/textfield_search_activated_qntm_alpha.9.png Binary files differnew file mode 100644 index 0000000..1a2546f --- /dev/null +++ b/core/res/res/drawable-xhdpi/textfield_search_activated_qntm_alpha.9.png diff --git a/core/res/res/drawable-xhdpi/textfield_search_default_qntm_alpha.9.png b/core/res/res/drawable-xhdpi/textfield_search_default_qntm_alpha.9.png Binary files differnew file mode 100644 index 0000000..500ec33 --- /dev/null +++ b/core/res/res/drawable-xhdpi/textfield_search_default_qntm_alpha.9.png diff --git a/core/res/res/drawable-xxhdpi/ic_clear_qntm_alpha.png b/core/res/res/drawable-xxhdpi/ic_clear_qntm_alpha.png Binary files differnew file mode 100644 index 0000000..21ed914 --- /dev/null +++ b/core/res/res/drawable-xxhdpi/ic_clear_qntm_alpha.png diff --git a/core/res/res/drawable-xxhdpi/ic_commit_search_api_qntm_alpha.png b/core/res/res/drawable-xxhdpi/ic_commit_search_api_qntm_alpha.png Binary files differnew file mode 100644 index 0000000..fc1b8b4 --- /dev/null +++ b/core/res/res/drawable-xxhdpi/ic_commit_search_api_qntm_alpha.png diff --git a/core/res/res/drawable-xxhdpi/ic_go_search_api_qntm_alpha.png b/core/res/res/drawable-xxhdpi/ic_go_search_api_qntm_alpha.png Binary files differnew file mode 100644 index 0000000..8e1ab5b --- /dev/null +++ b/core/res/res/drawable-xxhdpi/ic_go_search_api_qntm_alpha.png diff --git a/core/res/res/drawable-xxhdpi/ic_search_api_qntm_alpha.png b/core/res/res/drawable-xxhdpi/ic_search_api_qntm_alpha.png Binary files differnew file mode 100644 index 0000000..81b13aa --- /dev/null +++ b/core/res/res/drawable-xxhdpi/ic_search_api_qntm_alpha.png diff --git a/core/res/res/drawable-xxhdpi/ic_voice_search_api_qntm_alpha.png b/core/res/res/drawable-xxhdpi/ic_voice_search_api_qntm_alpha.png Binary files differnew file mode 100644 index 0000000..d95f1d0 --- /dev/null +++ b/core/res/res/drawable-xxhdpi/ic_voice_search_api_qntm_alpha.png diff --git a/core/res/res/drawable-xxhdpi/text_select_handle_left_qntm_alpha.png b/core/res/res/drawable-xxhdpi/text_select_handle_left_qntm_alpha.png Binary files differnew file mode 100644 index 0000000..93469a2 --- /dev/null +++ b/core/res/res/drawable-xxhdpi/text_select_handle_left_qntm_alpha.png diff --git a/core/res/res/drawable-xxhdpi/text_select_handle_middle_qntm_alpha.png b/core/res/res/drawable-xxhdpi/text_select_handle_middle_qntm_alpha.png Binary files differnew file mode 100644 index 0000000..5753d89 --- /dev/null +++ b/core/res/res/drawable-xxhdpi/text_select_handle_middle_qntm_alpha.png diff --git a/core/res/res/drawable-xxhdpi/text_select_handle_right_qntm_alpha.png b/core/res/res/drawable-xxhdpi/text_select_handle_right_qntm_alpha.png Binary files differnew file mode 100644 index 0000000..b3493e7 --- /dev/null +++ b/core/res/res/drawable-xxhdpi/text_select_handle_right_qntm_alpha.png diff --git a/core/res/res/drawable-xxhdpi/textfield_search_activated_qntm_alpha.9.png b/core/res/res/drawable-xxhdpi/textfield_search_activated_qntm_alpha.9.png Binary files differnew file mode 100644 index 0000000..cd5b00f --- /dev/null +++ b/core/res/res/drawable-xxhdpi/textfield_search_activated_qntm_alpha.9.png diff --git a/core/res/res/drawable-xxhdpi/textfield_search_default_qntm_alpha.9.png b/core/res/res/drawable-xxhdpi/textfield_search_default_qntm_alpha.9.png Binary files differnew file mode 100644 index 0000000..5ee867c --- /dev/null +++ b/core/res/res/drawable-xxhdpi/textfield_search_default_qntm_alpha.9.png diff --git a/core/res/res/drawable/ic_clear_quantum.xml b/core/res/res/drawable/ic_clear_quantum.xml new file mode 100644 index 0000000..02f0929 --- /dev/null +++ b/core/res/res/drawable/ic_clear_quantum.xml @@ -0,0 +1,19 @@ +<?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. +--> + +<bitmap xmlns:android="http://schemas.android.com/apk/res/android" + android:src="@drawable/ic_clear_qntm_alpha" + android:tint="?attr/colorControlNormal" /> diff --git a/core/res/res/drawable/ic_commit_search_api_quantum.xml b/core/res/res/drawable/ic_commit_search_api_quantum.xml new file mode 100644 index 0000000..02d08b9 --- /dev/null +++ b/core/res/res/drawable/ic_commit_search_api_quantum.xml @@ -0,0 +1,19 @@ +<?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. +--> + +<bitmap xmlns:android="http://schemas.android.com/apk/res/android" + android:src="@drawable/ic_commit_search_api_qntm_alpha" + android:tint="?attr/colorControlNormal" /> diff --git a/core/res/res/drawable/ic_go_search_api_quantum.xml b/core/res/res/drawable/ic_go_search_api_quantum.xml new file mode 100644 index 0000000..b5b5cfb --- /dev/null +++ b/core/res/res/drawable/ic_go_search_api_quantum.xml @@ -0,0 +1,19 @@ +<?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. +--> + +<bitmap xmlns:android="http://schemas.android.com/apk/res/android" + android:src="@drawable/ic_go_search_api_qntm_alpha" + android:tint="?attr/colorControlNormal" /> diff --git a/core/res/res/drawable/ic_search_api_quantum.xml b/core/res/res/drawable/ic_search_api_quantum.xml new file mode 100644 index 0000000..2bbc294 --- /dev/null +++ b/core/res/res/drawable/ic_search_api_quantum.xml @@ -0,0 +1,19 @@ +<?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. +--> + +<bitmap xmlns:android="http://schemas.android.com/apk/res/android" + android:src="@drawable/ic_search_api_qntm_alpha" + android:tint="?attr/colorControlNormal" /> diff --git a/core/res/res/drawable/ic_voice_search_api_quantum.xml b/core/res/res/drawable/ic_voice_search_api_quantum.xml new file mode 100644 index 0000000..ddb14ef --- /dev/null +++ b/core/res/res/drawable/ic_voice_search_api_quantum.xml @@ -0,0 +1,19 @@ +<?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. +--> + +<bitmap xmlns:android="http://schemas.android.com/apk/res/android" + android:src="@drawable/ic_voice_search_api_qntm_alpha" + android:tint="?attr/colorControlNormal" /> diff --git a/core/res/res/drawable/text_select_handle_left_quantum.xml b/core/res/res/drawable/text_select_handle_left_quantum.xml new file mode 100644 index 0000000..a0ad7cf --- /dev/null +++ b/core/res/res/drawable/text_select_handle_left_quantum.xml @@ -0,0 +1,19 @@ +<?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. +--> + +<bitmap xmlns:android="http://schemas.android.com/apk/res/android" + android:src="@drawable/text_select_handle_left_qntm_alpha" + android:tint="?attr/colorControlActivated" /> diff --git a/core/res/res/drawable/text_select_handle_middle_quantum.xml b/core/res/res/drawable/text_select_handle_middle_quantum.xml new file mode 100644 index 0000000..bff0b66 --- /dev/null +++ b/core/res/res/drawable/text_select_handle_middle_quantum.xml @@ -0,0 +1,19 @@ +<?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. +--> + +<bitmap xmlns:android="http://schemas.android.com/apk/res/android" + android:src="@drawable/text_select_handle_middle_qntm_alpha" + android:tint="?attr/colorControlActivated" /> diff --git a/core/res/res/drawable/text_select_handle_right_quantum.xml b/core/res/res/drawable/text_select_handle_right_quantum.xml new file mode 100644 index 0000000..413661f --- /dev/null +++ b/core/res/res/drawable/text_select_handle_right_quantum.xml @@ -0,0 +1,19 @@ +<?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. +--> + +<bitmap xmlns:android="http://schemas.android.com/apk/res/android" + android:src="@drawable/text_select_handle_right_qntm_alpha" + android:tint="?attr/colorControlActivated" /> diff --git a/core/res/res/drawable/textfield_search_quantum.xml b/core/res/res/drawable/textfield_search_quantum.xml new file mode 100644 index 0000000..877de46 --- /dev/null +++ b/core/res/res/drawable/textfield_search_quantum.xml @@ -0,0 +1,42 @@ +<?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_window_focused="false" android:state_enabled="true"> + <nine-patch android:src="@drawable/textfield_search_default_qntm_alpha" + android:tint="?attr/colorControlNormal" /> + </item> + <item android:state_window_focused="false" android:state_enabled="false"> + <nine-patch android:src="@drawable/textfield_search_default_qntm_alpha" + android:tint="?attr/colorControlNormal" /> + </item> + <item android:state_enabled="true" android:state_focused="true"> + <nine-patch android:src="@drawable/textfield_search_activated_qntm_alpha" + android:tint="?attr/colorControlActivated" /> + </item> + <item android:state_enabled="true" android:state_activated="true"> + <nine-patch android:src="@drawable/textfield_search_activated_qntm_alpha" + android:tint="?attr/colorControlActivated" /> + </item> + <item android:state_enabled="true"> + <nine-patch android:src="@drawable/textfield_search_default_qntm_alpha" + android:tint="?attr/colorControlNormal" /> + </item> + <item> + <nine-patch android:src="@drawable/textfield_search_default_qntm_alpha" + android:tint="?attr/colorControlNormal" /> + </item> +</selector> diff --git a/core/res/res/values/themes_quantum.xml b/core/res/res/values/themes_quantum.xml index aef01ac..58d95be 100644 --- a/core/res/res/values/themes_quantum.xml +++ b/core/res/res/values/themes_quantum.xml @@ -202,9 +202,9 @@ please see themes_device_defaults.xml. <item name="scrollbarTrackVertical">@null</item> <!-- Text selection handle attributes --> - <item name="textSelectHandleLeft">@drawable/text_select_handle_left</item> - <item name="textSelectHandleRight">@drawable/text_select_handle_right</item> - <item name="textSelectHandle">@drawable/text_select_handle_middle</item> + <item name="textSelectHandleLeft">@drawable/text_select_handle_left_quantum</item> + <item name="textSelectHandleRight">@drawable/text_select_handle_right_quantum</item> + <item name="textSelectHandle">@drawable/text_select_handle_middle_quantum</item> <item name="textSelectHandleWindowStyle">@style/Widget.Quantum.TextSelectHandle</item> <item name="textSuggestionsWindowStyle">@style/Widget.Quantum.TextSuggestionsPopupWindow</item> <item name="textCursorDrawable">@drawable/text_cursor_quantum</item> @@ -321,7 +321,14 @@ please see themes_device_defaults.xml. <item name="segmentedButtonStyle">@style/Widget.Quantum.SegmentedButton</item> <!-- SearchView attributes --> - <item name="searchDropdownBackground">@drawable/search_dropdown_dark</item> + <item name="searchDropdownBackground">?attr/colorBackground</item> + <item name="searchViewTextField">@drawable/textfield_search_quantum</item> + <item name="searchViewTextFieldRight">@drawable/textfield_search_quantum</item> + <item name="searchViewCloseIcon">@android:drawable/ic_clear_quantum</item> + <item name="searchViewSearchIcon">@android:drawable/ic_search_api_quantum</item> + <item name="searchViewGoIcon">@android:drawable/ic_go_search_api_quantum</item> + <item name="searchViewVoiceIcon">@android:drawable/ic_voice_search_api_quantum</item> + <item name="searchViewEditQuery">@android:drawable/ic_commit_search_api_quantum</item> <item name="searchDialogTheme">@style/Theme.Quantum.SearchBar</item> @@ -537,9 +544,9 @@ please see themes_device_defaults.xml. <item name="scrollbarTrackVertical">@null</item> <!-- Text selection handle attributes --> - <item name="textSelectHandleLeft">@drawable/text_select_handle_left</item> - <item name="textSelectHandleRight">@drawable/text_select_handle_right</item> - <item name="textSelectHandle">@drawable/text_select_handle_middle</item> + <item name="textSelectHandleLeft">@drawable/text_select_handle_left_quantum</item> + <item name="textSelectHandleRight">@drawable/text_select_handle_right_quantum</item> + <item name="textSelectHandle">@drawable/text_select_handle_middle_quantum</item> <item name="textSelectHandleWindowStyle">@style/Widget.Quantum.TextSelectHandle</item> <item name="textSuggestionsWindowStyle">@style/Widget.Quantum.Light.TextSuggestionsPopupWindow</item> <item name="textCursorDrawable">@drawable/text_cursor_quantum</item> @@ -659,7 +666,14 @@ please see themes_device_defaults.xml. <item name="segmentedButtonStyle">@style/Widget.Quantum.Light.SegmentedButton</item> <!-- SearchView attributes --> - <item name="searchDropdownBackground">@drawable/search_dropdown_light</item> + <item name="searchDropdownBackground">?attr/colorBackground</item> + <item name="searchViewTextField">@drawable/textfield_search_quantum</item> + <item name="searchViewTextFieldRight">@drawable/textfield_search_quantum</item> + <item name="searchViewCloseIcon">@android:drawable/ic_clear_quantum</item> + <item name="searchViewSearchIcon">@android:drawable/ic_search_api_quantum</item> + <item name="searchViewGoIcon">@android:drawable/ic_go_search_api_quantum</item> + <item name="searchViewVoiceIcon">@android:drawable/ic_voice_search_api_quantum</item> + <item name="searchViewEditQuery">@android:drawable/ic_commit_search_api_quantum</item> <item name="searchDialogTheme">@style/Theme.Quantum.Light.SearchBar</item> |