blob: bbdd03fab4956baea1bd0f8b91f000af7d897123 [file] [log] [blame]
<?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>