apkfuckery/com.discord/res/layout/widget_auth_register_invite...

27 lines
4.9 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<androidx.coordinatorlayout.widget.CoordinatorLayout android:background="?auth_ptrn" style="@style/UiKit.ViewGroup.Page"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
<include layout="@layout/widget_auth_header" />
<LinearLayout android:orientation="vertical" style="@style/AppTheme.AppBarScrollingViewBehavior">
<androidx.core.widget.NestedScrollView android:layout_gravity="center_vertical" android:layout_height="0.0dip" android:fillViewport="false" android:layout_weight="1.0" style="@style/UiKit.ViewGroup.NestedScrollView">
<com.discord.widgets.guilds.invite.WidgetInviteInfo android:id="@id/auth_register_invite_info" app:avatar_size="@dimen/avatar_size_extra_extra_large" app:user_avatar_size="@dimen/avatar_size_standard" style="@style/UiKit.Copy.Container" />
</androidx.core.widget.NestedScrollView>
<androidx.cardview.widget.CardView android:layout_marginLeft="@dimen/uikit_spacing_medium" android:layout_marginRight="@dimen/uikit_spacing_medium" android:layout_marginBottom="-2.0dip" app:cardBackgroundColor="?primary_600" app:cardCornerRadius="4.0dip" style="@style/UiKit.ViewGroup">
<ImageView android:layout_gravity="end|center|top" android:layout_margin="@dimen/uikit_spacing_medium" android:importantForAccessibility="no" style="@style/UiKit.Auth.Spots.Top" />
<LinearLayout android:id="@id/auth_register_button_container" android:padding="@dimen/uikit_spacing_large" style="@style/UiKit.ViewGroup.LinearLayout">
<TextView android:layout_marginLeft="@dimen/uikit_spacing_small" android:text="@string/form_label_username" android:lineSpacingMultiplier="1.0" android:textAllCaps="true" style="@style/UiKit.TextView.Subtext.Semibold.SingleLine" />
<com.google.android.material.textfield.TextInputLayout android:id="@id/auth_register_username_wrap" android:layout_marginTop="0.0dip" android:hint="@string/form_label_username" app:hintEnabled="false" style="@style/UiKit.Form.Field.EditText.Wrap">
<androidx.appcompat.widget.AppCompatEditText android:id="@id/auth_register_username" android:paddingTop="@dimen/uikit_spacing_medium" android:hint="@string/form_placeholder_username" android:imeOptions="actionNext" style="@style/UiKit.Form.Field.EditText.SingleLine" />
</com.google.android.material.textfield.TextInputLayout>
<androidx.constraintlayout.widget.ConstraintLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_medium" style="@style/UiKit.ViewGroup">
<CheckBox android:id="@id/auth_tos_opt_in" android:paddingLeft="0.0dip" android:layout_width="wrap_content" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toStartOf="@id/auth_policy_links" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toLeftOf="@id/auth_policy_links" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" app:layout_constraintVertical_bias="0.5" style="@style/UiKit.Checkbox" />
<com.discord.utilities.view.text.LinkifiedTextView android:textSize="@dimen/uikit_textsize_small" android:textColor="@color/grey_2" android:id="@id/auth_policy_links" android:visibility="visible" android:layout_width="0.0dip" android:text="@string/terms_privacy" android:lineSpacingMultiplier="1.0" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintLeft_toRightOf="@id/auth_tos_opt_in" app:layout_constraintRight_toRightOf="parent" app:layout_constraintStart_toEndOf="@id/auth_tos_opt_in" app:layout_constraintTop_toTopOf="parent" app:layout_constraintVertical_bias="0.5" app:layout_goneMarginLeft="@dimen/uikit_spacing_medium" app:layout_goneMarginStart="@dimen/uikit_spacing_medium" style="@style/UiKit.TextView" />
</androidx.constraintlayout.widget.ConstraintLayout>
<Button android:id="@id/auth_register_button" android:layout_marginLeft="0.0dip" android:layout_marginRight="0.0dip" android:text="@string/create_account" style="@style/UiKit.Button" />
<TextView android:layout_marginLeft="@dimen/uikit_spacing_small" android:layout_marginTop="@dimen/uikit_spacing_large" android:text="@string/already_have_account" android:textAllCaps="true" style="@style/UiKit.TextView.Subtext.Semibold.SingleLine" />
<Button android:id="@id/auth_register_cancel" android:layout_marginLeft="0.0dip" android:layout_marginRight="0.0dip" android:text="@string/common_signin_button_text" style="@style/UiKit.Button.Dark" />
</LinearLayout>
</androidx.cardview.widget.CardView>
</LinearLayout>
<com.discord.utilities.dimmer.DimmerView style="@style/UiKit.DimmerView" />
</androidx.coordinatorlayout.widget.CoordinatorLayout>