19 lines
4.5 KiB
XML
19 lines
4.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:id="@+id/create_subscription_tier_details_layout" android:background="?attr/colorBackgroundPrimary" android:layout_width="match_parent" android:layout_height="match_parent" android:fillViewport="true">
|
|
<LinearLayout android:orientation="vertical" android:layout_width="match_parent" android:layout_height="wrap_content">
|
|
<TextView android:layout_gravity="center_horizontal" android:id="@+id/create_subscription_tier_title" android:paddingLeft="@dimen/guild_role_subscription_setup_default_padding" android:paddingRight="@dimen/guild_role_subscription_setup_default_padding" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/guild_role_subscription_create_tier_details_title" android:paddingHorizontal="@dimen/guild_role_subscription_setup_default_padding" style="@style/UiKit_GuildSubscriptionRole_Setup_Title"/>
|
|
<TextView android:layout_gravity="center_horizontal" android:id="@+id/create_subscription_tier_subtitle" android:layout_width="match_parent" android:layout_height="wrap_content" android:text="@string/guild_role_subscription_create_tier_details_description" style="@style/UiKit_GuildSubscriptionRole_Setup_Subtitle"/>
|
|
<TextView android:layout_marginTop="32dp" android:text="@string/guild_role_subscription_tier_detail_name_label" style="@style/UiKit_GuildSubscriptionRole_Setup_Label"/>
|
|
<com.google.android.material.textfield.TextInputLayout android:id="@+id/create_subscription_tier_name_layout" app:endIconMode="2" app:hintEnabled="false" style="@style/UiKit_GuildSubscriptionRole_Setup_InputLayout">
|
|
<com.google.android.material.textfield.TextInputEditText android:id="@+id/create_subscription_tier_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_detail_name_placeholder" android:paddingVertical="@dimen/guild_role_subscription_setup_default_padding" style="@style/UiKit_TextInputLayout_EditText_SingleLine"/>
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
<TextView android:layout_marginTop="24dp" android:text="@string/guild_role_subscription_tier_detail_custom_image_label" style="@style/UiKit_GuildSubscriptionRole_Setup_Label"/>
|
|
<com.discord.widgets.guild_role_subscriptions.GuildSubscriptionRoleImageUploadView android:id="@+id/create_subscription_tier_image_upload_view" android:padding="@dimen/guild_role_subscription_setup_default_padding" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="8dp"/>
|
|
<TextView android:layout_marginTop="24dp" android:text="@string/guild_role_subscription_tier_detail_price_label" style="@style/UiKit_GuildSubscriptionRole_Setup_Label"/>
|
|
<TextView android:textColor="?attr/colorTextMuted" android:layout_gravity="center_vertical" android:id="@+id/create_subscription_tier_price" android:background="@drawable/ripple_bg_secondary" android:padding="@dimen/guild_role_subscription_setup_default_padding" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="8dp" android:text="@string/guild_role_subscription_tier_detail_price_placeholder" android:drawablePadding="8dp" app:drawableEndCompat="@drawable/ic_chevron_down_grey_12dp" app:drawableTint="?attr/colorInteractiveNormal" style="@style/UiKit_TextView_Large"/>
|
|
<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/create_subscription_tier_description_layout" app:hintEnabled="false" style="@style/UiKit_GuildSubscriptionRole_Setup_InputLayout">
|
|
<com.google.android.material.textfield.TextInputEditText android:id="@+id/create_subscription_tier_description" 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_detail_description_placeholder" android:paddingVertical="@dimen/guild_role_subscription_setup_default_padding" style="@style/UiKit_TextInputLayout_EditText_MultiLine_Paragraph"/>
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
</LinearLayout>
|
|
</ScrollView>
|