summaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorDanny Baumann <dannybaumann@web.de>2016-10-30 14:50:49 +0100
committerDanny Baumann <dannybaumann@web.de>2016-10-30 14:50:49 +0100
commit3217d8c7c059ab426b6ebc67a40283a7a7d0c179 (patch)
tree3271f3eaec5e31f7567c0ad34e3134d7e7b5b1ed /packages
parentac7b58ec1c8b07537960bfafe40e31ddc9a94719 (diff)
downloadframeworks_base-3217d8c7c059ab426b6ebc67a40283a7a7d0c179.zip
frameworks_base-3217d8c7c059ab426b6ebc67a40283a7a7d0c179.tar.gz
frameworks_base-3217d8c7c059ab426b6ebc67a40283a7a7d0c179.tar.bz2
Use material icons in printer selection activity.
Change-Id: I4150e18d1a2e1c5ed8bad576ed3b21f2b5d7e60d
Diffstat (limited to 'packages')
-rw-r--r--packages/PrintSpooler/res/drawable/ic_add.xml26
-rw-r--r--packages/PrintSpooler/res/menu/select_printer_activity.xml4
2 files changed, 28 insertions, 2 deletions
diff --git a/packages/PrintSpooler/res/drawable/ic_add.xml b/packages/PrintSpooler/res/drawable/ic_add.xml
new file mode 100644
index 0000000..d8e9206
--- /dev/null
+++ b/packages/PrintSpooler/res/drawable/ic_add.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ ~ Copyright (C) 2016 The CyanogenMod 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="24.0dp"
+ android:height="24.0dp"
+ android:viewportWidth="24"
+ android:viewportHeight="24">
+
+ <path
+ android:fillColor="?android:attr/colorControlNormal"
+ android:pathData="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z" />
+</vector>
diff --git a/packages/PrintSpooler/res/menu/select_printer_activity.xml b/packages/PrintSpooler/res/menu/select_printer_activity.xml
index 8da5769..15cc139 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>