Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding monochrome app icon for Android 13 #215

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:tools="http://schemas.android.com/tools"
xmlns:android="http://schemas.android.com/apk/res/android">



<supports-screens
android:largeScreens="true"
android:normalScreens="true"
Expand All @@ -12,7 +13,9 @@
android:name=".AnutoApplication"
android:hardwareAccelerated="true"
android:icon="@mipmap/icon"
android:roundIcon="@mipmap/icon_round"
android:label="@string/app_name">
tools:replace="android:icon"

<!-- Activity themes are changed programatically later. In order for translucent activities
to work properly they need to have a translucent theme here. -->
Expand Down
2 changes: 2 additions & 0 deletions app/src/main/res/mipmap-anydpi-v26/icon.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@mipmap/icon_bg" />
<foreground android:drawable="@mipmap/icon_fg" />

<monochrome android:drawable="@mipmap/icon_monochrome" />
</adaptive-icon>
Binary file added images/icon_monochrome.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
108 changes: 108 additions & 0 deletions images/icon_monochrome.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading