From 2d5e1630e095a0c043529fa56524258fa93ce11e Mon Sep 17 00:00:00 2001 From: GitStart <1501599+gitstart@users.noreply.github.com> Date: Wed, 1 Mar 2023 18:16:23 +0300 Subject: [PATCH] Bug 1815631 - changed height and reduced padding for `Active` text from the Studies menu (#919) * Bug 1815631 - changed height and reduced padding for Active text from the Studies menu * Bug 1815631 - changed height and reduced padding for Active text from the Studies menu --------- Co-authored-by: gitstart Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> --- app/src/main/res/layout/studies_section_item.xml | 9 +++++---- app/src/main/res/values/integers.xml | 1 + app/src/main/res/values/styles.xml | 7 +++++++ 3 files changed, 13 insertions(+), 4 deletions(-) diff --git a/app/src/main/res/layout/studies_section_item.xml b/app/src/main/res/layout/studies_section_item.xml index 4906dda067..f78e00be1a 100644 --- a/app/src/main/res/layout/studies_section_item.xml +++ b/app/src/main/res/layout/studies_section_item.xml @@ -22,12 +22,13 @@ android:layout_marginStart="@dimen/top_bar_alignment_margin_start" android:id="@+id/title" android:layout_width="match_parent" - android:layout_height="@dimen/section_header_height" + android:layout_height="wrap_content" android:gravity="start|center_vertical" android:textColor="?preferenceSectionHeader" android:background="?android:attr/selectableItemBackground" android:orientation="horizontal" - android:paddingVertical="16dp" - android:textStyle="bold" - tools:text="Active" /> + android:layout_marginTop="8dp" + android:layout_marginBottom="14dp" + style="@style/StudiesItemTitleTextStyle" + tools:text="Active"/> diff --git a/app/src/main/res/values/integers.xml b/app/src/main/res/values/integers.xml index 17f7a4c542..714c459595 100644 --- a/app/src/main/res/values/integers.xml +++ b/app/src/main/res/values/integers.xml @@ -5,4 +5,5 @@ 500 + 600 diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index fe7e269c95..dd651bb537 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -591,6 +591,13 @@ @integer/font_weight_medium + +