17 lines
3.5 KiB
XML
17 lines
3.5 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" style="@style/UiKit_ViewGroup_Page">
|
|
<com.google.android.material.appbar.AppBarLayout style="@style/AppTheme_AppBarLayout_Flat">
|
|
<androidx.appcompat.widget.Toolbar style="@style/AppTheme_Toolbar"/>
|
|
</com.google.android.material.appbar.AppBarLayout>
|
|
<ScrollView android:background="?attr/colorBackgroundPrimary" android:layout_width="match_parent" android:layout_height="match_parent" android:fillViewport="true" style="@style/UiKit_ViewGroup_NestedScrollView_AppBarScrollingViewBehavior">
|
|
<LinearLayout android:gravity="center_horizontal" android:orientation="vertical" android:background="?attr/colorBackgroundPrimary" android:paddingLeft="@dimen/guild_role_subscription_setup_default_padding" android:paddingTop="24dp" android:paddingRight="@dimen/guild_role_subscription_setup_default_padding" android:layout_width="match_parent" android:layout_height="wrap_content" android:paddingHorizontal="@dimen/guild_role_subscription_setup_default_padding">
|
|
<ImageView android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/img_empty_guild_role_subscriptions"/>
|
|
<TextView android:textSize="@dimen/uikit_textsize_xxlarge" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="24dp" android:text="@string/guild_role_subscription_empty_title" style="@style/UiKit_TextView_H1_Bold"/>
|
|
<TextView android:textColor="?attr/colorHeaderSecondary" android:gravity="center_horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="8dp" android:text="@string/guild_role_subscription_empty_description" style="@style/UiKit_TextView_Medium"/>
|
|
<Button android:textAppearance="@style/UiKit_TextAppearance_Button" android:id="@+id/empty_guild_role_subscription_cta" android:background="@drawable/bg_guild_role_subscription_subscribe_button" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="24dp" android:text="@string/guild_role_subscription_empty_cta"/>
|
|
<com.discord.widgets.guild_role_subscriptions.GuildRoleSubscriptionBenefitItemView android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="24dp" app:benefit_description="@string/guild_role_subscription_empty_perk_1_description" app:benefit_image="@drawable/ic_heart_24dp" app:benefit_title="@string/guild_role_subscription_empty_perk_1_title"/>
|
|
<com.discord.widgets.guild_role_subscriptions.GuildRoleSubscriptionBenefitItemView android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="8dp" app:benefit_description="@string/guild_role_subscription_empty_perk_2_description" app:benefit_image="@drawable/ic_star_24dp" app:benefit_title="@string/guild_role_subscription_empty_perk_2_title"/>
|
|
<com.discord.widgets.guild_role_subscriptions.GuildRoleSubscriptionBenefitItemView android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="8dp" app:benefit_description="@string/guild_role_subscription_empty_perk_3_description" app:benefit_image="@drawable/ic_wallet_24dp" app:benefit_title="@string/guild_role_subscription_empty_perk_3_title"/>
|
|
</LinearLayout>
|
|
</ScrollView>
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|