move the radio or checkbox height into dimen

This commit is contained in:
tibbi 2023-05-07 23:05:40 +02:00
parent 75554f0e66
commit b7ffe4848e
2 changed files with 3 additions and 2 deletions

View file

@ -11,6 +11,7 @@
<dimen name="section_margin">32dp</dimen>
<dimen name="label_start_margin">72dp</dimen>
<dimen name="settings_label_start_margin">22dp</dimen>
<dimen name="min_radio_checkbox_height">44dp</dimen>
<dimen name="material_dialog_corner_radius">28dp</dimen>
<dimen name="material_button_corner_radius">24dp</dimen>

View file

@ -174,8 +174,8 @@
</style>
<style name="MyRadioButtonStyle" parent="Widget.Material3.CompoundButton.RadioButton">
<item name="minHeight">44dp</item>
<item name="android:minHeight">44dp</item>
<item name="minHeight">@dimen/min_radio_checkbox_height</item>
<item name="android:minHeight">@dimen/min_radio_checkbox_height</item>
</style>
<style name="AppTheme.ActionBar.TitleTextStyle">