Skip to content

Commit 0ad295a

Browse files
committed
Launcher icon: use vector (layer-list for API21+ and adaptive-icon for API26+).
1 parent 4171d9c commit 0ad295a

File tree

14 files changed

+11
-6
lines changed

14 files changed

+11
-6
lines changed
-1.52 KB
Binary file not shown.
-1.04 KB
Binary file not shown.
-2.1 KB
Binary file not shown.
-3.26 KB
Binary file not shown.
-4.54 KB
Binary file not shown.

src/main/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ limitations under the License.
5252
android:allowBackup="false"
5353
android:hardwareAccelerated="true"
5454
android:hasFragileUserData="false"
55-
android:icon="@mipmap/ic_launcher"
55+
android:icon="@drawable/ic_launcher"
5656
android:label="@string/app_name"
5757
android:supportsRtl="true"
5858
android:theme="@style/ThemeCustom">

src/main/res/drawable/ic_launcher.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
3+
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
4+
<item>
5+
<shape android:shape="oval">
6+
<solid android:color="@color/ic_launcher_background" />
7+
</shape>
8+
</item>
9+
<item android:drawable="@drawable/ic_logo_color_108dp" />
10+
</layer-list>

src/main/res/mipmap-anydpi-v26/ic_launcher.xml

Lines changed: 0 additions & 5 deletions
This file was deleted.
-1.55 KB
Binary file not shown.
-1.04 KB
Binary file not shown.
-2.13 KB
Binary file not shown.
-3.33 KB
Binary file not shown.
-4.62 KB
Binary file not shown.

0 commit comments

Comments
 (0)