Changes of com.discord v946
This commit is contained in:
parent
c8dad9d3cd
commit
5ec7e99617
5501 changed files with 81234 additions and 81187 deletions
|
@ -9,10 +9,10 @@
|
|||
<Button android:textSize="@dimen/uikit_textsize_small" android:textColor="@color/primary_100" android:id="@id/active_subscription_top_button" android:background="@drawable/drawable_uikit_primary_100_button_outline" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginRight="@dimen/uikit_spacing_medium" app:layout_constrainedHeight="true" app:layout_constrainedWidth="true" app:layout_constraintRight_toRightOf="parent" app:layout_constraintTop_toTopOf="parent" style="@style/UiKit.Button.Compact" />
|
||||
<ProgressBar android:theme="@style/UiKit.ProgressBar.White" android:id="@id/active_subscription_progress" android:layout_width="24.0dip" android:layout_height="24.0dip" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginRight="@dimen/uikit_spacing_medium" app:layout_constraintRight_toRightOf="parent" app:layout_constraintTop_toTopOf="parent" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
<TextView android:textSize="@dimen/uikit_textsize_small" android:textColor="@color/primary_400" android:id="@id/active_subscription_apple_indicator" android:layout_marginLeft="@dimen/uikit_spacing_large" android:layout_marginTop="@dimen/uikit_spacing_large" android:layout_marginRight="@dimen/uikit_spacing_large" android:text="@string/billing_managed_by_apple" style="@style/UiKit.TextView" />
|
||||
<TextView android:textSize="@dimen/uikit_textsize_small" android:textColor="?primary_400" android:id="@id/active_subscription_apple_indicator" android:layout_marginLeft="@dimen/uikit_spacing_large" android:layout_marginTop="@dimen/uikit_spacing_large" android:layout_marginRight="@dimen/uikit_spacing_large" android:text="@string/billing_managed_by_apple" style="@style/UiKit.TextView" />
|
||||
<Button android:id="@id/active_subscriptions_bottom_button" android:layout_marginLeft="12.0dip" android:layout_marginTop="@dimen/uikit_spacing_large" android:layout_marginRight="12.0dip" style="@style/UiKit.Button.Grey" />
|
||||
<TextView android:textAppearance="@style/UiKit.Settings.Item.Header" android:id="@id/active_subscription_spinner_title" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/uikit_spacing_large" android:layout_marginTop="@dimen/uikit_spacing_large" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:text="@string/billing_pay_for_it_with" />
|
||||
<Spinner android:id="@id/active_subscription_spinner" android:background="@drawable/bg_payment_method_spinner_closed" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/uikit_spacing_large" android:layout_marginRight="@dimen/uikit_spacing_large" android:popupBackground="@drawable/bg_payment_method_spinner_dropdown" />
|
||||
<Spinner android:id="@id/active_subscription_spinner" android:background="?bg_payment_method_spinner_closed" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/uikit_spacing_large" android:layout_marginRight="@dimen/uikit_spacing_large" android:popupBackground="?bg_payment_method_spinner_dropdown" />
|
||||
<TextView android:textSize="@dimen/uikit_textsize_small" android:textColor="@color/status_red_500" android:id="@id/active_subscription_error_text" android:layout_marginLeft="@dimen/uikit_spacing_large" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginRight="@dimen/uikit_spacing_large" style="@style/UiKit.TextView" />
|
||||
<TextView android:textSize="@dimen/uikit_textsize_small" android:textColor="@color/primary_400" android:id="@id/active_subscription_footer_text" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/uikit_spacing_large" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginRight="@dimen/uikit_spacing_large" android:fontFamily="@font/whitney_medium" />
|
||||
<TextView android:textSize="@dimen/uikit_textsize_small" android:textColor="?primary_400" android:id="@id/active_subscription_footer_text" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/uikit_spacing_large" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginRight="@dimen/uikit_spacing_large" android:fontFamily="@font/whitney_medium" />
|
||||
</LinearLayout>
|
|
@ -1,8 +1,8 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout style="@style/UiKit.ViewGroup.LinearLayout"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<TextView android:textColor="?white" android:text="@string/premium_guild_features_customize_guild_mobile" android:drawableLeft="@drawable/ic_star_24dp" android:drawableStart="@drawable/ic_star_24dp" style="@style/UiKit.TextView.Perk" />
|
||||
<TextView android:textColor="?white" android:text="@string/premium_guild_features_show_support_mobile" android:drawableLeft="@drawable/ic_guild_nitro_24dp" android:drawableStart="@drawable/ic_guild_nitro_24dp" style="@style/UiKit.TextView.Perk" />
|
||||
<TextView android:textColor="?white" android:text="@string/premium_guild_features_upload_sizes_mobile" android:drawableLeft="@drawable/ic_upload_24dp" android:drawableStart="@drawable/ic_upload_24dp" style="@style/UiKit.TextView.Perk" />
|
||||
<TextView android:textColor="?white" android:text="@string/premium_guild_features_new_role_mobile" android:drawableLeft="@drawable/ic_role_24dp" android:drawableStart="@drawable/ic_role_24dp" style="@style/UiKit.TextView.Perk" />
|
||||
<TextView android:textColor="?primary_000" android:text="@string/premium_guild_features_customize_guild_mobile" android:drawableLeft="@drawable/ic_star_24dp" android:drawableStart="@drawable/ic_star_24dp" style="@style/UiKit.TextView.Perk" />
|
||||
<TextView android:textColor="?primary_000" android:text="@string/premium_guild_features_show_support_mobile" android:drawableLeft="@drawable/ic_guild_nitro_24dp" android:drawableStart="@drawable/ic_guild_nitro_24dp" style="@style/UiKit.TextView.Perk" />
|
||||
<TextView android:textColor="?primary_000" android:text="@string/premium_guild_features_upload_sizes_mobile" android:drawableLeft="@drawable/ic_upload_24dp" android:drawableStart="@drawable/ic_upload_24dp" style="@style/UiKit.TextView.Perk" />
|
||||
<TextView android:textColor="?primary_000" android:text="@string/premium_guild_features_new_role_mobile" android:drawableLeft="@drawable/ic_role_24dp" android:drawableStart="@drawable/ic_role_24dp" style="@style/UiKit.TextView.Perk" />
|
||||
</LinearLayout>
|
|
@ -5,7 +5,7 @@
|
|||
<com.discord.app.AppViewFlipper android:id="@id/gift_entitlement_flipper" android:layout_width="fill_parent" android:layout_height="wrap_content" android:measureAllChildren="false">
|
||||
<LinearLayout android:paddingLeft="@dimen/uikit_spacing_large" android:paddingTop="@dimen/uikit_spacing_large" android:paddingRight="@dimen/uikit_spacing_large" style="@style/UiKit.ViewGroup.LinearLayout">
|
||||
<RelativeLayout android:id="@id/gift_entitlement_code_container" android:background="?primary_660_bg_outline" android:paddingLeft="@dimen/uikit_spacing_medium" style="@style/UiKit.ViewGroup">
|
||||
<TextView android:textColor="?white" android:ellipsize="end" android:id="@id/gift_entitlement_code" android:layout_marginRight="@dimen/uikit_spacing_medium" android:maxLines="1" android:layout_toLeftOf="@id/gift_entitlement_copy" android:layout_alignParentLeft="true" android:layout_centerVertical="true" style="@style/UiKit.TextView" />
|
||||
<TextView android:textColor="?primary_000" android:ellipsize="end" android:id="@id/gift_entitlement_code" android:layout_marginRight="@dimen/uikit_spacing_medium" android:maxLines="1" android:layout_toLeftOf="@id/gift_entitlement_copy" android:layout_alignParentLeft="true" android:layout_centerVertical="true" style="@style/UiKit.TextView" />
|
||||
<TextView android:textSize="@dimen/uikit_textsize_small" android:textColor="@color/white" android:id="@id/gift_entitlement_copy" android:background="@drawable/button_brand_500" android:text="@string/copy" android:layout_alignParentRight="true" android:layout_centerVertical="true" android:textAllCaps="true" style="@style/UiKit.TextView" />
|
||||
</RelativeLayout>
|
||||
<com.discord.utilities.view.text.LinkifiedTextView android:textSize="@dimen/uikit_textsize_small" android:textColor="?primary_400" android:id="@id/gift_entitlement_revoke" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="12.0dip" style="@style/UiKit.TextView" />
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<RelativeLayout android:padding="@dimen/uikit_spacing_medium" style="@style/UiKit.ViewGroup">
|
||||
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/gift_sku_icon" android:layout_width="32.0dip" android:layout_height="32.0dip" android:layout_marginRight="@dimen/uikit_spacing_medium" android:layout_alignParentLeft="true" android:layout_centerVertical="true" android:importantForAccessibility="no" />
|
||||
<TextView android:textSize="@dimen/uikit_textsize_large" android:textColor="?white" android:id="@id/gift_sku_name" android:layout_marginLeft="48.0dip" android:layout_alignParentLeft="true" android:layout_alignParentTop="true" style="@style/UiKit.TextView.Semibold" />
|
||||
<TextView android:textSize="@dimen/uikit_textsize_large" android:textColor="?primary_000" android:id="@id/gift_sku_name" android:layout_marginLeft="48.0dip" android:layout_alignParentLeft="true" android:layout_alignParentTop="true" style="@style/UiKit.TextView.Semibold" />
|
||||
<TextView android:id="@id/gift_sku_copies" android:layout_marginLeft="48.0dip" android:layout_below="@id/gift_sku_name" android:layout_alignParentLeft="true" style="@style/UiKit.TextView" />
|
||||
<ImageView android:id="@id/gift_sku_arrow" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/icon_carrot" android:layout_alignParentRight="true" android:layout_centerVertical="true" android:importantForAccessibility="no" />
|
||||
</RelativeLayout>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<ImageView android:layout_gravity="center_vertical" android:layout_width="88.0dip" android:layout_height="40.0dip" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/img_no_gifts" android:importantForAccessibility="no" />
|
||||
<LinearLayout style="@style/UiKit.ViewGroup.LinearLayout">
|
||||
<TextView android:textSize="@dimen/uikit_textsize_large" android:textColor="?white" android:text="@string/gift_inventory_no_gifts" style="@style/UiKit.TextView.Semibold" />
|
||||
<TextView android:textSize="@dimen/uikit_textsize_large" android:textColor="?primary_000" android:text="@string/gift_inventory_no_gifts" style="@style/UiKit.TextView.Semibold" />
|
||||
<TextView android:layout_marginTop="@dimen/uikit_spacing_medium" android:text="@string/gift_inventory_no_gifts_subtext_mobile" style="@style/UiKit.TextView" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
|
@ -1,6 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout android:layout_marginTop="@dimen/uikit_spacing_large" android:layout_marginBottom="@dimen/uikit_spacing_xxlarge" style="@style/UiKit.ViewGroup.LinearLayout"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<ImageView android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="@dimen/uikit_spacing_large" android:src="@drawable/img_games_preview" android:adjustViewBounds="true" android:importantForAccessibility="no" style="@style/UiKit.ImageView" />
|
||||
<Button android:layout_gravity="center_horizontal" android:id="@id/premium_perks_view_games" android:layout_marginTop="@dimen/uikit_spacing_large" android:text="@string/application_store_home_view_all_applications" style="@style/UiKit.Button.Grey.Fit" />
|
||||
</LinearLayout>
|
|
@ -1,19 +1,13 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout android:layout_marginLeft="@dimen/uikit_spacing_xxlarge" android:layout_marginRight="@dimen/uikit_spacing_xxlarge" android:layout_marginBottom="@dimen/uikit_spacing_large" style="@style/UiKit.ViewGroup.LinearLayout"
|
||||
<LinearLayout android:layout_marginLeft="@dimen/uikit_spacing_large" android:layout_marginRight="@dimen/uikit_spacing_large" style="@style/UiKit.ViewGroup.LinearLayout"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<TextView android:textSize="20.0sp" android:textColor="@color/primary_100" android:paddingTop="@dimen/uikit_spacing_medium" android:paddingBottom="@dimen/uikit_spacing_medium" android:text="@string/premium_included" style="@style/UiKit.TextView.Semibold" />
|
||||
<TextView android:textSize="20.0sp" android:textColor="?primary_000" android:paddingTop="@dimen/uikit_spacing_medium" android:paddingBottom="@dimen/uikit_spacing_medium" android:text="@string/premium_included" style="@style/UiKit.TextView.Semibold" />
|
||||
<TextView android:text="@string/premium_chat_perks_discriminator_mobile" android:drawableLeft="@drawable/ic_nitro_tag_24dp" android:drawableStart="@drawable/ic_nitro_tag_24dp" style="@style/UiKit.TextView.Perk" />
|
||||
<View android:background="@color/primary_700" style="@style/UiKit.Divider" />
|
||||
<TextView android:text="@string/premium_chat_perks_animated_avatar_and_emoji_mobile" android:drawableLeft="@drawable/ic_nitro_gifs_24dp" android:drawableStart="@drawable/ic_nitro_gifs_24dp" style="@style/UiKit.TextView.Perk" />
|
||||
<View android:background="@color/primary_700" style="@style/UiKit.Divider" />
|
||||
<TextView android:text="@string/premium_chat_perks_streaming_mobile" android:drawableLeft="@drawable/ic_nitro_perk_stream_24dp" android:drawableStart="@drawable/ic_nitro_perk_stream_24dp" style="@style/UiKit.TextView.Perk" />
|
||||
<View android:background="@color/primary_700" style="@style/UiKit.Divider" />
|
||||
<TextView android:text="@string/premium_chat_perks_screenshare_mobile" android:drawableLeft="@drawable/ic_nitro_highquality_24dp" android:drawableStart="@drawable/ic_nitro_highquality_24dp" style="@style/UiKit.TextView.Perk" />
|
||||
<View android:background="@color/primary_700" style="@style/UiKit.Divider" />
|
||||
<TextView android:text="@string/premium_chat_perks_custom_emoji_mobile" android:drawableLeft="@drawable/ic_nitro_globalemojis_24dp" android:drawableStart="@drawable/ic_nitro_globalemojis_24dp" style="@style/UiKit.TextView.Perk" />
|
||||
<View android:background="@color/primary_700" style="@style/UiKit.Divider" />
|
||||
<TextView android:id="@id/premium_perks_upload_text" android:text="@string/premium_chat_perks_upload_mobile" android:drawableLeft="@drawable/ic_upload_24dp" android:drawableStart="@drawable/ic_upload_24dp" style="@style/UiKit.TextView.Perk" />
|
||||
<View android:background="@color/primary_700" style="@style/UiKit.Divider" />
|
||||
<TextView android:text="@string/premium_chat_perks_rep_mobile" android:drawableLeft="@drawable/ic_nitro_rep_24dp" android:drawableStart="@drawable/ic_nitro_rep_24dp" style="@style/UiKit.TextView.Perk" />
|
||||
<View android:background="@color/primary_700" style="@style/UiKit.Divider" />
|
||||
<TextView android:text="@string/premium_chat_perks_premium_guild_subscription" android:drawableLeft="@drawable/ic_boosted_badge_24dp" android:drawableStart="@drawable/ic_boosted_badge_24dp" style="@style/UiKit.TextView.Perk" />
|
||||
</LinearLayout>
|
|
@ -1,14 +1,14 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout android:paddingLeft="@dimen/uikit_spacing_xxlarge" android:paddingTop="@dimen/uikit_spacing_large" android:paddingRight="@dimen/uikit_spacing_xxlarge" android:paddingBottom="@dimen/uikit_spacing_large" style="@style/UiKit.ViewGroup.LinearLayout"
|
||||
<LinearLayout android:paddingLeft="@dimen/uikit_spacing_large" android:paddingTop="@dimen/uikit_spacing_large" android:paddingRight="@dimen/uikit_spacing_large" android:paddingBottom="@dimen/uikit_spacing_large" style="@style/UiKit.ViewGroup.LinearLayout"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<TextView android:textSize="20.0sp" android:textColor="?primary_000" android:layout_marginTop="@dimen/uikit_spacing_large" android:text="@string/premium_chat_perks_simple_title_mobile" style="@style/UiKit.TextView.Semibold" />
|
||||
<LinearLayout android:gravity="center_vertical" android:layout_marginTop="@dimen/uikit_spacing_large" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
<ImageView android:id="@id/premium_settings_nitro_classic_wumpus" android:layout_width="wrap_content" android:layout_height="70.0dip" android:src="@drawable/img_wumpus_riding_wheel" android:adjustViewBounds="true" android:importantForAccessibility="no" style="@style/UiKit.ImageView" />
|
||||
<ImageView android:id="@id/premium_settings_nitro_classic" android:layout_width="wrap_content" android:layout_height="70.0dip" android:layout_marginLeft="@dimen/uikit_spacing_large" android:src="@drawable/img_logo_nitro_classic" android:adjustViewBounds="true" android:contentDescription="@string/premium_tier_1" style="@style/UiKit.ImageView" />
|
||||
</LinearLayout>
|
||||
<TextView android:textSize="20.0sp" android:textColor="@color/primary_100" android:layout_marginTop="@dimen/uikit_spacing_large" android:text="@string/premium_title_mobile" style="@style/UiKit.TextView.Semibold" />
|
||||
<TextView android:textSize="@dimen/uikit_textsize_large" android:textColor="@color/primary_200" android:layout_marginTop="@dimen/uikit_spacing_medium" android:text="@string/premium_subtitle_mobile" style="@style/UiKit.TextView" />
|
||||
<LinearLayout android:layout_marginTop="@dimen/uikit_spacing_large" style="@style/UiKit.ViewGroup.LinearLayout">
|
||||
<Button android:id="@id/premium_settings_premium_classic_yearly" style="@style/UiKit.Button.Green" />
|
||||
<Button android:id="@id/premium_settings_premium_classic_monthly" style="@style/UiKit.Button.Grey" />
|
||||
<ImageView android:id="@id/premium_settings_nitro_classic" android:layout_width="wrap_content" android:layout_height="70.0dip" android:layout_marginLeft="@dimen/uikit_spacing_large" android:src="?img_logo_discord_nitro_classic" android:adjustViewBounds="true" android:contentDescription="@string/premium_tier_1" style="@style/UiKit.ImageView" />
|
||||
</LinearLayout>
|
||||
<TextView android:textColor="?primary_000" android:layout_marginTop="@dimen/uikit_spacing_large" android:text="@string/premium_features_enhanced_chat_perks" android:drawableLeft="@drawable/ic_check_brand_24dp" android:drawablePadding="@dimen/uikit_spacing_large" android:drawableStart="@drawable/ic_check_brand_24dp" style="@style/UiKit.TextView" />
|
||||
<TextView android:textColor="?primary_000" android:layout_marginTop="@dimen/uikit_spacing_medium" android:text="@string/premium_features_premium_guild_subscriptions" android:drawableLeft="@drawable/ic_clear_primary_300_24dp" android:drawablePadding="@dimen/uikit_spacing_large" android:drawableStart="@drawable/ic_clear_primary_300_24dp" style="@style/UiKit.TextView" />
|
||||
<com.discord.views.BoxedButton android:gravity="center_horizontal" android:id="@id/premium_settings_premium_classic_yearly" android:background="@drawable/button_status_green_500" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="@dimen/uikit_spacing_large" />
|
||||
<Button android:id="@id/premium_settings_premium_classic_monthly" style="@style/UiKit.Button.Grey" />
|
||||
<TextView android:textColor="?primary_000" android:layout_gravity="center_horizontal" android:id="@id/premium_settings_premium_classic_gift" android:background="?selectableItemBackground" android:paddingLeft="@dimen/uikit_spacing_medium" android:paddingTop="@dimen/uikit_spacing_small" android:paddingRight="@dimen/uikit_spacing_medium" android:paddingBottom="@dimen/uikit_spacing_small" android:focusable="true" android:clickable="true" android:layout_marginTop="@dimen/uikit_spacing_medium" android:text="@string/premium_gift_send" android:textAllCaps="true" style="@style/UiKit.TextView.Semibold" />
|
||||
</LinearLayout>
|
|
@ -1,16 +1,13 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout android:paddingLeft="@dimen/uikit_spacing_xxlarge" android:paddingTop="@dimen/uikit_spacing_large" android:paddingRight="@dimen/uikit_spacing_xxlarge" style="@style/UiKit.ViewGroup.LinearLayout"
|
||||
<LinearLayout android:paddingLeft="@dimen/uikit_spacing_large" android:paddingTop="@dimen/uikit_spacing_large" android:paddingRight="@dimen/uikit_spacing_large" android:paddingBottom="@dimen/uikit_spacing_large" style="@style/UiKit.ViewGroup.LinearLayout"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<TextView android:textSize="20.0sp" android:textColor="@color/primary_100" android:text="@string/premium_game_perks_title_mobile" style="@style/UiKit.TextView.Semibold" />
|
||||
<LinearLayout android:gravity="center_vertical" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_medium" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
<ImageView android:layout_width="wrap_content" android:layout_height="60.0dip" android:src="@drawable/img_discord_nitro_logo_left" android:adjustViewBounds="true" android:contentDescription="@string/premium_tier_2" style="@style/UiKit.ImageView" />
|
||||
<ImageView android:layout_width="wrap_content" android:layout_height="60.0dip" android:layout_marginLeft="@dimen/uikit_spacing_small" android:src="@drawable/img_wumpus_jetpack" android:adjustViewBounds="true" android:scaleX="-1.0" android:importantForAccessibility="no" style="@style/UiKit.ImageView" />
|
||||
</LinearLayout>
|
||||
<TextView android:textColor="@color/primary_100" android:gravity="center_vertical" android:text="@string/premium_features_chat_perks_mobile" android:drawableLeft="@drawable/ic_check_brand_24dp" android:drawablePadding="@dimen/uikit_spacing_large" style="@style/UiKit.TextView" />
|
||||
<TextView android:textColor="@color/primary_100" android:gravity="center_vertical" android:text="@string/premium_features_boost_perks_mobile" android:drawableLeft="@drawable/ic_check_brand_24dp" android:drawablePadding="@dimen/uikit_spacing_large" style="@style/UiKit.TextView" />
|
||||
<TextView android:textColor="@color/primary_100" android:gravity="center_vertical" android:text="@string/premium_features_game_perks_mobile" android:drawableLeft="@drawable/ic_check_brand_24dp" android:drawablePadding="@dimen/uikit_spacing_large" style="@style/UiKit.TextView" />
|
||||
<LinearLayout android:layout_marginTop="@dimen/uikit_spacing_large" style="@style/UiKit.ViewGroup.LinearLayout">
|
||||
<Button android:id="@id/premium_settings_premium_yearly" android:maxWidth="200.0dip" style="@style/UiKit.Button.Green" />
|
||||
<Button android:textColor="@drawable/button_text_color_primary_100" android:id="@id/premium_settings_premium_monthly" android:maxWidth="200.0dip" style="@style/UiKit.Button.Grey" />
|
||||
<LinearLayout android:gravity="center_vertical" android:layout_marginTop="@dimen/uikit_spacing_large" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
<ImageView android:id="@id/premium_settings_nitro" android:layout_width="wrap_content" android:layout_height="70.0dip" android:src="?img_logo_discord_nitro" android:adjustViewBounds="true" android:contentDescription="@string/premium_tier_2" style="@style/UiKit.ImageView" />
|
||||
<ImageView android:id="@id/premium_settings_nitro_wumpus" android:layout_width="wrap_content" android:layout_height="70.0dip" android:layout_marginLeft="@dimen/uikit_spacing_large" android:src="@drawable/img_wumpus_jetpack" android:adjustViewBounds="true" android:scaleX="-1.0" android:importantForAccessibility="no" style="@style/UiKit.ImageView" />
|
||||
</LinearLayout>
|
||||
<TextView android:textSize="20.0sp" android:textColor="?primary_000" android:layout_marginTop="@dimen/uikit_spacing_large" android:text="@string/premium_tier_2_repositioned_title" style="@style/UiKit.TextView.Semibold" />
|
||||
<TextView android:textSize="@dimen/uikit_textsize_large" android:textColor="?primary_200" android:layout_marginTop="@dimen/uikit_spacing_medium" android:text="@string/premium_tier_2_repositioned_subtitle" style="@style/UiKit.TextView" />
|
||||
<com.discord.views.BoxedButton android:gravity="center_horizontal" android:id="@id/premium_settings_premium_yearly" android:background="@drawable/button_status_green_500" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="@dimen/uikit_spacing_large" />
|
||||
<Button android:id="@id/premium_settings_premium_monthly" style="@style/UiKit.Button.Grey" />
|
||||
<TextView android:textColor="?primary_000" android:layout_gravity="center_horizontal" android:id="@id/premium_settings_premium_gift" android:background="?selectableItemBackground" android:paddingLeft="@dimen/uikit_spacing_medium" android:paddingTop="@dimen/uikit_spacing_small" android:paddingRight="@dimen/uikit_spacing_medium" android:paddingBottom="@dimen/uikit_spacing_small" android:focusable="true" android:clickable="true" android:layout_marginTop="@dimen/uikit_spacing_medium" android:text="@string/premium_gift_send" android:textAllCaps="true" style="@style/UiKit.TextView.Semibold" />
|
||||
</LinearLayout>
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<FrameLayout android:id="@id/boost_info_container" android:background="?primary_700" style="@style/UiKit.ViewGroup"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<TextView android:textColor="?white" android:id="@id/boost_info_text" android:layout_marginLeft="@dimen/uikit_spacing_large" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginRight="@dimen/uikit_spacing_large" android:layout_marginBottom="@dimen/uikit_spacing_medium" style="@style/UiKit.TextView" />
|
||||
<TextView android:textColor="?primary_000" android:id="@id/boost_info_text" android:layout_marginLeft="@dimen/uikit_spacing_large" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginRight="@dimen/uikit_spacing_large" android:layout_marginBottom="@dimen/uikit_spacing_medium" style="@style/UiKit.TextView" />
|
||||
</FrameLayout>
|
|
@ -6,16 +6,16 @@
|
|||
<View android:id="@id/boosted_guild_gradient" android:background="@color/primary_700" android:layout_width="fill_parent" android:layout_height="0.0dip" android:alpha="0.65" app:layout_constraintBottom_toBottomOf="@id/boosted_guild_banner" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toRightOf="parent" app:layout_constraintTop_toTopOf="@id/boosted_guild_banner" />
|
||||
<LinearLayout android:gravity="center" android:background="?primary_800_circle" android:layout_width="80.0dip" android:layout_height="80.0dip" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toRightOf="parent" app:layout_constraintTop_toTopOf="parent" style="@style/UiKit.ViewGroup.LinearLayout">
|
||||
<ImageView android:id="@id/boosted_guild_gem_icon" android:importantForAccessibility="no" style="@style/UiKit.ImageView" />
|
||||
<TextView android:textColor="?white" android:id="@id/boosted_guild_level_text" android:textAllCaps="true" style="@style/UiKit.TextView.Bold" />
|
||||
<TextView android:textColor="?primary_000" android:id="@id/boosted_guild_level_text" android:textAllCaps="true" style="@style/UiKit.TextView.Bold" />
|
||||
</LinearLayout>
|
||||
<ProgressBar android:id="@id/boosted_guild_progress" android:layout_width="92.0dip" android:layout_height="92.0dip" android:progressDrawable="@drawable/drawable_boost_progress_ring" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toRightOf="parent" app:layout_constraintTop_toTopOf="parent" style="?android:progressBarStyleHorizontal" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
<LinearLayout android:layout_marginLeft="@dimen/uikit_spacing_large" android:layout_marginRight="@dimen/uikit_spacing_large" android:layout_marginBottom="@dimen/uikit_spacing_large" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
<com.facebook.drawee.view.SimpleDraweeView android:layout_gravity="center_vertical" android:id="@id/boosted_guild_icon" android:layout_marginRight="@dimen/uikit_spacing_medium" style="@style/UiKit.GuildsListIcon" />
|
||||
<LinearLayout style="@style/UiKit.ViewGroup.LinearLayout">
|
||||
<TextView android:textSize="@dimen/uikit_textsize_large" android:textColor="?white" android:ellipsize="end" android:id="@id/boosted_guild_name" android:maxLines="1" style="@style/UiKit.TextView.Semibold" />
|
||||
<TextView android:textSize="@dimen/uikit_textsize_large" android:textColor="?primary_000" android:ellipsize="end" android:id="@id/boosted_guild_name" android:maxLines="1" style="@style/UiKit.TextView.Semibold" />
|
||||
<androidx.cardview.widget.CardView android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="@dimen/uikit_spacing_small" app:cardBackgroundColor="?primary_700" app:cardCornerRadius="14.0sp">
|
||||
<TextView android:textColor="?white" android:id="@id/boosted_guild_time" android:paddingTop="@dimen/uikit_spacing_small" android:paddingBottom="@dimen/uikit_spacing_small" android:layout_marginLeft="@dimen/uikit_spacing_medium" android:layout_marginRight="@dimen/uikit_spacing_medium" android:drawableLeft="@drawable/ic_boosted_badge_12dp" android:drawablePadding="@dimen/uikit_spacing_small" style="@style/UiKit.TextView" />
|
||||
<TextView android:textColor="?primary_000" android:id="@id/boosted_guild_time" android:paddingTop="@dimen/uikit_spacing_small" android:paddingBottom="@dimen/uikit_spacing_small" android:layout_marginLeft="@dimen/uikit_spacing_medium" android:layout_marginRight="@dimen/uikit_spacing_medium" android:drawableLeft="@drawable/ic_boosted_badge_12dp" android:drawablePadding="@dimen/uikit_spacing_small" style="@style/UiKit.TextView" />
|
||||
</androidx.cardview.widget.CardView>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
<LinearLayout android:background="?selectableItemBackground" android:paddingLeft="@dimen/uikit_spacing_large" android:paddingTop="@dimen/uikit_spacing_medium" android:paddingRight="@dimen/uikit_spacing_large" android:paddingBottom="@dimen/uikit_spacing_medium" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/guild_search_item_avatar" app:fadeDuration="50" app:roundAsCircle="true" style="@style/UiKit.GuildsListIcon" />
|
||||
<TextView android:textSize="@dimen/uikit_textsize_large" android:textColor="?white" android:layout_gravity="center_vertical" android:id="@id/guild_search_item_name" android:layout_marginLeft="@dimen/uikit_spacing_xxlarge" style="@style/UiKit.TextView.Semibold" />
|
||||
<TextView android:textSize="@dimen/uikit_textsize_large" android:textColor="?primary_000" android:layout_gravity="center_vertical" android:id="@id/guild_search_item_name" android:layout_marginLeft="@dimen/uikit_spacing_xxlarge" style="@style/UiKit.TextView.Semibold" />
|
||||
</LinearLayout>
|
|
@ -14,9 +14,9 @@
|
|||
<androidx.cardview.widget.CardView android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="@dimen/uikit_spacing_large" android:layout_marginBottom="@dimen/uikit_spacing_large" app:cardBackgroundColor="?primary_800" app:cardCornerRadius="4.0dip">
|
||||
<androidx.constraintlayout.widget.ConstraintLayout android:padding="@dimen/uikit_spacing_large" android:layout_width="fill_parent" android:layout_height="wrap_content">
|
||||
<com.facebook.drawee.view.SimpleDraweeView android:layout_gravity="center_vertical" android:id="@id/boost_confirmation_avatar" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintTop_toTopOf="parent" style="@style/Avatar.Large" />
|
||||
<TextView android:textColor="?white" android:ellipsize="end" android:id="@id/boost_confirmation_guild_name" android:layout_width="0.0dip" android:layout_marginLeft="@dimen/uikit_spacing_medium" android:layout_marginRight="@dimen/uikit_spacing_medium" android:maxLines="1" app:layout_constraintLeft_toRightOf="@id/boost_confirmation_avatar" app:layout_constraintRight_toRightOf="parent" app:layout_constraintTop_toTopOf="parent" style="@style/UiKit.TextView.Semibold" />
|
||||
<TextView android:textColor="?primary_000" android:ellipsize="end" android:id="@id/boost_confirmation_guild_name" android:layout_width="0.0dip" android:layout_marginLeft="@dimen/uikit_spacing_medium" android:layout_marginRight="@dimen/uikit_spacing_medium" android:maxLines="1" app:layout_constraintLeft_toRightOf="@id/boost_confirmation_avatar" app:layout_constraintRight_toRightOf="parent" app:layout_constraintTop_toTopOf="parent" style="@style/UiKit.TextView.Semibold" />
|
||||
<androidx.cardview.widget.CardView android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="@dimen/uikit_spacing_small" app:cardBackgroundColor="?boost_confirmation_card_bg" app:cardCornerRadius="10.0sp" app:layout_constraintLeft_toLeftOf="@id/boost_confirmation_guild_name" app:layout_constraintTop_toBottomOf="@id/boost_confirmation_guild_name">
|
||||
<TextView android:textColor="?white" android:id="@id/boost_confirmation_level_info" android:layout_marginLeft="@dimen/uikit_spacing_small" android:layout_marginRight="@dimen/uikit_spacing_medium" android:drawablePadding="@dimen/uikit_spacing_small" style="@style/UiKit.TextView" />
|
||||
<TextView android:textColor="?primary_000" android:id="@id/boost_confirmation_level_info" android:layout_marginLeft="@dimen/uikit_spacing_small" android:layout_marginRight="@dimen/uikit_spacing_medium" android:drawablePadding="@dimen/uikit_spacing_small" style="@style/UiKit.TextView" />
|
||||
</androidx.cardview.widget.CardView>
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
</androidx.cardview.widget.CardView>
|
||||
|
@ -26,13 +26,13 @@
|
|||
<LinearLayout android:id="@id/boost_confirmation_button_container" android:layout_margin="@dimen/uikit_spacing_large" android:layout_alignParentBottom="true" style="@style/UiKit.ViewGroup.LinearLayout">
|
||||
<TextView android:textColor="@color/status_red_500" android:id="@id/boost_confirmation_error" android:visibility="invisible" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:text="@string/premium_guild_subscription_error_mobile" style="@style/UiKit.TextView" />
|
||||
<Button android:id="@id/boost_confirmation_select" android:text="@string/premium_guild_subscribe_confirm_confirmation" style="@style/UiKit.Button" />
|
||||
<TextView android:textColor="?white" android:gravity="center" android:id="@id/boost_confirmation_cancel" android:background="?selectableItemBackground" android:padding="@dimen/uikit_spacing_medium" android:focusable="true" android:clickable="true" android:layout_width="fill_parent" android:layout_marginTop="@dimen/uikit_spacing_medium" android:text="@string/cancel" android:textAllCaps="true" style="@style/UiKit.TextView" />
|
||||
<TextView android:textColor="?primary_000" android:gravity="center" android:id="@id/boost_confirmation_cancel" android:background="?selectableItemBackground" android:padding="@dimen/uikit_spacing_medium" android:focusable="true" android:clickable="true" android:layout_width="fill_parent" android:layout_marginTop="@dimen/uikit_spacing_medium" android:text="@string/cancel" android:textAllCaps="true" style="@style/UiKit.TextView" />
|
||||
</LinearLayout>
|
||||
</RelativeLayout>
|
||||
<RelativeLayout android:layout_width="fill_parent" android:layout_height="fill_parent">
|
||||
<LinearLayout android:gravity="center" android:layout_height="fill_parent" android:layout_above="@id/boost_confirmation_close" android:layout_centerInParent="true" style="@style/UiKit.ViewGroup.LinearLayout">
|
||||
<com.airbnb.lottie.LottieAnimationView android:layout_gravity="center_horizontal" android:id="@id/boost_confirmation_lottie" android:layout_width="300.0dip" android:layout_height="200.0dip" app:lottie_fileName="?anim_boost_confirmation" style="@style/UiKit.LottieAnimationView" />
|
||||
<TextView android:textSize="20.0sp" android:textColor="?white" android:layout_gravity="center_horizontal" android:layout_marginTop="@dimen/uikit_spacing_xxlarge" android:text="@string/premium_guild_subscribe_success_thanks" style="@style/UiKit.TextView" />
|
||||
<TextView android:textSize="20.0sp" android:textColor="?primary_000" android:layout_gravity="center_horizontal" android:layout_marginTop="@dimen/uikit_spacing_xxlarge" android:text="@string/premium_guild_subscribe_success_thanks" style="@style/UiKit.TextView" />
|
||||
</LinearLayout>
|
||||
<Button android:id="@id/boost_confirmation_close" android:layout_margin="@dimen/uikit_spacing_large" android:text="@string/close" android:layout_alignParentBottom="true" style="@style/UiKit.Button.Grey" />
|
||||
</RelativeLayout>
|
||||
|
|
|
@ -8,14 +8,14 @@
|
|||
<ScrollView android:layout_width="fill_parent" android:layout_height="fill_parent" android:fillViewport="true" android:layout_above="@id/boost_remove_confirmation_button_container">
|
||||
<LinearLayout android:gravity="center" android:layout_marginLeft="@dimen/uikit_spacing_large" android:layout_marginRight="@dimen/uikit_spacing_large" style="@style/UiKit.ViewGroup.LinearLayout">
|
||||
<ImageView android:src="@drawable/drawable_boost_remove" android:importantForAccessibility="no" style="@style/UiKit.ImageView" />
|
||||
<TextView android:textColor="?white" android:layout_marginTop="@dimen/uikit_spacing_xxlarge" android:text="@string/premium_guild_unsubscribe_confirm_header" style="@style/UiKit.TextView.H1" />
|
||||
<TextView android:textColor="?primary_000" android:layout_marginTop="@dimen/uikit_spacing_xxlarge" android:text="@string/premium_guild_unsubscribe_confirm_header" style="@style/UiKit.TextView.H1" />
|
||||
<TextView android:layout_marginTop="@dimen/uikit_spacing_medium" android:text="@string/premium_guild_unsubscribe_confirm_blurb" style="@style/UiKit.TextView" />
|
||||
<androidx.cardview.widget.CardView android:layout_marginTop="@dimen/uikit_spacing_large" android:layout_marginBottom="@dimen/uikit_spacing_large" app:cardBackgroundColor="?primary_800" app:cardCornerRadius="4.0dip" style="@style/UiKit.ViewGroup">
|
||||
<androidx.constraintlayout.widget.ConstraintLayout android:padding="@dimen/uikit_spacing_large" style="@style/UiKit.ViewGroup">
|
||||
<com.facebook.drawee.view.SimpleDraweeView android:layout_gravity="center_vertical" android:id="@id/boost_remove_confirmation_avatar" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintTop_toTopOf="parent" style="@style/Avatar.Large" />
|
||||
<TextView android:textColor="?white" android:ellipsize="end" android:id="@id/boost_remove_confirmation_guild_name" android:layout_width="0.0dip" android:layout_marginLeft="@dimen/uikit_spacing_medium" android:layout_marginRight="@dimen/uikit_spacing_medium" android:maxLines="1" app:layout_constraintLeft_toRightOf="@id/boost_remove_confirmation_avatar" app:layout_constraintRight_toRightOf="parent" app:layout_constraintTop_toTopOf="parent" style="@style/UiKit.TextView.Semibold" />
|
||||
<TextView android:textColor="?primary_000" android:ellipsize="end" android:id="@id/boost_remove_confirmation_guild_name" android:layout_width="0.0dip" android:layout_marginLeft="@dimen/uikit_spacing_medium" android:layout_marginRight="@dimen/uikit_spacing_medium" android:maxLines="1" app:layout_constraintLeft_toRightOf="@id/boost_remove_confirmation_avatar" app:layout_constraintRight_toRightOf="parent" app:layout_constraintTop_toTopOf="parent" style="@style/UiKit.TextView.Semibold" />
|
||||
<androidx.cardview.widget.CardView android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="@dimen/uikit_spacing_small" app:cardBackgroundColor="?boost_confirmation_card_bg" app:cardCornerRadius="10.0sp" app:layout_constraintLeft_toLeftOf="@id/boost_remove_confirmation_guild_name" app:layout_constraintTop_toBottomOf="@id/boost_remove_confirmation_guild_name">
|
||||
<TextView android:textColor="?white" android:id="@id/boost_remove_confirmation_level_info" android:layout_marginLeft="@dimen/uikit_spacing_small" android:layout_marginRight="@dimen/uikit_spacing_medium" android:drawablePadding="@dimen/uikit_spacing_small" style="@style/UiKit.TextView" />
|
||||
<TextView android:textColor="?primary_000" android:id="@id/boost_remove_confirmation_level_info" android:layout_marginLeft="@dimen/uikit_spacing_small" android:layout_marginRight="@dimen/uikit_spacing_medium" android:drawablePadding="@dimen/uikit_spacing_small" style="@style/UiKit.TextView" />
|
||||
</androidx.cardview.widget.CardView>
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
</androidx.cardview.widget.CardView>
|
||||
|
@ -25,7 +25,7 @@
|
|||
<LinearLayout android:id="@id/boost_remove_confirmation_button_container" android:layout_margin="@dimen/uikit_spacing_large" android:layout_alignParentBottom="true" style="@style/UiKit.ViewGroup.LinearLayout">
|
||||
<TextView android:textColor="@color/status_red_500" android:id="@id/boost_remove_confirmation_error" android:visibility="invisible" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:text="@string/premium_guild_subscription_remove_error_mobile" style="@style/UiKit.TextView" />
|
||||
<Button android:id="@id/boost_remove_confirmation_select" android:text="@string/premium_guild_unsubscribe_confirm_confirmation" style="@style/UiKit.Button" />
|
||||
<TextView android:textColor="?white" android:gravity="center" android:id="@id/boost_remove_confirmation_cancel" android:background="?selectableItemBackground" android:padding="@dimen/uikit_spacing_medium" android:focusable="true" android:clickable="true" android:layout_width="fill_parent" android:layout_marginTop="@dimen/uikit_spacing_medium" android:text="@string/cancel" android:textAllCaps="true" style="@style/UiKit.TextView" />
|
||||
<TextView android:textColor="?primary_000" android:gravity="center" android:id="@id/boost_remove_confirmation_cancel" android:background="?selectableItemBackground" android:padding="@dimen/uikit_spacing_medium" android:focusable="true" android:clickable="true" android:layout_width="fill_parent" android:layout_marginTop="@dimen/uikit_spacing_medium" android:text="@string/cancel" android:textAllCaps="true" style="@style/UiKit.TextView" />
|
||||
</LinearLayout>
|
||||
</RelativeLayout>
|
||||
<com.discord.utilities.dimmer.DimmerView style="@style/UiKit.DimmerView" />
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
<LinearLayout android:gravity="center_vertical" android:id="@id/server_settings_members_header_container" android:background="@drawable/drawable_uikit_primary_100_bg_dark" android:padding="@dimen/uikit_spacing_medium" android:layout_marginLeft="10.0dip" android:layout_marginRight="10.0dip" android:layout_marginBottom="10.0dip" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
<EditText android:textColor="@color/primary_500" android:id="@id/server_settings_members_name_search" android:padding="0.0dip" android:layout_width="0.0dip" android:hint="@string/members_search_placeholder" android:singleLine="true" android:maxLength="20" android:drawableLeft="@drawable/ic_search" android:drawablePadding="@dimen/uikit_spacing_medium" android:layout_weight="5.0" android:inputType="textNoSuggestions" android:imeOptions="actionDone" android:drawableStart="@drawable/ic_search" style="@style/UiKit.EditText.Themed" />
|
||||
<View style="@style/UiKit.Divider.Vertical" />
|
||||
<Spinner android:theme="@style/AppTheme.Light.Legacy" android:gravity="center" android:id="@id/server_settings_members_roles_spinner" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="3.0" />
|
||||
<Spinner android:theme="@style/AppTheme.Light" android:gravity="center" android:id="@id/server_settings_members_roles_spinner" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="3.0" />
|
||||
</LinearLayout>
|
||||
</com.google.android.material.appbar.AppBarLayout>
|
||||
<com.discord.app.AppViewFlipper android:id="@id/server_settings_members_view_flipper" android:inAnimation="@android:anim/fade_in" android:outAnimation="@android:anim/fade_out" style="@style/UiKit.ViewGroup.RelativeLayout.AppBarScrollingViewBehavior">
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
<TextView android:text="@string/premium_settings" style="@style/UiKit.Settings.Item.Header" />
|
||||
<TextView android:textColor="@color/brand_500" android:id="@id/settings_nitro" android:drawableLeft="@drawable/ic_nitro_rep" android:drawableStart="@drawable/ic_nitro_rep" style="@style/UiKit.Settings.Item.Icon" />
|
||||
<TextView android:id="@id/settings_nitro_boosting" android:text="@string/premium_guild_subscription_title" android:drawableLeft="?ic_settings_boost_a60" android:drawableStart="?ic_settings_boost_a60" style="@style/UiKit.Settings.Item.Icon" />
|
||||
<TextView android:id="@id/settings_nitro_gifting" android:visibility="gone" android:text="@string/premium_gifting_title" android:drawableLeft="?ic_settings_gifting_a60" android:drawableStart="?ic_settings_gifting_a60" style="@style/UiKit.Settings.Item.Icon" />
|
||||
<TextView android:id="@id/settings_nitro_gifting" android:text="@string/premium_gifting_title" android:drawableLeft="?ic_settings_gifting_a60" android:drawableStart="?ic_settings_gifting_a60" style="@style/UiKit.Settings.Item.Icon" />
|
||||
</LinearLayout>
|
||||
<View style="@style/UiKit.Settings.Divider" />
|
||||
<TextView android:text="@string/app_settings" style="@style/UiKit.Settings.Item.Header" />
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
<ScrollView style="@style/UiKit.ViewGroup.ScrollView">
|
||||
<LinearLayout android:paddingLeft="@dimen/uikit_spacing_xlarge" android:paddingTop="@dimen/uikit_spacing_large" android:paddingRight="@dimen/uikit_spacing_xlarge" android:paddingBottom="@dimen/uikit_spacing_large" style="@style/UiKit.ViewGroup.LinearLayout">
|
||||
<androidx.cardview.widget.CardView android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_xxlarge" app:cardBackgroundColor="?primary_630" app:cardCornerRadius="4.0dip">
|
||||
<com.discord.utilities.view.text.LinkifiedTextView android:textColor="?white" android:id="@id/settings_boost_no_sub_banner" android:padding="@dimen/uikit_spacing_medium" android:layout_width="fill_parent" android:drawableLeft="@drawable/ic_boosted_badge_24dp" android:drawablePadding="@dimen/uikit_spacing_medium" android:lineSpacingMultiplier="1.0" android:drawableStart="@drawable/ic_boosted_badge_24dp" style="@style/UiKit.TextView" />
|
||||
<com.discord.utilities.view.text.LinkifiedTextView android:textColor="?primary_000" android:id="@id/settings_boost_no_sub_banner" android:padding="@dimen/uikit_spacing_medium" android:layout_width="fill_parent" android:drawableLeft="@drawable/ic_boosted_badge_24dp" android:drawablePadding="@dimen/uikit_spacing_medium" android:lineSpacingMultiplier="1.0" android:drawableStart="@drawable/ic_boosted_badge_24dp" style="@style/UiKit.TextView" />
|
||||
</androidx.cardview.widget.CardView>
|
||||
<FrameLayout style="@style/UiKit.ViewGroup">
|
||||
<androidx.cardview.widget.CardView android:layout_marginTop="20.0dip" app:cardBackgroundColor="?primary_630" app:cardCornerRadius="4.0dip" style="@style/UiKit.ViewGroup">
|
||||
|
@ -25,7 +25,7 @@
|
|||
</androidx.cardview.widget.CardView>
|
||||
<ImageView android:layout_gravity="end" android:layout_marginRight="@dimen/uikit_spacing_xlarge" android:src="@drawable/img_wumpus_jetpack" android:scaleX="-1.0" android:importantForAccessibility="no" style="@style/UiKit.ImageView" />
|
||||
</FrameLayout>
|
||||
<TextView android:textColor="?white" android:layout_marginTop="@dimen/uikit_spacing_xxlarge" android:text="@string/premium_guild_features_title" style="@style/UiKit.TextView.H1" />
|
||||
<TextView android:textColor="?primary_000" android:layout_marginTop="@dimen/uikit_spacing_xxlarge" android:text="@string/premium_guild_features_title" style="@style/UiKit.TextView.H1" />
|
||||
<com.discord.app.AppTextView android:textSize="@dimen/uikit_textsize_large" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:text="@string/premium_guild_features_blurb" app:tv_markdown_enabled="true" style="@style/UiKit.TextView" />
|
||||
<include layout="@layout/view_boost_user_settings_perks" />
|
||||
<TextView android:layout_marginTop="@dimen/uikit_spacing_large" android:text="@string/premium_guild_features_more" style="@style/UiKit.TextView" />
|
||||
|
|
|
@ -8,14 +8,14 @@
|
|||
<ScrollView android:id="@id/premium_settings_scrollview" style="@style/UiKit.ViewGroup.NestedScrollView.AppBarScrollingViewBehavior">
|
||||
<androidx.constraintlayout.widget.ConstraintLayout android:layout_width="fill_parent" android:layout_height="wrap_content">
|
||||
<ImageView android:layout_gravity="top" android:background="@drawable/img_nitro_pattern" android:layout_width="fill_parent" android:layout_height="270.0sp" android:importantForAccessibility="no" app:layout_constraintTop_toTopOf="parent" />
|
||||
<ImageView android:layout_gravity="top" android:background="@drawable/img_nitro_classic_pattern" android:layout_width="fill_parent" android:layout_height="270.0sp" android:importantForAccessibility="no" app:layout_constraintBottom_toBottomOf="parent" />
|
||||
<LinearLayout android:layout_width="0.0dip" android:layout_marginTop="@dimen/uikit_spacing_xlarge" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toRightOf="parent" app:layout_constraintTop_toTopOf="parent" app:layout_constraintWidth_max="500.0dip" style="@style/UiKit.ViewGroup.LinearLayout">
|
||||
<TextView android:textSize="@dimen/uikit_textsize_small" android:textColor="@color/primary_100" android:id="@id/premium_settings_grandfathered" android:background="@drawable/bg_nitro_grandfathered" android:padding="@dimen/uikit_spacing_medium" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/uikit_spacing_xlarge" android:layout_marginRight="@dimen/uikit_spacing_xlarge" android:layout_marginBottom="@dimen/uikit_spacing_large" android:drawableLeft="@drawable/ic_nitro_badge_white" android:drawablePadding="@dimen/uikit_spacing_medium" android:drawableStart="@drawable/ic_nitro_badge_white" style="@style/UiKit.TextView" />
|
||||
<com.discord.views.ActiveSubscriptionView android:id="@id/premium_settings_active_subscription" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/uikit_spacing_xlarge" android:layout_marginRight="@dimen/uikit_spacing_xlarge" app:cardBackgroundColor="@color/primary_630" />
|
||||
<TextView android:textSize="@dimen/uikit_textsize_small" android:textColor="@color/primary_400" android:id="@id/premium_settings_legalese" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/uikit_spacing_xlarge" android:layout_marginTop="@dimen/uikit_spacing_large" android:layout_marginRight="@dimen/uikit_spacing_xlarge" style="@style/UiKit.TextView" />
|
||||
<include android:id="@id/premium_settings_tier_1_container" layout="@layout/view_premium_settings_tier_1" />
|
||||
<include layout="@layout/view_premium_settings_perks" />
|
||||
<TextView android:textSize="@dimen/uikit_textsize_small" android:textColor="@color/white" android:id="@id/premium_settings_grandfathered" android:background="@drawable/bg_nitro_grandfathered" android:padding="@dimen/uikit_spacing_medium" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/uikit_spacing_large" android:layout_marginRight="@dimen/uikit_spacing_large" android:layout_marginBottom="@dimen/uikit_spacing_large" android:drawableLeft="@drawable/ic_nitro_badge_white" android:drawablePadding="@dimen/uikit_spacing_medium" android:drawableStart="@drawable/ic_nitro_badge_white" style="@style/UiKit.TextView" />
|
||||
<TextView android:textSize="@dimen/uikit_textsize_small" android:textColor="@color/primary_400" android:id="@id/premium_settings_legalese" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/uikit_spacing_large" android:layout_marginTop="@dimen/uikit_spacing_large" android:layout_marginRight="@dimen/uikit_spacing_large" style="@style/UiKit.TextView" />
|
||||
<com.discord.views.ActiveSubscriptionView android:id="@id/premium_settings_active_subscription" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/uikit_spacing_large" android:layout_marginRight="@dimen/uikit_spacing_large" app:cardBackgroundColor="?primary_630" />
|
||||
<include android:id="@id/premium_settings_tier_2_container" layout="@layout/view_premium_settings_tier_2" />
|
||||
<include layout="@layout/view_premium_settings_games" />
|
||||
<include layout="@layout/view_premium_settings_perks" />
|
||||
<include android:id="@id/premium_settings_tier_1_container" layout="@layout/view_premium_settings_tier_1" />
|
||||
</LinearLayout>
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
</ScrollView>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue