Skip to content

Commit d58ee4b

Browse files
SUPERCILEXsamtstern
authored andcommitted
Add adaptive icons! (#851)
1 parent e91edda commit d58ee4b

21 files changed

+15
-22
lines changed

app/src/main/AndroidManifest.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
android:label="@string/app_name"
1313
android:allowBackup="true"
1414
android:fullBackupContent="true"
15-
android:icon="@drawable/ic_launcher"
15+
android:icon="@mipmap/ic_launcher"
16+
android:roundIcon="@mipmap/ic_launcher_round"
1617
android:supportsRtl="true"
1718
android:theme="@style/AppTheme"
1819
tools:ignore="GoogleAppIndexingWarning">

app/src/main/res/drawable/ic_launcher.xml

Lines changed: 0 additions & 19 deletions
This file was deleted.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
3+
<background android:drawable="@android:color/white"/>
4+
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
5+
</adaptive-icon>
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
3+
<background android:drawable="@android:color/white"/>
4+
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
5+
</adaptive-icon>
1.73 KB
Loading
2.35 KB
Loading
3.56 KB
Loading
1.18 KB
Loading
1.33 KB
Loading
2.21 KB
Loading

0 commit comments

Comments
 (0)