From: Damyan Ivanov Date: Fri, 15 May 2020 19:58:47 +0000 (+0300) Subject: use the proper way to load vector drawable in ImageView X-Git-Tag: v0.14.0~94 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=e20e67bf08e669a39a128dbd4c11021b624bbdba;p=mobile-ledger.git use the proper way to load vector drawable in ImageView --- 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" />