[android] Use appcompat property to set drawables in Image View

Signed-off-by: Jean-Baptiste Charron <jeanbaptiste.charron@outlook.fr>
This commit is contained in:
Jean-Baptiste
2025-06-05 21:00:15 +02:00
committed by Konstantin Pastbin
parent bd563e6abb
commit 43a7826f51
2 changed files with 3 additions and 2 deletions

View File

@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="?windowBackgroundForced"
@@ -10,7 +11,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="32dp"
android:src="@drawable/ic_location_permission_request" />
app:srcCompat="@drawable/ic_location_permission_request" />
<TextView
android:layout_width="wrap_content"

View File

@@ -15,7 +15,7 @@
android:layout_centerVertical="true"
android:background="?selectableItemBackgroundBorderless"
android:scaleType="center"
android:src="@drawable/ic_close"
app:srcCompat="@drawable/ic_close"
app:tint="?iconTint"/>
<TextView