| <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" |
| xmlns:app="http://schemas.android.com/apk/res-auto" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent" |
| android:id="@+id/sign_in_scroll_view" |
| android:background="@color/nux_background" |
| android:animateLayoutChanges="true" |
| android:fillViewport="true" |
| android:gravity="center"> |
| |
| <LinearLayout |
| android:layout_width="match_parent" |
| android:layout_height="0dp" |
| android:animateLayoutChanges="true" |
| android:baselineAligned="false" |
| android:gravity="center" |
| android:orientation="vertical"> |
| |
| <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"> |
| |
| <org.wordpress.android.widgets.WPTextView |
| android:layout_width="300dp" |
| android:layout_height="wrap_content" |
| style="@style/WordPress.NUXFlatButton" |
| android:textSize="20sp" |
| android:padding="12dp" |
| android:gravity="center" |
| android:text="@string/get_a_link_sent_to_your_email_to_sign_in_instantly" /> |
| |
| <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/magic_button" |
| style="@style/WordPress.NUXPrimaryButton" |
| android:layout_width="wrap_content" |
| android:padding="12dp" |
| android:clickable="true" |
| android:gravity="center" |
| android:text="@string/send_link" /> |
| |
| <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> |
| </ScrollView> |