From ea90432bc1e721ec2d53eb48048297fd82da943c Mon Sep 17 00:00:00 2001 From: cyBerta Date: Fri, 17 Aug 2018 14:52:03 +0200 Subject: #8920 create round background image in donation dialog --- app/build.gradle | 1 + .../main/res/layout/donation_reminder_dialog.xml | 28 +++++++++++++++++----- 2 files changed, 23 insertions(+), 6 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 384762b9..53af1aff 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -161,6 +161,7 @@ dependencies { implementation 'com.android.support:support-fragment:27.0.2' implementation 'com.android.support.constraint:constraint-layout:1.0.2' implementation 'com.android.support:multidex:1.0.2' + implementation 'com.android.support:cardview-v7:27.0.2' } // Ensure the no-op dependency is always used in JVM tests. diff --git a/app/src/main/res/layout/donation_reminder_dialog.xml b/app/src/main/res/layout/donation_reminder_dialog.xml index ce29eeb8..3241071f 100644 --- a/app/src/main/res/layout/donation_reminder_dialog.xml +++ b/app/src/main/res/layout/donation_reminder_dialog.xml @@ -2,6 +2,7 @@ - + android:innerRadius="0dp" + android:shape="ring" + app:cardCornerRadius="60dp"> + + + + +