2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-03 23:15:31 +00:00

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>
This commit is contained in:
GitStart 2023-03-01 18:16:23 +03:00 committed by GitHub
parent e1a55df5ee
commit 2d5e1630e0
3 changed files with 13 additions and 4 deletions

View File

@ -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>

View File

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

View File

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