From dd34c2ffee1b45073291202a18c531310ad2f0bb Mon Sep 17 00:00:00 2001 From: Hafizzle Date: Thu, 14 Sep 2023 20:18:25 -0400 Subject: [PATCH] Updated subscription bottomsheet UI - Rounded the corners of the gems for gold banner to 16dp. - Verified and adjusted the background color of the gold banner to Teal1 #005158. - Updated headline 'Subscribe to buy gems and gold...' color to gray700 in dark mode and gray10 in light mode. - Enlarged text descriptions under each perk to 14sp and set color to gray400 in dark mode and gray100 in light mode. - Added a 4dp thick outline to unselected subscription benefit boxes with color gray50 in dark mode and gray600 in light mode. - Resized the 'Subscribing supports our small team...' line to 12sp. - Renamed 'Monthly Mystery Items' to 'Exclusive Monthly Gear Sets'. --- Habitica/res/drawable/subscription_box_bg.xml | 5 ++-- .../fragment_bottomsheet_subscription.xml | 30 ++++++++++--------- Habitica/res/values-night/colors.xml | 1 + Habitica/res/values/colors.xml | 1 + Habitica/res/values/strings.xml | 2 +- .../SubscriptionBottomSheetFragment.kt | 1 + 6 files changed, 23 insertions(+), 17 deletions(-) diff --git a/Habitica/res/drawable/subscription_box_bg.xml b/Habitica/res/drawable/subscription_box_bg.xml index 499e18b04..147c40f4a 100644 --- a/Habitica/res/drawable/subscription_box_bg.xml +++ b/Habitica/res/drawable/subscription_box_bg.xml @@ -1,6 +1,7 @@ - + - + + \ No newline at end of file diff --git a/Habitica/res/layout/fragment_bottomsheet_subscription.xml b/Habitica/res/layout/fragment_bottomsheet_subscription.xml index 8b6496b59..f2ce1e397 100644 --- a/Habitica/res/layout/fragment_bottomsheet_subscription.xml +++ b/Habitica/res/layout/fragment_bottomsheet_subscription.xml @@ -1,9 +1,10 @@ - + app:cardCornerRadius="28dp" + android:layout_height="match_parent" + app:cardBackgroundColor="@color/window_background"> @@ -72,25 +73,26 @@ + android:text="@string/buy_gems_with_gold" + android:textColor="@color/white" /> + android:text="SUBSCRIBER BENEFIT" + android:textColor="@color/white" /> + @@ -105,8 +107,8 @@ android:gravity="center" android:lineSpacingExtra="4dp" android:text="@string/subscribe_prompt_2" - app:dayTextColor="@color/text_brand" - app:nightTextColor="@color/gray_400" /> + android:textColor="@color/gray700_gray10" + /> + android:textColor="@color/text_quad" + android:textSize="12sp" />