Skip to content

Commit

Permalink
Monochrome icon - Material You Themed Icon support (PR #2181, closes #…
Browse files Browse the repository at this point in the history
  • Loading branch information
mhwearn authored Dec 27, 2023
1 parent 1f6a07d commit 7541b2f
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/src/main/res/drawable-anydpi-v26/ic_launcher.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@drawable/ic_launcher_background"/>
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
<monochrome android:drawable="@drawable/ic_launcher_monochrome"/>
</adaptive-icon>
19 changes: 19 additions & 0 deletions app/src/main/res/drawable/ic_launcher_monochrome.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
tools:targetApi="n"
android:width="108dp"
android:height="108dp"
android:viewportWidth="930"
android:viewportHeight="930">
<path
android:pathData="M384.8,579l140.7,0l0,26l-140.7,0z"
android:fillColor="#000000"/>
<path
android:pathData="m305.7,321.1l0,284.1l73,0l0,-191.7l77.2,69 0.1,0.1 78.7,-69.1l0,191.7L607.8,605.2L607.8,321.1l-73,0l-78,69.8 -78,-69.8z"
android:fillType="evenOdd"
android:fillColor="#000000"/>
<path
android:pathData="m408.9,592.6 l42.7,-83.2 186.2,-175c31.2,-24.4 67.2,24.5 41.3,52.2l-186.7,170.4z"
android:fillType="evenOdd"
android:fillColor="#000000"/>
</vector>

0 comments on commit 7541b2f

Please sign in to comment.