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 <gitstart@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
fenix/112.0
GitStart 2 years ago committed by GitHub
parent e1a55df5ee
commit 2d5e1630e0

@ -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"/>
</LinearLayout>

@ -5,4 +5,5 @@
<resources>
<!-- Font weights -->
<integer name="font_weight_medium">500</integer>
<integer name="font_weight_semi_bold">600</integer>
</resources>

@ -591,6 +591,13 @@
<item name="android:fontWeight" tools:ignore="NewApi">@integer/font_weight_medium</item>
</style>
<style name="StudiesItemTitleTextStyle">
<item name="android:textSize">12sp</item>
<item name="android:textFontWeight" tools:ignore="NewApi">@integer/font_weight_semi_bold</item>
<item name="android:fontWeight" tools:ignore="NewApi">@integer/font_weight_semi_bold</item>
<item name="fontFamily">sans-serif-medium</item>
</style>
<style name="ShareDialogStyle" parent="DialogStyleBase"/>
<style name="AboutItemText" parent="TextAppearance.MaterialComponents.Body2">

Loading…
Cancel
Save