summaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2019-04-01 01:46:00 +0200
committercyBerta <cyberta@riseup.net>2019-04-01 01:46:00 +0200
commitced2e5f4973fb8aae015f8d2ec2e3cd70d450ea7 (patch)
tree8a579c275bc7b3af4c1cfb76bb256eed92b21803 /app/src/main/res
parent673621f070d91e14f3daa35e751f14df1e3bfacd (diff)
fix layout inflation exeption occuring with vector graphics on Android 4.X
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/drawable/donation_img.xml8
-rw-r--r--app/src/main/res/layout/donation_reminder_dialog.xml2
2 files changed, 1 insertions, 9 deletions
diff --git a/app/src/main/res/drawable/donation_img.xml b/app/src/main/res/drawable/donation_img.xml
deleted file mode 100644
index 1e0b405e..00000000
--- a/app/src/main/res/drawable/donation_img.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
- <item android:drawable="@drawable/background_main"
- android:gravity="fill_horizontal|fill_vertical"/>
- <item android:drawable="@drawable/logo"
- android:gravity="center"
- />
-</layer-list>
diff --git a/app/src/main/res/layout/donation_reminder_dialog.xml b/app/src/main/res/layout/donation_reminder_dialog.xml
index e8fb34d4..7a41474a 100644
--- a/app/src/main/res/layout/donation_reminder_dialog.xml
+++ b/app/src/main/res/layout/donation_reminder_dialog.xml
@@ -43,7 +43,7 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="centerCrop"
- android:src="@drawable/donation_img" />
+ app:srcCompat="@drawable/donation_img" />
</android.support.v7.widget.CardView>