25 lines
4.4 KiB
XML
25 lines
4.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:background="?attr/colorBackgroundPrimary" android:layout_width="match_parent" android:layout_height="match_parent">
|
|
<com.discord.views.CustomAppBarLayout android:id="@+id/app_bar_layout" android:background="?attr/colorBackgroundPrimary" style="@style/AppTheme_AppBarLayout">
|
|
<com.google.android.material.appbar.CollapsingToolbarLayout android:id="@+id/collapsing_toolbar" android:layout_width="match_parent" android:layout_height="match_parent" app:contentScrim="?attr/colorBackgroundPrimary" app:layout_scrollFlags="3">
|
|
<RelativeLayout android:layout_width="match_parent" android:layout_height="wrap_content">
|
|
<com.facebook.drawee.view.SimpleDraweeView android:id="@+id/member_verification_banner_image" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginBottom="36dp" app:placeholderImage="@drawable/drawable_default_invite_splash" app:viewAspectRatio="1.77"/>
|
|
<androidx.cardview.widget.CardView android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentBottom="true" android:layout_centerHorizontal="true" app:cardBackgroundColor="?attr/colorBackgroundPrimary" app:cardCornerRadius="20dp" app:cardElevation="0dp" app:contentPadding="6dp">
|
|
<com.discord.views.MemberVerificationAvatarView android:id="@+id/member_verification_guild_icon" android:layout_width="64dp" android:layout_height="64dp"/>
|
|
</androidx.cardview.widget.CardView>
|
|
</RelativeLayout>
|
|
<androidx.appcompat.widget.Toolbar android:background="@drawable/drawable_black_underlay_gradient" app:navigationContentDescription="@string/back" app:navigationIcon="?attr/ic_action_bar_back" style="@style/AppTheme_Toolbar"/>
|
|
</com.google.android.material.appbar.CollapsingToolbarLayout>
|
|
</com.discord.views.CustomAppBarLayout>
|
|
<androidx.core.widget.NestedScrollView android:id="@+id/member_verification_scrollview" android:visibility="gone" style="@style/UiKit_ViewGroup_NestedScrollView_AppBarScrollingViewBehavior">
|
|
<LinearLayout android:layout_below="@+id/app_bar_layout" style="@style/UiKit_ViewGroup_LinearLayout">
|
|
<TextView android:textColor="?attr/colorInteractiveActive" android:layout_width="match_parent" android:layout_marginLeft="16dp" android:layout_marginTop="18dp" android:layout_marginRight="16dp" android:text="@string/member_verification_modal_title" android:layout_marginHorizontal="16dp" style="@style/FriendsList_EmptyState_Title"/>
|
|
<TextView android:gravity="center" android:layout_width="match_parent" android:layout_marginLeft="16dp" android:layout_marginTop="8dp" android:layout_marginRight="16dp" android:text="@string/member_verification_modal_subtitle" android:layout_marginHorizontal="16dp" style="@style/UiKit_TextView_Medium"/>
|
|
<View android:layout_marginLeft="16dp" android:layout_marginTop="24dp" android:layout_marginRight="16dp" android:layout_marginBottom="24dp" android:layout_marginHorizontal="16dp" android:layout_marginVertical="24dp" style="@style/UiKit_Settings_Divider"/>
|
|
<com.discord.widgets.servers.member_verification.MemberVerificationView android:id="@+id/member_verification_container" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginLeft="16dp" android:layout_marginRight="16dp" android:layout_marginBottom="24dp" android:layout_marginHorizontal="16dp"/>
|
|
<androidx.recyclerview.widget.RecyclerView android:id="@+id/member_verification_rules_recycler" style="@style/UiKit_ViewGroup_RecyclerView"/>
|
|
<com.discord.views.LoadingButton android:id="@+id/member_verification_rules_confirm" android:paddingLeft="0dp" android:paddingRight="0dp" android:layout_marginLeft="16dp" android:layout_marginRight="16dp" android:layout_marginBottom="8dp" android:layout_marginHorizontal="16dp" android:paddingHorizontal="0dp" app:lb_progress_color="@color/white" app:lb_text="@string/member_verification_notice_cta" style="@style/UiKit_Material_Button"/>
|
|
</LinearLayout>
|
|
</androidx.core.widget.NestedScrollView>
|
|
<com.discord.utilities.dimmer.DimmerView android:id="@+id/dimmer_view" style="@style/UiKit_DimmerView"/>
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|