Disable vector drawable rasterization in donations library.

This commit is contained in:
andrew-signal
2025-09-11 10:52:32 -04:00
committed by Greyson Parrelli
parent 2eb4f650d8
commit 2c0aa40c61
2 changed files with 7 additions and 2 deletions

View File

@@ -9,6 +9,10 @@ android {
buildFeatures {
buildConfig = true
}
defaultConfig {
vectorDrawables.useSupportLibrary = true
}
}
dependencies {

View File

@@ -2,6 +2,7 @@
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="44sp"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_marginTop="2sp"
android:layout_marginBottom="2sp"
android:background="@drawable/donate_with_google_pay_rounded_background"
@@ -18,13 +19,13 @@
android:orientation="vertical"
android:weightSum="2">
<ImageView
<androidx.appcompat.widget.AppCompatImageView
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:duplicateParentState="true"
android:scaleType="fitCenter"
android:src="@drawable/donate_with_googlepay_button_content" />
app:srcCompat="@drawable/donate_with_googlepay_button_content" />
</LinearLayout>
<ImageView