2021-08-09 22:50:52 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:orientation="vertical" android:layout_width="match_parent" android:layout_height="match_parent">
|
|
|
|
<TextView android:layout_gravity="center_horizontal" android:id="@+id/guild_role_subscription_tier_appearance_title" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/guild_role_subscription_create_tier_design_title" android:layout_marginStart="@dimen/guild_role_subscription_setup_default_padding" android:layout_marginEnd="@dimen/guild_role_subscription_setup_default_padding" app:layout_constraintEnd_toEndOf="0" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toTopOf="0" style="@style/UiKit_GuildSubscriptionRole_Setup_Title"/>
|
|
|
|
<TextView android:layout_gravity="center_horizontal" android:id="@+id/guild_role_subscription_tier_appearance_subtitle" android:layout_width="match_parent" android:layout_height="wrap_content" android:text="@string/guild_role_subscription_create_tier_design_description" android:layout_marginStart="@dimen/guild_role_subscription_setup_default_padding" android:layout_marginEnd="@dimen/guild_role_subscription_setup_default_padding" app:layout_constraintEnd_toEndOf="0" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toBottomOf="@+id/guild_role_subscription_tier_appearance_title" style="@style/UiKit_GuildSubscriptionRole_Setup_Subtitle"/>
|
2021-10-05 07:27:27 +00:00
|
|
|
<View android:layout_marginTop="24dp" style="@style/UiKit_GuildSubscriptionRole_Setup_Divider"/>
|
|
|
|
<androidx.cardview.widget.CardView android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/guild_role_subscription_setup_default_padding" android:layout_marginTop="24dp" android:layout_marginRight="@dimen/guild_role_subscription_setup_default_padding" app:cardCornerRadius="8dp" app:cardElevation="0dp">
|
2021-08-10 10:47:20 +00:00
|
|
|
<LinearLayout android:orientation="vertical" android:layout_width="match_parent" android:layout_height="wrap_content">
|
|
|
|
<com.discord.widgets.guild_role_subscriptions.tier.create.GuildRoleSubscriptionMemberPreview android:theme="@style/AppTheme_Light" android:id="@+id/guild_role_subscription_tier_member_preview_light" android:paddingLeft="8dp" android:paddingTop="@dimen/guild_role_subscription_setup_default_padding" android:paddingRight="8dp" android:paddingBottom="@dimen/guild_role_subscription_setup_default_padding" android:layout_width="match_parent" android:layout_height="wrap_content"/>
|
|
|
|
<com.discord.widgets.guild_role_subscriptions.tier.create.GuildRoleSubscriptionMemberPreview android:theme="@style/AppTheme_Dark" android:id="@+id/guild_role_subscription_tier_member_preview_dark" android:paddingLeft="8dp" android:paddingTop="@dimen/guild_role_subscription_setup_default_padding" android:paddingRight="8dp" android:paddingBottom="@dimen/guild_role_subscription_setup_default_padding" android:layout_width="match_parent" android:layout_height="wrap_content"/>
|
|
|
|
</LinearLayout>
|
|
|
|
</androidx.cardview.widget.CardView>
|
2021-10-11 07:48:45 +00:00
|
|
|
<com.discord.widgets.guild_role_subscriptions.GuildSubscriptionRoleImageUploadView android:id="@+id/guild_role_subscription_tier_member_icon" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/guild_role_subscription_setup_default_padding" android:layout_marginTop="24dp" android:layout_marginRight="@dimen/guild_role_subscription_setup_default_padding" app:description="@string/guild_role_subscription_tier_design_member_badge_description" app:image_size="@dimen/avatar_size_medium" app:image_style="1" app:title="@string/guild_role_subscription_tier_design_member_badge_label" app:use_center_scale_type="true"/>
|
2021-08-10 10:47:20 +00:00
|
|
|
<TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="24dp" android:text="@string/guild_role_subscription_tier_design_member_color_label" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toBottomOf="@+id/guild_role_subscription_tier_appearance_subtitle" style="@style/UiKit_GuildSubscriptionRole_Setup_Label"/>
|
2021-10-05 07:27:27 +00:00
|
|
|
<LinearLayout android:orientation="horizontal" android:id="@+id/guild_role_subscription_tier_appearance_color_layout" android:background="@drawable/ripple_rounded_bg_secondary" android:padding="@dimen/guild_role_subscription_setup_default_padding" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/guild_role_subscription_setup_default_padding" android:layout_marginTop="8dp" android:layout_marginRight="@dimen/guild_role_subscription_setup_default_padding">
|
2021-08-10 10:47:20 +00:00
|
|
|
<View android:id="@+id/guild_role_subscription_tier_appearance_color" android:background="@drawable/rounded_rectangle_4dp_radius" android:layout_width="24dp" android:layout_height="24dp"/>
|
2021-10-05 07:27:27 +00:00
|
|
|
<TextView android:textColor="?attr/colorInteractiveNormal" android:layout_gravity="center_vertical" android:id="@+id/guild_role_subscription_tier_appearance_color_text" android:layout_width="match_parent" android:layout_height="wrap_content" android:textAllCaps="true" android:layout_marginStart="8dp" android:layout_marginEnd="8dp" app:drawableEndCompat="@drawable/ic_chevron_down_grey_12dp" app:drawableTint="?attr/colorInteractiveNormal" style="@style/UiKit_TextView_Medium"/>
|
2021-08-10 10:47:20 +00:00
|
|
|
</LinearLayout>
|
2021-08-09 22:50:52 +00:00
|
|
|
</LinearLayout>
|