Skip to content

Commit

Permalink
Add themed icon (#1615)
Browse files Browse the repository at this point in the history
  • Loading branch information
2zqa authored Feb 6, 2024
1 parent e5f60d6 commit 09ecb21
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
20 changes: 20 additions & 0 deletions Simplenote/src/main/res/drawable/ic_launcher_mono.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>

<vector
xmlns:android="http://schemas.android.com/apk/res/android"
android:height="108dp"
android:width="108dp"
android:viewportHeight="108.0"
android:viewportWidth="108.0">

<path
android:fillColor="#000000"
android:pathData="M52.5,57.8c-11.7-3.2-18.7-11.9-17.8-22.2c0-0.1,0-0.2,0-0.3C29.9,40,27,46.6,27,54C27,68,38.4,80.1,51.7,80.5c3,0.1,5.8-0.7,8.1-2.6c2.3-1.9,3.7-4.7,4-7.7C64.4,62.3,57,59,52.5,57.8L52.5,57.8z">
</path>

<path
android:fillColor="#000000"
android:pathData="M80.3,54C80.3,40,69.2,28,56,27.4c-2.6-0.1-5.2,0.6-7.2,2.3c-2,1.7-3.3,4.1-3.5,6.8c-0.5,5.9,4.8,9.6,10,11c12.6,3.4,19.8,12.3,19.1,23.2C78.1,66.1,80.3,60.3,80.3,54L80.3,54z">
</path>

</vector>
4 changes: 4 additions & 0 deletions Simplenote/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,8 @@
android:drawable="@drawable/ic_launcher_foreground">
</foreground>

<monochrome
android:drawable="@drawable/ic_launcher_mono">
</monochrome>

</adaptive-icon>

0 comments on commit 09ecb21

Please sign in to comment.