2020-05-17 12:40:10 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<RelativeLayout android:background="?auth_landing_ptrn" style="@style/UiKit.ViewGroup.Page"
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
2020-09-02 04:07:20 +00:00
|
|
|
<com.discord.app.AppViewFlipper android:id="@id/auth_landing_switch_flipper" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginTop="16.0dip" android:layout_above="@id/auth_bottom_container" android:layout_marginStart="16.0dip" android:layout_marginEnd="16.0dip">
|
2020-05-17 12:40:10 +00:00
|
|
|
<RelativeLayout android:layout_width="fill_parent" android:layout_height="fill_parent">
|
|
|
|
<ImageView android:layout_gravity="center" android:layout_width="fill_parent" android:layout_height="fill_parent" android:src="?auth_logo" android:scaleType="center" android:contentDescription="@string/discord" style="@style/UiKit.ImageView" />
|
2020-09-02 04:07:20 +00:00
|
|
|
<com.discord.views.ScreenTitleView android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="24.0dip" android:layout_alignParentBottom="true" android:layout_centerInParent="true" android:layout_marginStart="16.0dip" android:layout_marginEnd="16.0dip" app:stv_subtitle="@string/nuf_body_refresh" app:stv_title="@string/nuf_title_mobile" />
|
2020-05-17 12:40:10 +00:00
|
|
|
</RelativeLayout>
|
|
|
|
<RelativeLayout android:layout_width="fill_parent" android:layout_height="fill_parent">
|
2020-09-02 04:07:20 +00:00
|
|
|
<ImageView android:layout_width="175.0dip" android:layout_height="wrap_content" android:layout_marginTop="16.0dip" android:src="?auth_logo" android:layout_centerHorizontal="true" android:contentDescription="@string/discord" style="@style/UiKit.ImageView" />
|
2020-05-17 12:40:10 +00:00
|
|
|
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_centerInParent="true">
|
2020-09-02 04:07:20 +00:00
|
|
|
<com.discord.views.ScreenTitleView android:layout_gravity="center" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="16.0dip" android:layout_marginStart="16.0dip" android:layout_marginEnd="16.0dip" app:stv_subtitle="@string/nuf_body_refresh" app:stv_title="@string/nuf_title_mobile" />
|
2020-05-17 12:40:10 +00:00
|
|
|
<com.discord.widgets.auth.AuthInviteInfoView android:id="@id/auth_landing_invite_info" android:layout_width="fill_parent" android:layout_height="wrap_content" />
|
|
|
|
</LinearLayout>
|
|
|
|
</RelativeLayout>
|
|
|
|
</com.discord.app.AppViewFlipper>
|
2020-09-02 04:07:20 +00:00
|
|
|
<LinearLayout android:gravity="center" android:orientation="vertical" android:id="@id/auth_bottom_container" android:paddingBottom="16.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_alignParentBottom="true" android:paddingStart="16.0dip" android:paddingEnd="16.0dip">
|
2020-05-17 12:40:10 +00:00
|
|
|
<com.google.android.material.button.MaterialButton android:id="@id/auth_landing_register" android:text="@string/register" style="@style/UiKit.AuthButton.Material" />
|
|
|
|
<com.google.android.material.button.MaterialButton android:id="@id/auth_landing_login" android:text="@string/login" android:backgroundTint="?colorButtonSecondary" style="@style/UiKit.AuthButton.Material" />
|
|
|
|
</LinearLayout>
|
|
|
|
</RelativeLayout>
|