Give print spooler a prettier icon.
Test: Looked at icon Change-Id: I67200d662e980ee80faca6dffb3b7e11aa03764c
This commit is contained in:
@@ -51,6 +51,7 @@
|
||||
<application
|
||||
android:allowClearUserData="true"
|
||||
android:label="@string/app_label"
|
||||
android:icon="@drawable/ic_app_icon"
|
||||
android:supportsRtl="true">
|
||||
|
||||
<service
|
||||
|
||||
34
packages/PrintSpooler/res/drawable/app_icon_foreground.xml
Normal file
34
packages/PrintSpooler/res/drawable/app_icon_foreground.xml
Normal file
@@ -0,0 +1,34 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright (C) 2018 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.
|
||||
-->
|
||||
<inset
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:insetTop="25%"
|
||||
android:insetRight="25%"
|
||||
android:insetBottom="25%"
|
||||
android:insetLeft="25%">
|
||||
|
||||
<vector
|
||||
android:width="36dp"
|
||||
android:height="36dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
|
||||
<path
|
||||
android:fillColor="#FFFFFF"
|
||||
android:pathData="M19,8L5,8c-1.66,0 -3,1.34 -3,3v6h4v4h12v-4h4v-6c0,-1.66 -1.34,-3 -3,-3zM16,19L8,19v-5h8v5zM19,12c-0.55,0 -1,-0.45 -1,-1s0.45,-1 1,-1 1,0.45 1,1 -0.45,1 -1,1zM18,3L6,3v4h12L18,3z" />
|
||||
</vector>
|
||||
</inset>
|
||||
21
packages/PrintSpooler/res/drawable/ic_app_icon.xml
Normal file
21
packages/PrintSpooler/res/drawable/ic_app_icon.xml
Normal file
@@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2018 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.
|
||||
-->
|
||||
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@*android:color/accent_device_default_light"/>
|
||||
<foreground android:drawable="@drawable/app_icon_foreground"/>
|
||||
</adaptive-icon>
|
||||
Reference in New Issue
Block a user