Skip to content

Commit

Permalink
Launcher icon: use vector (layer-list for API21+ and adaptive-icon fo…
Browse files Browse the repository at this point in the history
…r API26+).
  • Loading branch information
dennisguse committed May 15, 2021
1 parent 9872658 commit d0c0b54
Show file tree
Hide file tree
Showing 14 changed files with 11 additions and 6 deletions.
Binary file removed src/debug/res/mipmap-hdpi/ic_launcher.png
Binary file not shown.
Binary file removed src/debug/res/mipmap-mdpi/ic_launcher.png
Binary file not shown.
Binary file removed src/debug/res/mipmap-xhdpi/ic_launcher.png
Binary file not shown.
Binary file removed src/debug/res/mipmap-xxhdpi/ic_launcher.png
Binary file not shown.
Binary file removed src/debug/res/mipmap-xxxhdpi/ic_launcher.png
Binary file not shown.
2 changes: 1 addition & 1 deletion src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ limitations under the License.
android:allowBackup="false"
android:hardwareAccelerated="true"
android:hasFragileUserData="true"
android:icon="@mipmap/ic_launcher"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/ThemeCustom">
Expand Down
File renamed without changes.
10 changes: 10 additions & 0 deletions src/main/res/drawable/ic_launcher.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>

<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<shape android:shape="oval">
<solid android:color="@color/ic_launcher_background" />
</shape>
</item>
<item android:drawable="@drawable/ic_logo_color_108dp" />
</layer-list>
5 changes: 0 additions & 5 deletions src/main/res/mipmap-anydpi-v26/ic_launcher.xml

This file was deleted.

Binary file removed src/main/res/mipmap-hdpi/ic_launcher.png
Binary file not shown.
Binary file removed src/main/res/mipmap-mdpi/ic_launcher.png
Binary file not shown.
Binary file removed src/main/res/mipmap-xhdpi/ic_launcher.png
Binary file not shown.
Binary file removed src/main/res/mipmap-xxhdpi/ic_launcher.png
Binary file not shown.
Binary file removed src/main/res/mipmap-xxxhdpi/ic_launcher.png
Binary file not shown.

0 comments on commit d0c0b54

Please sign in to comment.