Skip to content
Permalink
Browse files

Adaptive icons for app shortcuts.

  • Loading branch information...
nickbutcher committed Jul 11, 2017
1 parent f6bdcf2 commit b7f0ed1f7ef2b30e61ebbfe2e215c342c7ac3e0c
@@ -0,0 +1,35 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2017 Google Inc.
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="@color/light_grey" />
<foreground>
<vector
android:width="108dp"
android:height="108dp"
android:viewportWidth="108"
android:viewportHeight="108">
<path
android:pathData="M30 52v16c0 2.2 1.8 4 4 4s4-1.8 4-4V52h-8z"
android:fillColor="#0E418B" />
<path
android:pathData="M38 68v4h-4c2.2 0 4-1.8 4-4zm0-32h36v30c0 3.32-2.7 6-6 6H38V36z"
android:fillColor="#286FDC" />
<path
android:pathData="M53 52h-7v4h7v7h4v-7h7v-4h-7v-7h-4v7z"
android:fillColor="#1750A4" />
</vector>
</foreground>
</adaptive-icon>
@@ -0,0 +1,29 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2017 Google Inc.
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="@color/light_grey" />
<foreground>
<vector
android:width="108dp"
android:height="108dp"
android:viewportWidth="108"
android:viewportHeight="108">
<path
android:pathData="M60.42 57.67h-1.45l-.52-.5c1.8-2.1 2.88-4.8 2.88-7.75 0-6.58-5.33-11.92-11.9-11.92-6.6 0-11.93 5.34-11.93 11.92s5.34 11.9 11.92 11.9c2.95 0 5.66-1.07 7.75-2.86l.5.5v1.46l9.16 9.15 2.74-2.74-9.15-9.16zm-11 0c-4.57 0-8.25-3.7-8.25-8.25 0-4.57 3.68-8.25 8.25-8.25 4.56 0 8.25 3.68 8.25 8.25 0 4.56-3.7 8.25-8.25 8.25z"
android:fillColor="@color/primary" />
</vector>
</foreground>
</adaptive-icon>

0 comments on commit b7f0ed1

Please sign in to comment.
You can’t perform that action at this time.