tune toolbar texts sizes

This commit is contained in:
kosyak 2024-10-09 23:20:08 +02:00
parent d970679064
commit 9529831f80
2 changed files with 6 additions and 1 deletions

View file

@ -6,6 +6,7 @@
android:minHeight="?attr/actionBarSize" android:minHeight="?attr/actionBarSize"
android:elevation="@dimen/toolbar_elevation" android:elevation="@dimen/toolbar_elevation"
android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar" android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
app:titleTextAppearance="@style/ToolbarTitleAppearance"
app:subtitleTextAppearance="@style/ToolbarSubtitleAppearance" app:subtitleTextAppearance="@style/ToolbarSubtitleAppearance"
app:popupTheme="?popupOverlayStyle" app:popupTheme="?popupOverlayStyle"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"

View file

@ -51,8 +51,12 @@
<item name="android:textSize">?TextSizeCaption</item> <item name="android:textSize">?TextSizeCaption</item>
</style> </style>
<style name="ToolbarTitleAppearance" parent="@style/TextAppearance.Widget.AppCompat.Toolbar.Title">
<item name="android:textSize">19dp</item>
</style>
<style name="ToolbarSubtitleAppearance" parent="@style/TextAppearance.Widget.AppCompat.Toolbar.Subtitle"> <style name="ToolbarSubtitleAppearance" parent="@style/TextAppearance.Widget.AppCompat.Toolbar.Subtitle">
<item name="android:textSize">12sp</item> <item name="android:textSize">13dp</item>
</style> </style>
<style name="Widget.Conversations.EditText" parent="Widget.AppCompat.EditText"> <style name="Widget.Conversations.EditText" parent="Widget.AppCompat.EditText">