Skip to content
This repository has been archived by the owner on Jan 10, 2024. It is now read-only.

Commit

Permalink
Add themed icon for Android 13 (#1524)
Browse files Browse the repository at this point in the history
* Add monochrome adaptive icon variant

Added drawable for monochrome icons introduced in Android 13
Logo vector data copied from the existing launcher icon

* Formatting
  • Loading branch information
FabianNowak authored Nov 4, 2022
1 parent 56947a4 commit cb3d0b5
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
12 changes: 12 additions & 0 deletions app/src/main/res/drawable-v24/launcher_foreground_monochrome.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="108dp"
android:height="108dp"
android:viewportHeight="108"
android:viewportWidth="108">

<path
android:fillColor="#FFFFFF"
android:pathData="M64.1,67.7 L69.3,67.7 L69.3,45.4 L74.9,45.4 L74.9,67.7 L80,67.7 L80,40.3 L53.6,40.3 L53.6,62.7 L48,62.7 L48,40.3 L28,40.3 L28,45.2 L32.7,45.2 L32.7,67.7 L37.6,67.7 L37.6,45.2 L43,45.2 L43,67.7 L58.6,67.7 L58.6,45.4 L64.1,45.4 Z" />

</vector>
3 changes: 2 additions & 1 deletion app/src/main/res/mipmap-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="@color/launcher_background" />
<foreground android:drawable="@drawable/launcher_foreground" />
</adaptive-icon>
<monochrome android:drawable="@drawable/launcher_foreground_monochrome" />
</adaptive-icon>

0 comments on commit cb3d0b5

Please sign in to comment.