From 1f0c2d20bf98d55148ef3d2d469b808e63f590d5 Mon Sep 17 00:00:00 2001 From: Phillip Thelen Date: Tue, 27 Sep 2022 14:33:59 +0200 Subject: [PATCH] small design updates --- .../res/layout/fragment_challenge_detail.xml | 2 ++ Habitica/res/layout/fragment_guild_detail.xml | 24 ++++++------------- Habitica/res/layout/fragment_party_detail.xml | 8 +++---- .../res/layout/fragment_tavern_detail.xml | 12 +++++++--- Habitica/res/layout/party_member.xml | 10 ++++---- .../res/layout/view_collapsible_section.xml | 5 ---- .../ui/views/CollapsibleSectionView.kt | 17 +++---------- .../ui/views/social/QuestProgressView.kt | 9 ++++--- 8 files changed, 35 insertions(+), 52 deletions(-) diff --git a/Habitica/res/layout/fragment_challenge_detail.xml b/Habitica/res/layout/fragment_challenge_detail.xml index 378418a37..bc7dd0208 100644 --- a/Habitica/res/layout/fragment_challenge_detail.xml +++ b/Habitica/res/layout/fragment_challenge_detail.xml @@ -179,6 +179,8 @@ android:layout_height="wrap_content" android:layout_marginTop="11dp" android:lineSpacingExtra="4sp" + android:background="@drawable/layout_rounded_bg_window" + android:padding="@dimen/spacing_large" tools:text="There’s always more to learn! Maybe it’s a specialized topic you’re interested in, or maybe it’s the experiences of a notable contributor. Read about it and you may win 15 gems!" /> diff --git a/Habitica/res/layout/fragment_guild_detail.xml b/Habitica/res/layout/fragment_guild_detail.xml index b62f35db0..a9849aee2 100644 --- a/Habitica/res/layout/fragment_guild_detail.xml +++ b/Habitica/res/layout/fragment_guild_detail.xml @@ -5,7 +5,7 @@ android:layout_height="match_parent" xmlns:tools="http://schemas.android.com/tools" android:id="@+id/refreshLayout" - android:background="@color/window_background"> + android:background="@color/content_background"> @@ -101,10 +101,6 @@ android:layout_height="wrap_content" android:orientation="vertical" android:background="?attr/colorContentBackground"> - - - + android:layout_marginTop="@dimen/spacing_large" + android:background="@drawable/layout_rounded_bg_window" + android:padding="@dimen/spacing_large"/> + android:layout_marginTop="@dimen/spacing_large" + android:background="@drawable/layout_rounded_bg_window" + android:padding="@dimen/spacing_large" /> -