aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/fragment_important_info_bottom_sheet.xml
blob: 06f94a97105dd6f4a6f215f6c6f4944117343c0e (plain) (blame)
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
69
70
71
72
<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    tools:context=".bottomsheetfragments.ImportantInfoBottomSheetFragment">

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="vertical">

        <TextView
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:paddingTop="16dp"
            android:paddingStart="16dp"
            android:paddingEnd="16dp"
            android:fontFamily="?attr/font_family"
            android:textSize="?attr/font_20"
            android:textColor="?attr/primaryTextColor"
            android:textStyle="bold" />

        <TextView
            android:id="@+id/message_text_view_reddit_api_info_bottom_sheet_fragment"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:padding="16dp"
            android:fontFamily="?attr/font_family"
            android:textSize="?attr/font_16"
            android:textColor="?attr/primaryTextColor" />

        <LinearLayout
            android:id="@+id/linear_layout_check_box_wrapper_reddit_api_info_bottom_sheet_fragment"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginStart="10dp"
            android:layout_marginEnd="16dp"
            android:layout_marginBottom="16dp">

            <com.google.android.material.checkbox.MaterialCheckBox
                android:id="@+id/do_not_show_this_again_check_box"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_gravity="center_vertical" />

            <TextView
                android:id="@+id/do_not_show_this_again_text_view"
                android:layout_width="0dp"
                android:layout_height="match_parent"
                android:layout_weight="1"
                android:text="@string/do_not_show_this_again"
                android:gravity="center_vertical"
                android:fontFamily="?attr/font_family"
                android:textSize="?attr/font_default"
                android:textColor="?attr/primaryTextColor" />

            <com.google.android.material.button.MaterialButton
                android:id="@+id/continue_button_reddit_api_info_bottom_sheet_fragment"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_gravity="end"
                android:layout_marginStart="8dp"
                android:layout_marginEnd="8dp"
                android:backgroundTint="@color/colorPrimary"
                android:text="@string/i_understand" />

        </LinearLayout>

    </LinearLayout>

</ScrollView>