0
0
mirror of https://github.com/thunderbird/thunderbird-android.git synced 2024-09-20 04:02:14 +02:00

Fix toolbar height in account settings

This allows the toolbar to grow when using a large system font size.
This commit is contained in:
cketti 2024-05-21 14:24:17 +02:00
parent cd7785f8b6
commit 0046aa5d0a
2 changed files with 7 additions and 1 deletions

View File

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="toolbarTitleMarginVertical">8dp</dimen>
</resources>

View File

@ -10,13 +10,15 @@
android:id="@+id/toolbar"
style="?attr/toolbarStyle"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
android:layout_height="wrap_content"
android:minHeight="?attr/actionBarSize"
tools:navigationIcon="@drawable/ic_arrow_back">
<com.fsck.k9.ui.settings.account.AccountSelectionSpinner
android:id="@+id/accountSpinner"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginVertical="@dimen/toolbarTitleMarginVertical"
tools:listitem="@layout/account_spinner_item"/>
</androidx.appcompat.widget.Toolbar>