Skip to content

Commit 3217d8c

Browse files
committed
Use material icons in printer selection activity.
Change-Id: I4150e18d1a2e1c5ed8bad576ed3b21f2b5d7e60d
1 parent ac7b58e commit 3217d8c

2 files changed

Lines changed: 28 additions & 2 deletions

File tree

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!--
3+
~ Copyright (C) 2016 The CyanogenMod Project
4+
~
5+
~ Licensed under the Apache License, Version 2.0 (the "License");
6+
~ you may not use this file except in compliance with the License.
7+
~ You may obtain a copy of the License at
8+
~
9+
~ http://www.apache.org/licenses/LICENSE-2.0
10+
~
11+
~ Unless required by applicable law or agreed to in writing, software
12+
~ distributed under the License is distributed on an "AS IS" BASIS,
13+
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
~ See the License for the specific language governing permissions and
15+
~ limitations under the License
16+
-->
17+
<vector xmlns:android="http://schemas.android.com/apk/res/android"
18+
android:width="24.0dp"
19+
android:height="24.0dp"
20+
android:viewportWidth="24"
21+
android:viewportHeight="24">
22+
23+
<path
24+
android:fillColor="?android:attr/colorControlNormal"
25+
android:pathData="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z" />
26+
</vector>

packages/PrintSpooler/res/menu/select_printer_activity.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<item
2020
android:id="@+id/action_search"
2121
android:title="@string/search"
22-
android:icon="@*android:drawable/ic_search"
22+
android:icon="@*android:drawable/ic_search_api_material"
2323
android:actionViewClass="android.widget.SearchView"
2424
android:showAsAction="ifRoom|collapseActionView"
2525
android:alphabeticShortcut="f"
@@ -29,7 +29,7 @@
2929
<item
3030
android:id="@+id/action_add_printer"
3131
android:title="@string/print_add_printer"
32-
android:icon="@*android:drawable/create_contact"
32+
android:icon="@drawable/ic_add"
3333
android:showAsAction="ifRoom"
3434
android:alphabeticShortcut="a">
3535
</item>

0 commit comments

Comments
 (0)