mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-05 01:10:48 +00:00
Disable vector drawable rasterization in donations library.
This commit is contained in:
committed by
Greyson Parrelli
parent
2eb4f650d8
commit
2c0aa40c61
@@ -9,6 +9,10 @@ android {
|
||||
buildFeatures {
|
||||
buildConfig = true
|
||||
}
|
||||
|
||||
defaultConfig {
|
||||
vectorDrawables.useSupportLibrary = true
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user