use a bit smaller radiobuttons

This commit is contained in:
tibbi 2023-05-07 22:45:18 +02:00
parent dfe84c0ee2
commit ec7881dd55

View file

@ -18,6 +18,8 @@
<item name="android:forceDarkAllowed">false</item>
<item name="windowActionModeOverlay">true</item> <!-- replace casual top menu with contextual menu after long pressing an item -->
<item name="android:actionOverflowButtonStyle">@style/ActionMenuOverflowIcon</item>
<item name="android:radioButtonStyle">@style/MyRadioButtonStyle</item>
<item name="radioButtonStyle">@style/MyRadioButtonStyle</item>
</style>
<style name="AppTheme.Base.Core" parent="Theme.Material3.Dark.NoActionBar">
@ -53,6 +55,8 @@
<item name="materialAlertDialogTheme">@style/ThemeOverlay.App.MaterialAlertDialog</item>
<item name="windowActionModeOverlay">true</item>
<item name="android:actionOverflowButtonStyle">@style/ActionMenuOverflowIcon</item>
<item name="android:radioButtonStyle">@style/MyRadioButtonStyle</item>
<item name="radioButtonStyle">@style/MyRadioButtonStyle</item>
</style>
<style name="AppTheme.Base.System.Light" parent="Theme.Material3.Light.NoActionBar">
@ -78,6 +82,8 @@
<item name="windowActionModeOverlay">true</item>
<item name="android:actionOverflowButtonStyle">@style/ActionMenuOverflowIcon</item>
<item name="android:itemTextAppearance">@style/MenuTextAppearance</item>
<item name="android:radioButtonStyle">@style/MyRadioButtonStyle</item>
<item name="radioButtonStyle">@style/MyRadioButtonStyle</item>
</style>
<!-- remove the shadow under actionBar, keep it there around Overflow menu that appears at pressing the 3 dots -->
@ -167,6 +173,11 @@
<item name="android:textSize">@dimen/big_text_size</item>
</style>
<style name="MyRadioButtonStyle" parent="Widget.Material3.CompoundButton.RadioButton">
<item name="minHeight">40dp</item>
<item name="android:minHeight">40dp</item>
</style>
<style name="AppTheme.ActionBar.TitleTextStyle">
<item name="android:textSize">@dimen/actionbar_text_size</item>
</style>