From 1aa3f66ccb007701321b222359732dd003c15447 Mon Sep 17 00:00:00 2001 From: Phillip Thelen Date: Wed, 16 Oct 2024 15:37:00 +0200 Subject: [PATCH] sub page tweaks --- .../res/layout/activity_gift_subscription.xml | 2 ++ Habitica/res/layout/subscription_details.xml | 18 +++++++++++++++--- Habitica/res/values/strings.xml | 14 +++++++------- Habitica/res/values/values.xml | 1 - .../habitica/helpers/AppConfigManager.kt | 3 --- .../habitica/ui/activities/DeathActivity.kt | 1 + .../subscriptions/SubscriptionDetailsView.kt | 5 +++-- version.properties | 4 ++-- 8 files changed, 30 insertions(+), 18 deletions(-) diff --git a/Habitica/res/layout/activity_gift_subscription.xml b/Habitica/res/layout/activity_gift_subscription.xml index add23bc93..ce29768d5 100644 --- a/Habitica/res/layout/activity_gift_subscription.xml +++ b/Habitica/res/layout/activity_gift_subscription.xml @@ -98,6 +98,8 @@ android:layout_gravity="center_horizontal" android:gravity="center_horizontal" android:text="@string/gift_subscription_subtitle" + android:textSize="17sp" + android:fontFamily="@string/font_family_medium" android:textColor="@color/white" android:layout_marginStart="@dimen/spacing_large" android:layout_marginEnd="@dimen/spacing_large" /> diff --git a/Habitica/res/layout/subscription_details.xml b/Habitica/res/layout/subscription_details.xml index 6bceb8f81..492739b71 100644 --- a/Habitica/res/layout/subscription_details.xml +++ b/Habitica/res/layout/subscription_details.xml @@ -39,8 +39,9 @@ android:layout_width="match_parent" android:layout_height="match_parent" android:gravity="center" - android:padding="4dp" android:textSize="15sp" + android:paddingHorizontal="16dp" + android:paddingVertical="4dp" android:text="@string/subscription_credit_canceling" android:textColor="@color/green_500" /> @@ -82,7 +83,7 @@ + + @@ -303,8 +315,8 @@ style="@style/subscriptionBoxText.Subtitle" android:layout_width="match_parent" android:layout_height="wrap_content" - android:layout_marginTop="8dp" android:layout_marginBottom="8dp" + android:lineHeight="20sp" android:text="@string/cancel_subscription_notgoogle_description" />