apkfuckery/com.discord/res/layout-v22/widget_community_gating.xml

25 lines
4.6 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:background="?colorBackgroundPrimary" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
<androidx.core.widget.NestedScrollView android:id="@id/community_gating_scrollview" android:visibility="gone" style="@style/UiKit.ViewGroup.NestedScrollView">
<LinearLayout style="@style/UiKit.ViewGroup.LinearLayout">
<RelativeLayout android:layout_width="fill_parent" android:layout_height="wrap_content">
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/community_gating_banner_image" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="36.0dip" 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="?colorBackgroundPrimary" app:cardCornerRadius="20.0dip" app:cardElevation="0.0dip" app:contentPadding="6.0dip">
<com.discord.views.CommunityGatingAvatarView android:id="@id/community_gating_guild_icon" android:layout_width="64.0dip" android:layout_height="64.0dip" />
</androidx.cardview.widget.CardView>
</RelativeLayout>
<TextView android:textColor="?colorInteractiveActive" android:layout_width="fill_parent" android:layout_marginLeft="16.0dip" android:layout_marginTop="18.0dip" android:layout_marginRight="16.0dip" android:text="@string/member_verification_modal_title" android:layout_marginHorizontal="16.0dip" style="@style/FriendsList.EmptyState.Title" />
<TextView android:gravity="center" android:layout_marginLeft="16.0dip" android:layout_marginTop="8.0dip" android:layout_marginRight="16.0dip" android:text="@string/member_verification_modal_subtitle" android:layout_marginHorizontal="16.0dip" style="@style/UiKit.TextView.Medium" />
<View android:layout_marginLeft="16.0dip" android:layout_marginTop="24.0dip" android:layout_marginRight="16.0dip" android:layout_marginBottom="24.0dip" android:layout_marginHorizontal="16.0dip" android:layout_marginVertical="24.0dip" style="@style/UiKit.Settings.Divider" />
<com.discord.widgets.servers.gating.CommunityGatingVerificationView android:id="@id/community_gating_verification_container" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="16.0dip" android:layout_marginRight="16.0dip" android:layout_marginBottom="24.0dip" android:layout_marginHorizontal="16.0dip" />
<TextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="16.0dip" android:layout_marginRight="16.0dip" android:layout_marginBottom="8.0dip" android:text="@string/member_verification_form_rules_label" android:layout_marginHorizontal="16.0dip" style="@style/UserProfile.Section.HeaderTextAppearance" />
<androidx.cardview.widget.CardView android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="16.0dip" android:layout_marginRight="16.0dip" android:layout_marginHorizontal="16.0dip" app:cardBackgroundColor="?colorBackgroundSecondary" app:cardCornerRadius="4.0dip" app:cardElevation="0.0dip">
<androidx.recyclerview.widget.RecyclerView android:id="@id/community_gating_rules_recycler" style="@style/UiKit.ViewGroup.RecyclerView" />
</androidx.cardview.widget.CardView>
<com.discord.views.CheckedSetting android:id="@id/community_gating_rules_check" app:cs_text="@string/member_verification_read_rules" app:cs_text_color="?colorHeaderSecondary" app:cs_text_fontpath="@font/whitney_medium" app:cs_text_size="@dimen/uikit_textsize_medium" app:cs_view_type="check" style="@style/UiKit.CheckedSetting.Themed" />
<com.discord.views.LoadingButton android:id="@id/community_gating_rules_confirm" android:paddingLeft="0.0dip" android:paddingRight="0.0dip" android:layout_marginLeft="16.0dip" android:layout_marginRight="16.0dip" android:layout_marginBottom="8.0dip" android:layout_marginHorizontal="16.0dip" android:paddingHorizontal="0.0dip" app:lb_progress_color="@color/white" app:lb_text="@string/confirm" style="@style/UiKit.Material.Button" />
</LinearLayout>
</androidx.core.widget.NestedScrollView>
<com.discord.utilities.dimmer.DimmerView style="@style/UiKit.DimmerView" />
</FrameLayout>