aboutsummaryrefslogtreecommitdiff
path: root/WordPress/src/main/res/layout/magic_link_sent_fragment.xml
blob: bbdd03fab4956baea1bd0f8b91f000af7d897123 (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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:orientation="vertical"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="@color/nux_background">

    <LinearLayout
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:layout_gravity="center_horizontal|bottom"
        android:baselineAligned="true"
        android:gravity="right"
        android:orientation="horizontal">

        <ImageView
            android:id="@+id/info_button"
            style="@style/WordPress.NUXFlatButton"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:padding="16dp"
            android:contentDescription="@string/help"
            app:srcCompat="@drawable/dashicon_info"
            android:tint="@color/blue_dark" />
    </LinearLayout>

    <org.wordpress.android.widgets.WPLinearLayoutSizeBound
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"
        android:layout_weight="1"
        android:animateLayoutChanges="true"
        android:gravity="center"
        android:orientation="vertical"
        app:maxWidth="@dimen/nux_width">

        <RelativeLayout
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginLeft="16dp"
            android:layout_marginRight="16dp"
            android:layout_marginTop="16dp">

            <org.wordpress.android.widgets.WPTextView
                android:id="@+id/open_email"
                style="@style/WordPress.NUXTitle"
                android:layout_width="match_parent"
                android:clickable="true"
                android:gravity="center"
                android:text="@string/check_your_email"
                android:layout_height="wrap_content" />

        </RelativeLayout>

        <RelativeLayout
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginLeft="16dp"
            android:layout_marginRight="16dp"
            android:layout_marginTop="16dp">

            <org.wordpress.android.widgets.WPTextView
                android:id="@+id/open_email_button"
                style="@style/WordPress.NUXPrimaryButton"
                android:layout_width="wrap_content"
                android:padding="12dp"
                android:clickable="true"
                android:gravity="center"
                android:text="@string/launch_your_email_app" />

            <RelativeLayout
                android:id="@+id/nux_sign_in_progress_bar"
                style="@style/WordPress.NUXPrimaryButton"
                android:layout_width="match_parent"
                android:enabled="false"
                android:visibility="gone">

                <ProgressBar
                    android:layout_width="24dp"
                    android:layout_height="24dp"
                    android:layout_centerHorizontal="true"
                    android:layout_centerVertical="true" />
            </RelativeLayout>
        </RelativeLayout>

    </org.wordpress.android.widgets.WPLinearLayoutSizeBound>

    <org.wordpress.android.widgets.WPLinearLayoutSizeBound
        android:id="@+id/nux_bottom_buttons"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:layout_marginBottom="10dp"
        android:animateLayoutChanges="true"
        android:orientation="vertical"
        app:maxWidth="@dimen/nux_width">

        <org.wordpress.android.widgets.WPTextView
            android:id="@+id/password_layout"
            style="@style/WordPress.NUXFlatButton"
            android:layout_width="wrap_content"
            android:layout_height="@dimen/nux_main_button_height"
            android:layout_gravity="center"
            android:layout_marginLeft="16dp"
            android:layout_marginRight="16dp"
            android:gravity="center"
            android:text="@string/enter_your_password_instead" />

    </org.wordpress.android.widgets.WPLinearLayoutSizeBound>

</LinearLayout>