Skip to content

Commit

Permalink
[Catalog] Add themed icon
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 486702225
  • Loading branch information
hunterstich authored and raajkumars committed Nov 9, 2022
1 parent b9e8fb8 commit 45a569f
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 1 deletion.
1 change: 0 additions & 1 deletion catalog/java/io/material/catalog/AndroidManifest.xml
Expand Up @@ -27,7 +27,6 @@
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/cat_app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/Theme.${application_theme}">
<meta-data
Expand Down
@@ -0,0 +1,38 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2022 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="108dp"
android:height="108dp"
android:viewportHeight="108"
android:viewportWidth="108">
<group>
<clip-path android:pathData="M39.34,38.82H59.86V44.79C60.9,44.61 61.98,44.51 63.07,44.51C63.37,44.51 63.67,44.52 63.97,44.53V34.71H35.23V63.55H44.96C44.94,63.25 44.94,62.95 44.94,62.65C44.94,61.55 45.03,60.48 45.22,59.44H39.34V38.82ZM63.97,48.64V63.55H49.07C49.05,63.26 49.04,62.97 49.04,62.68C49.04,54.91 55.34,48.62 63.11,48.62C63.4,48.62 63.68,48.63 63.97,48.64ZM49.38,67.66C51.43,73.28 56.82,77.3 63.15,77.3C71.24,77.3 77.8,70.74 77.8,62.65C77.8,56.32 73.78,50.93 68.16,48.88V67.66H49.38Z" />
<path
android:fillColor="#000000"
android:pathData="M59.86,38.82H76.86V21.82H59.86V38.82ZM39.34,38.82V21.82H22.34V38.82H39.34ZM59.86,44.79H42.86V65.09L62.85,61.53L59.86,44.79ZM63.97,44.53L63.14,61.51L80.97,62.39V44.53H63.97ZM63.97,34.71H80.97V17.71H63.97V34.71ZM35.23,34.71V17.71H18.23V34.71H35.23ZM35.23,63.55H18.23V80.55H35.23V63.55ZM44.96,63.55V80.55H62.81L61.94,62.72L44.96,63.55ZM45.22,59.44L61.95,62.43L65.52,42.44H45.22V59.44ZM39.34,59.44H22.34V76.44H39.34V59.44ZM63.97,48.64H80.97V32.64L65,31.68L63.97,48.64ZM63.97,63.55V80.55H80.97V63.55H63.97ZM49.07,63.55L32.1,64.58L33.07,80.55H49.07V63.55ZM49.38,67.66V50.66H25.11L33.4,73.47L49.38,67.66ZM68.16,48.88L73.97,32.9L51.16,24.61V48.88H68.16ZM68.16,67.66V84.66H85.16V67.66H68.16ZM59.86,21.82H39.34V55.82H59.86V21.82ZM76.86,44.79V38.82H42.86V44.79H76.86ZM62.85,61.53C62.91,61.52 62.98,61.51 63.07,61.51V27.51C60.97,27.51 58.9,27.7 56.88,28.06L62.85,61.53ZM63.07,61.51C63.09,61.51 63.12,61.51 63.14,61.51L64.8,27.55C64.23,27.53 63.65,27.51 63.07,27.51V61.51ZM61.94,62.72C61.94,62.69 61.94,62.67 61.94,62.65H27.94C27.94,63.23 27.95,63.8 27.98,64.38L61.94,62.72ZM61.94,62.65C61.94,62.56 61.94,62.49 61.95,62.43L28.48,56.46C28.12,58.48 27.94,60.55 27.94,62.65H61.94ZM39.34,76.44H45.22V42.44H39.34V76.44ZM22.34,38.82V59.44H56.34V38.82H22.34ZM80.97,44.53V34.71H46.97V44.53H80.97ZM63.97,17.71H35.23V51.71H63.97V17.71ZM18.23,34.71V63.55H52.23V34.71H18.23ZM35.23,80.55H44.96V46.55H35.23V80.55ZM46.97,48.64V63.55H80.97V48.64H46.97ZM63.97,46.55H49.07V80.55H63.97V46.55ZM66.04,62.52C66.04,62.57 66.04,62.63 66.04,62.68H32.04C32.04,63.32 32.06,63.95 32.1,64.58L66.04,62.52ZM66.04,62.68C66.04,64.3 64.73,65.62 63.11,65.62V31.62C45.95,31.62 32.04,45.53 32.04,62.68H66.04ZM63.11,65.62C63.05,65.62 63,65.62 62.94,65.61L65,31.68C64.37,31.64 63.74,31.62 63.11,31.62V65.62ZM63.15,60.3C64.19,60.3 65.04,60.97 65.36,61.85L33.4,73.47C37.81,85.6 49.44,94.3 63.15,94.3V60.3ZM60.8,62.65C60.8,61.35 61.85,60.3 63.15,60.3V94.3C80.63,94.3 94.8,80.13 94.8,62.65H60.8ZM62.35,64.86C61.47,64.54 60.8,63.69 60.8,62.65H94.8C94.8,48.94 86.1,37.31 73.97,32.9L62.35,64.86ZM51.16,48.88V67.66H85.16V48.88H51.16ZM68.16,50.66H49.38V84.66H68.16V50.66Z" />
</group>
<path
android:fillColor="#000000"
android:pathData="M63.97,48.64V63.55H49.07C49.05,63.26 49.04,62.97 49.04,62.68C49.04,54.91 55.34,48.62 63.11,48.62C63.4,48.62 63.68,48.63 63.97,48.64Z" />
<path
android:fillColor="#000000"
android:pathData="M49.38,67.66C51.43,73.28 56.82,77.3 63.15,77.3C71.24,77.3 77.8,70.74 77.8,62.65C77.8,56.32 73.78,50.93 68.16,48.88V67.66H49.38Z" />
<path
android:fillColor="#000000"
android:pathData="M39.34,38.82H59.86V44.79C60.9,44.61 61.98,44.51 63.07,44.51C63.37,44.51 63.67,44.52 63.97,44.53V34.71H35.23V63.55H44.96C44.94,63.25 44.94,62.95 44.94,62.65C44.94,61.55 45.03,60.48 45.22,59.44H39.34V38.82Z" />
</vector>
Expand Up @@ -18,4 +18,5 @@
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@mipmap/ic_launcher_background"/>
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
<monochrome android:drawable="@drawable/ic_launcher_monochrome"/>
</adaptive-icon>

0 comments on commit 45a569f

Please sign in to comment.