diff options
| author | 2015-11-16 20:16:23 +0000 | |
|---|---|---|
| committer | 2015-11-16 20:16:23 +0000 | |
| commit | ca3f938326455701def9151f0fe8fea736a594cd (patch) | |
| tree | 47afbb8cc61525267d37b1bf992132ada20a2470 | |
| parent | 608797e210dae48d4b9ece8aeaaa3293ecf066dd (diff) | |
| parent | 7dfe4f64dc5b5da44d1806655e65f523e80f9913 (diff) | |
Merge "Switch add icons to the default menu add icon"
| -rw-r--r-- | packages/PrintSpooler/res/drawable/ic_add.xml | 25 | ||||
| -rw-r--r-- | packages/PrintSpooler/res/drawable/ic_search.xml | 43 | ||||
| -rw-r--r-- | packages/PrintSpooler/res/menu/select_printer_activity.xml | 4 |
3 files changed, 27 insertions, 45 deletions
diff --git a/packages/PrintSpooler/res/drawable/ic_add.xml b/packages/PrintSpooler/res/drawable/ic_add.xml new file mode 100644 index 000000000000..1442b1b61f46 --- /dev/null +++ b/packages/PrintSpooler/res/drawable/ic_add.xml @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2015 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. +--> + +<vector xmlns:android="http://schemas.android.com/apk/res/android" + android:width="24dp" + android:height="24dp" + android:viewportWidth="24.0" + android:viewportHeight="24.0"> + <path + android:pathData="M19,13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z" + android:fillColor="#FFFFFF"/> +</vector>
\ No newline at end of file diff --git a/packages/PrintSpooler/res/drawable/ic_search.xml b/packages/PrintSpooler/res/drawable/ic_search.xml deleted file mode 100644 index 991fa38b2da4..000000000000 --- a/packages/PrintSpooler/res/drawable/ic_search.xml +++ /dev/null @@ -1,43 +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" - android:autoMirrored="true"> - - <item - android:state_checked="true"> - <bitmap - android:src="@*android:drawable/ic_menu_search" - android:tint="?android:attr/colorControlActivated"> - </bitmap> - </item> - - <item - android:state_pressed="true"> - <bitmap - android:src="@*android:drawable/ic_menu_search" - android:tint="?android:attr/colorControlActivated"> - </bitmap> - </item> - - <item> - <bitmap - android:src="@*android:drawable/ic_menu_search" - android:tint="?android:attr/colorControlNormal"> - </bitmap> - </item> - -</selector> diff --git a/packages/PrintSpooler/res/menu/select_printer_activity.xml b/packages/PrintSpooler/res/menu/select_printer_activity.xml index 8da57694007b..15cc13939cf0 100644 --- a/packages/PrintSpooler/res/menu/select_printer_activity.xml +++ b/packages/PrintSpooler/res/menu/select_printer_activity.xml @@ -19,7 +19,7 @@ <item android:id="@+id/action_search" android:title="@string/search" - android:icon="@*android:drawable/ic_search" + android:icon="@*android:drawable/ic_search_api_material" android:actionViewClass="android.widget.SearchView" android:showAsAction="ifRoom|collapseActionView" android:alphabeticShortcut="f" @@ -29,7 +29,7 @@ <item android:id="@+id/action_add_printer" android:title="@string/print_add_printer" - android:icon="@*android:drawable/create_contact" + android:icon="@drawable/ic_add" android:showAsAction="ifRoom" android:alphabeticShortcut="a"> </item> |