From e20e67bf08e669a39a128dbd4c11021b624bbdba Mon Sep 17 00:00:00 2001 From: Damyan Ivanov Date: Fri, 15 May 2020 22:58:47 +0300 Subject: [PATCH] use the proper way to load vector drawable in ImageView --- app/build.gradle | 1 + app/src/main/res/layout/profile_detail.xml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/build.gradle b/app/build.gradle index 36dbecf3..732856c7 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -23,6 +23,7 @@ android { applicationId "net.ktnx.mobileledger" minSdkVersion 22 targetSdkVersion 28 + vectorDrawables.useSupportLibrary true versionCode 33 versionName '0.13.1' testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" diff --git a/app/src/main/res/layout/profile_detail.xml b/app/src/main/res/layout/profile_detail.xml index cf23f9f3..0a0463be 100644 --- a/app/src/main/res/layout/profile_detail.xml +++ b/app/src/main/res/layout/profile_detail.xml @@ -268,7 +268,7 @@ android:layout_weight="1" android:background="?colorPrimary" android:contentDescription="@string/btn_color_picker_button" - android:src="@drawable/ic_palette_black_24dp" + app:srcCompat="@drawable/ic_palette_black_24dp" android:tint="?drawer_background" /> -- 2.39.5