2021-10-05 07:27:27 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" style="@style/UiKit_ViewGroup_Page">
|
|
|
|
<com.google.android.material.appbar.AppBarLayout android:id="@+id/guild_role_subscription_tier_benefit_app_bar_layout" app:layout_constraintEnd_toEndOf="0" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toTopOf="0" style="@style/AppTheme_AppBarLayout_Flat">
|
|
|
|
<androidx.appcompat.widget.Toolbar app:contentInsetEnd="0dp" app:contentInsetStart="0dp" style="@style/AppTheme_Toolbar">
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout android:layout_width="match_parent" android:layout_height="wrap_content">
|
|
|
|
<com.google.android.material.button.MaterialButton android:textAppearance="@style/UiKit_TextView_Medium" android:textColor="?attr/colorInteractiveActive" android:id="@+id/guild_role_subscription_tier_benefit_cancel" android:layout_width="wrap_content" android:text="@string/cancel" app:layout_constraintBottom_toBottomOf="0" app:layout_constraintEnd_toStartOf="@+id/guild_role_subscription_tier_benefit_title" app:layout_constraintHorizontal_chainStyle="1" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toTopOf="0" app:rippleColor="?attr/colorControlHighlight" style="@style/UiKit_Material_Button_Transparent"/>
|
|
|
|
<TextView android:textColor="?attr/colorHeaderPrimary" android:id="@+id/guild_role_subscription_tier_benefit_title" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/guild_role_subscription_tier_exclusive_channel_title" app:layout_constrainedWidth="true" app:layout_constraintBottom_toTopOf="@+id/guild_role_subscription_tier_benefit_subtitle" app:layout_constraintEnd_toStartOf="@+id/guild_role_subscription_tier_benefit_save" app:layout_constraintStart_toEndOf="@+id/guild_role_subscription_tier_benefit_cancel" app:layout_constraintTop_toTopOf="0" style="@style/UiKit_TextView_Large_SingleLine"/>
|
|
|
|
<TextView android:textSize="@dimen/uikit_textsize_small" android:textColor="?attr/colorHeaderSecondary" android:id="@+id/guild_role_subscription_tier_benefit_subtitle" android:layout_width="wrap_content" android:layout_height="wrap_content" app:layout_constraintBottom_toBottomOf="0" app:layout_constraintEnd_toEndOf="@+id/guild_role_subscription_tier_benefit_title" app:layout_constraintStart_toStartOf="@+id/guild_role_subscription_tier_benefit_title" app:layout_constraintTop_toBottomOf="@+id/guild_role_subscription_tier_benefit_title" style="@style/UiKit_TextView_SingleLine"/>
|
|
|
|
<com.google.android.material.button.MaterialButton android:textColor="@color/uikit_btn_text_color_selector" android:id="@+id/guild_role_subscription_tier_benefit_save" android:layout_width="wrap_content" android:text="@string/save" app:layout_constraintBottom_toBottomOf="0" app:layout_constraintEnd_toEndOf="0" app:layout_constraintStart_toEndOf="@+id/guild_role_subscription_tier_benefit_title" app:layout_constraintTop_toTopOf="0" app:rippleColor="?attr/colorControlHighlight" style="@style/UiKit_Material_Button_Transparent"/>
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
</androidx.appcompat.widget.Toolbar>
|
|
|
|
</com.google.android.material.appbar.AppBarLayout>
|
|
|
|
<ScrollView android:id="@+id/guild_role_subscription_tier_benefit_scroll_view" android:layout_width="match_parent" android:layout_height="0dp" android:layout_marginBottom="@dimen/guild_role_subscription_setup_default_padding" app:layout_behavior="@string/action_bar_scrolling_view_behavior" app:layout_constraintBottom_toTopOf="@+id/guild_role_subscription_tier_benefit_remove" app:layout_constraintEnd_toEndOf="0" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toBottomOf="@+id/guild_role_subscription_tier_benefit_app_bar_layout">
|
|
|
|
<LinearLayout style="@style/UiKit_ViewGroup_LinearLayout">
|
2021-10-25 07:24:42 +00:00
|
|
|
<TextView android:textColor="?attr/colorInteractiveActive" android:id="@+id/guild_role_subscription_tier_channel_benefit_warning" android:background="@drawable/bg_guild_role_subscription_benefit_warning" android:padding="8dp" android:visibility="gone" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/guild_role_subscription_setup_default_padding" android:layout_marginTop="@dimen/guild_role_subscription_setup_default_padding" android:layout_marginRight="@dimen/guild_role_subscription_setup_default_padding" android:text="@string/guild_role_subscription_benefit_channel_modal_warning" android:drawablePadding="10dp" app:drawableStartCompat="@drawable/ic_warning_circle_24dp" style="@style/UiKit_TextView_Medium"/>
|
2021-10-05 07:27:27 +00:00
|
|
|
<TextView android:id="@+id/guild_role_subscription_benefit_channel_label" android:layout_marginTop="32dp" android:text="@string/channel" style="@style/UiKit_GuildSubscriptionRole_Setup_Label"/>
|
|
|
|
<TextView android:textColor="?attr/colorInteractiveActive" android:layout_gravity="center_vertical" android:id="@+id/guild_role_subscription_tier_benefit_name" 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" android:text="@string/guild_role_subscription_tier_benefits_channel_name_placeholder" android:drawablePadding="8dp" app:drawableEndCompat="@drawable/icon_carrot" app:drawableTint="?attr/colorInteractiveNormal" style="@style/UiKit_TextView_Large"/>
|
|
|
|
<TextView android:id="@+id/guild_role_subscription_intangible_benefit_name_label" android:visibility="gone" android:layout_marginTop="32dp" android:text="@string/guild_role_subscription_benefit" style="@style/UiKit_GuildSubscriptionRole_Setup_Label"/>
|
|
|
|
<com.google.android.material.textfield.TextInputLayout android:id="@+id/guild_role_subscription_intangible_benefit_name_layout" android:visibility="gone" app:endIconMode="2" app:hintEnabled="false" style="@style/UiKit_GuildSubscriptionRole_Setup_InputLayout">
|
|
|
|
<com.google.android.material.textfield.TextInputEditText android:id="@+id/guild_role_subscription_intangible_benefit_name" android:paddingTop="@dimen/guild_role_subscription_setup_default_padding" android:paddingBottom="@dimen/guild_role_subscription_setup_default_padding" android:hint="@string/guild_role_subscription_tier_benefits_intangible_name_placeholder" style="@style/UiKit_TextInputLayout_EditText_SingleLine"/>
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
<TextView android:layout_marginTop="32dp" android:text="@string/guild_role_subscription_emoji" style="@style/UiKit_GuildSubscriptionRole_Setup_Label"/>
|
|
|
|
<LinearLayout android:orientation="horizontal" android:id="@+id/guild_role_subscription_tier_benefit_select_emoji" 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">
|
|
|
|
<com.facebook.drawee.view.SimpleDraweeView android:id="@+id/guild_role_subscription_tier_benefit_emoji" android:layout_width="20dp" android:layout_height="20dp" app:actualImageScaleType="2" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toTopOf="0" app:placeholderImage="@drawable/ic_smiley_desaturated" app:placeholderImageScaleType="2"/>
|
|
|
|
<TextView android:textColor="?attr/colorInteractiveActive" android:layout_gravity="center_vertical" android:id="@+id/guild_role_subscription_tier_benefit_emoji_name" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginStart="8dp" android:layout_marginEnd="8dp" app:drawableEndCompat="@drawable/icon_carrot" app:drawableTint="?attr/colorInteractiveNormal" style="@style/UiKit_TextView_Large"/>
|
|
|
|
</LinearLayout>
|
|
|
|
<TextView android:layout_marginTop="24dp" android:text="@string/guild_role_subscription_tier_detail_description_label" style="@style/UiKit_GuildSubscriptionRole_Setup_Label"/>
|
|
|
|
<com.google.android.material.textfield.TextInputLayout android:id="@+id/guild_role_subscription_tier_benefit_description" app:hintEnabled="false" style="@style/UiKit_GuildSubscriptionRole_Setup_InputLayout">
|
2021-11-05 21:05:33 +00:00
|
|
|
<com.google.android.material.textfield.TextInputEditText android:id="@+id/guild_role_subscription_tier_benefit_description_edit_text" android:paddingTop="@dimen/guild_role_subscription_setup_default_padding" android:paddingBottom="@dimen/guild_role_subscription_setup_default_padding" style="@style/UiKit_TextInputLayout_EditText_MultiLine_Paragraph"/>
|
2021-10-05 07:27:27 +00:00
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</ScrollView>
|
|
|
|
<com.google.android.material.button.MaterialButton android:textColor="?attr/colorInteractiveActive" android:id="@+id/guild_role_subscription_tier_benefit_remove" android:layout_width="match_parent" android:layout_margin="@dimen/guild_role_subscription_setup_default_padding" android:text="@string/guild_role_subscription_tier_benefits_remove_from_tier_label" android:backgroundTint="@color/status_red_500" app:icon="@drawable/ic_delete_24dp" app:iconGravity="2" app:iconSize="@dimen/uikit_textsize_large" app:iconTint="?attr/colorInteractiveActive" app:layout_constraintBottom_toBottomOf="0" app:layout_constraintEnd_toEndOf="0" app:layout_constraintStart_toStartOf="0" app:rippleColor="?attr/colorControlHighlight" style="@style/UiKit_Material_Button"/>
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|