apkfuckery/com.discord/res/layout/widget_auth_landing.xml
2020-01-07 03:40:43 +01:00

17 lines
No EOL
2.5 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout android:background="?auth_ptrn" style="@style/UiKit.ViewGroup.Page"
xmlns:android="http://schemas.android.com/apk/res/android">
<View android:background="?auth_gradient" android:layout_width="fill_parent" android:layout_height="?actionBarSize" />
<ImageView android:layout_gravity="center_horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent" android:src="@drawable/img_auth_logo" android:scaleType="center" android:layout_above="@id/auth_landing_content" android:layout_below="@id/auth_landing_invite_info" android:layout_alignWithParentIfMissing="true" android:contentDescription="@string/discord" style="@style/UiKit.ImageView" />
<fragment android:id="@id/auth_landing_invite_info" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="8.0dip" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginRight="8.0dip" class="com.discord.widgets.auth.WidgetAuthInviteInfo" />
<RelativeLayout android:id="@id/auth_landing_content" android:background="?auth_bg_card" android:layout_height="wrap_content" android:layout_margin="8.0dip" android:layout_alignParentBottom="true" style="@style/UiKit.ViewGroup.RelativeLayout">
<ImageView android:contentDescription="@string/sample_empty_string" style="@style/UiKit.Auth.Spots.Top" />
<LinearLayout android:gravity="center_horizontal" style="@style/UiKit.ViewGroup.LinearLayout">
<TextView android:layout_marginTop="@dimen/uikit_spacing_large" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:text="@string/nuf_title_mobile" style="@style/UiKit.TextView.H1" />
<TextView android:layout_marginBottom="20.0dip" android:text="@string/nuf_body_mobile" style="@style/UiKit.TextView.Subtext" />
<com.google.android.material.button.MaterialButton android:textSize="@dimen/uikit_textsize_large" android:id="@id/auth_landing_login" android:text="@string/login" style="@style/UiKit.AuthButton.Material.Transparent" />
<View android:background="?primary_500" android:layout_width="wrap_content" android:layout_height="0.25dip" android:layout_marginLeft="8.0dip" android:layout_marginRight="8.0dip" android:alpha="0.6" />
<com.google.android.material.button.MaterialButton android:textSize="@dimen/uikit_textsize_large" android:id="@id/auth_landing_register" android:text="@string/register" style="@style/UiKit.AuthButton.Material.Transparent" />
</LinearLayout>
</RelativeLayout>
</RelativeLayout>