From e1221c1f53884fb7d14cafcc205efda1f556d10c Mon Sep 17 00:00:00 2001 From: Phillip Thelen Date: Thu, 17 Sep 2020 17:58:59 +0200 Subject: [PATCH] Fix style issues --- Habitica/build.gradle | 2 +- Habitica/res/layout/activity_gift_gems.xml | 4 ++-- Habitica/res/layout/activity_main.xml | 1 - Habitica/res/layout/activity_skill_tasks.xml | 6 ++---- Habitica/res/layout/activity_task_form.xml | 6 ++++-- .../res/layout/dialog_habitica_primary_button.xml | 7 +++++-- Habitica/res/layout/drawer_main.xml | 2 +- Habitica/res/values-en-rGB/strings.xml | 2 +- Habitica/res/values-night/colors.xml | 1 + Habitica/res/values/colors.xml | 1 + Habitica/res/values/styles.xml | 13 ++++++++----- .../habitrpg/android/habitica/models/Transaction.kt | 1 - .../ui/views/tasks/form/HabitScoringButtonsView.kt | 4 ++++ .../ui/views/tasks/form/TaskDifficultyButtons.kt | 3 ++- 14 files changed, 32 insertions(+), 21 deletions(-) diff --git a/Habitica/build.gradle b/Habitica/build.gradle index 18b2f5e79..e71f2cfa2 100644 --- a/Habitica/build.gradle +++ b/Habitica/build.gradle @@ -158,7 +158,7 @@ android { multiDexEnabled true resConfigs "en", "bg", "de", "en-rGB", "es", "fr", "hr-rHR", "in", "it", "iw", "ja", "ko", "lt", "nl", "pl", "pt-rBR", "pt-rPT", "ru", "tr", "zh", "zh-rTW" - versionCode 2551 + versionCode 2552 versionName "3.0" } diff --git a/Habitica/res/layout/activity_gift_gems.xml b/Habitica/res/layout/activity_gift_gems.xml index 1f440f35e..3c2046b70 100644 --- a/Habitica/res/layout/activity_gift_gems.xml +++ b/Habitica/res/layout/activity_gift_gems.xml @@ -31,7 +31,7 @@ android:layout_width="match_parent" android:layout_height="?attr/actionBarSize" android:layout_gravity="bottom" - android:background="?attr/colorPrimary" + android:background="?headerOffsetColor" android:elevation="0dp" android:fillViewport="false" @@ -41,7 +41,7 @@ app:layout_collapseMode="pin" app:tabGravity="fill" - app:tabIndicatorColor="@android:color/white" + app:tabIndicatorColor="?colorPrimary" app:tabMode="fixed" /> \ No newline at end of file diff --git a/Habitica/res/layout/drawer_main.xml b/Habitica/res/layout/drawer_main.xml index 85d3b5aad..c2c4dda27 100644 --- a/Habitica/res/layout/drawer_main.xml +++ b/Habitica/res/layout/drawer_main.xml @@ -83,7 +83,7 @@ android:gravity="center" android:minWidth="20dp" android:paddingTop="0dp" - android:textColor="#FFF" + android:textColor="@color/text_inverted" android:textSize="12sp" android:visibility="gone" tools:text="1" diff --git a/Habitica/res/values-en-rGB/strings.xml b/Habitica/res/values-en-rGB/strings.xml index ccfcf5c92..e4f47611e 100644 --- a/Habitica/res/values-en-rGB/strings.xml +++ b/Habitica/res/values-en-rGB/strings.xml @@ -394,7 +394,7 @@ You don’t have any To-Dos To-Dos are tasks that only need to be completed once. Add checklists to your To-Dos to increase their value. You don’t have any Rewards - Reset Justin’s Walkthrough + Reset Tutorials Review our Community Guidelines before posting Maintenance Reload Content diff --git a/Habitica/res/values-night/colors.xml b/Habitica/res/values-night/colors.xml index 151f101ee..0787c9a54 100644 --- a/Habitica/res/values-night/colors.xml +++ b/Habitica/res/values-night/colors.xml @@ -6,6 +6,7 @@ @color/gray_400 @color/gray_300 @color/gray_200 + @color/gray_10 @color/brand_400 @color/brand_500 @color/red_10 diff --git a/Habitica/res/values/colors.xml b/Habitica/res/values/colors.xml index 9715b09e7..048577fc6 100644 --- a/Habitica/res/values/colors.xml +++ b/Habitica/res/values/colors.xml @@ -160,6 +160,7 @@ @color/gray_200 @color/gray_300 @color/gray_400 + @color/gray_700 @color/brand_300 @color/brand_400 @color/red_10 diff --git a/Habitica/res/values/styles.xml b/Habitica/res/values/styles.xml index 755781a6b..9052a81e3 100644 --- a/Habitica/res/values/styles.xml +++ b/Habitica/res/values/styles.xml @@ -64,7 +64,7 @@ @color/gray_500 @color/gray_1 @color/gray_10 - @color/gray_400 + @color/brand_500