Use resource alias for launcher icon on API 21-25
This commit is contained in:
parent
496b22026f
commit
e6942e0122
@ -39,7 +39,7 @@
|
|||||||
android:padding="16dp">
|
android:padding="16dp">
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
app:srcCompat="@drawable/ic_launcher"
|
app:srcCompat="@drawable/ic_logo"
|
||||||
android:layout_width="72dp"
|
android:layout_width="72dp"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:layout_gravity="center_vertical" />
|
android:layout_gravity="center_vertical" />
|
||||||
|
@ -343,7 +343,7 @@
|
|||||||
android:layout_alignParentStart="true"
|
android:layout_alignParentStart="true"
|
||||||
android:layout_centerVertical="true"
|
android:layout_centerVertical="true"
|
||||||
android:layout_marginEnd="5dp"
|
android:layout_marginEnd="5dp"
|
||||||
app:srcCompat="@drawable/ic_launcher" />
|
app:srcCompat="@drawable/ic_logo" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/install_text"
|
android:id="@+id/install_text"
|
||||||
|
4
app/src/main/res/values-anydpi-v21/drawable.xml
Normal file
4
app/src/main/res/values-anydpi-v21/drawable.xml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<resources>
|
||||||
|
<drawable name="ic_launcher">@drawable/ic_logo</drawable>
|
||||||
|
</resources>
|
Loading…
Reference in New Issue
Block a user