aboutsummaryrefslogtreecommitdiff
path: root/WordPress/src/main/res/layout/magic_link_sent_fragment.xml
diff options
context:
space:
mode:
Diffstat (limited to 'WordPress/src/main/res/layout/magic_link_sent_fragment.xml')
-rw-r--r--WordPress/src/main/res/layout/magic_link_sent_fragment.xml110
1 files changed, 110 insertions, 0 deletions
diff --git a/WordPress/src/main/res/layout/magic_link_sent_fragment.xml b/WordPress/src/main/res/layout/magic_link_sent_fragment.xml
new file mode 100644
index 000000000..bbdd03fab
--- /dev/null
+++ b/WordPress/src/main/res/layout/magic_link_sent_fragment.xml
@@ -0,0 +1,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>