summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/donation_reminder_dialog.xml
blob: d6b6ea801fbb36003fd6c757d25b009f704282c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:scrollbars="none">

    <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:gravity="center"
        android:orientation="vertical">

        <androidx.appcompat.widget.AppCompatTextView
            android:id="@+id/tvTitle"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginBottom="@dimen/standard_margin"
            android:layout_marginTop="@dimen/add_button_margin"
            android:gravity="center"
            android:text="@string/donate_title"
            android:textAllCaps="true"
            android:textColor="@color/colorPrimary"
            android:textSize="28sp"
            android:textStyle="bold" />

        <androidx.appcompat.widget.AppCompatTextView
            android:id="@+id/tvMessage"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_margin="@dimen/standard_margin"
            android:gravity="center"
            android:text="@string/donate_message" />

        <de.hdodenhof.circleimageview.CircleImageView
            android:id="@+id/donation_logo"
            android:layout_width="120dp"
            android:layout_height="120dp"
            android:src="@drawable/donation_img"
            />

        <Button
            android:id="@+id/btnDonate"
            android:layout_width="200dp"
            android:layout_height="38dp"
            android:layout_marginLeft="@dimen/add_button_margin"
            android:layout_marginRight="@dimen/add_button_margin"
            android:layout_marginTop="@dimen/add_button_margin"
            android:background="@drawable/cust_button_primary"
            android:text="@string/donate_button_donate"
            android:textColor="@color/white"
            android:textStyle="bold" />

        <Button
            android:id="@+id/btnLater"
            android:layout_width="200dp"
            android:layout_height="38dp"
            android:layout_marginBottom="@dimen/mainbutton_padding"
            android:layout_marginLeft="@dimen/add_button_margin"
            android:layout_marginRight="@dimen/add_button_margin"
            android:layout_marginTop="@dimen/standard_margin"
            android:background="@drawable/cust_button_secondary"
            android:text="@string/donate_button_remind_later"
            android:textColor="@android:color/tab_indicator_text"
            android:textStyle="bold" />

    </LinearLayout>
</ScrollView>