fix radiobutton size in compose options
This commit is contained in:
parent
30df1cf403
commit
5e6a4ae93d
3 changed files with 8 additions and 4 deletions
|
@ -5,12 +5,12 @@
|
||||||
|
|
||||||
<RadioGroup
|
<RadioGroup
|
||||||
android:id="@+id/visibilityRadioGroup"
|
android:id="@+id/visibilityRadioGroup"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginBottom="@dimen/compose_options_margin"
|
android:layout_marginBottom="@dimen/compose_options_margin"
|
||||||
android:layout_marginLeft="@dimen/compose_options_margin"
|
android:layout_marginLeft="@dimen/compose_options_margin"
|
||||||
android:layout_marginRight="@dimen/compose_options_margin"
|
android:layout_marginRight="@dimen/compose_options_margin"
|
||||||
android:layout_marginTop="6dp"
|
android:layout_marginTop="4dp"
|
||||||
android:orientation="vertical">
|
android:orientation="vertical">
|
||||||
|
|
||||||
<RadioButton
|
<RadioButton
|
||||||
|
@ -55,7 +55,7 @@
|
||||||
android:id="@+id/directRadioButton"
|
android:id="@+id/directRadioButton"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="5dp"
|
android:layout_marginTop="4dp"
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:paddingEnd="0dp"
|
android:paddingEnd="0dp"
|
||||||
android:paddingStart="10dp"
|
android:paddingStart="10dp"
|
||||||
|
|
|
@ -75,6 +75,8 @@
|
||||||
|
|
||||||
<item name="preferenceTheme">@style/PreferenceThemeOverlay</item>
|
<item name="preferenceTheme">@style/PreferenceThemeOverlay</item>
|
||||||
|
|
||||||
|
<item name="minTouchTargetSize">32dp</item> <!-- this affects RadioButton size -->
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="TuskyImageButton.Dark" parent="@style/Widget.MaterialComponents.Button.UnelevatedButton">
|
<style name="TuskyImageButton.Dark" parent="@style/Widget.MaterialComponents.Button.UnelevatedButton">
|
||||||
|
|
|
@ -123,6 +123,8 @@
|
||||||
|
|
||||||
<item name="preferenceTheme">@style/PreferenceThemeOverlay</item>
|
<item name="preferenceTheme">@style/PreferenceThemeOverlay</item>
|
||||||
|
|
||||||
|
<item name="minTouchTargetSize">32dp</item> <!-- this affects RadioButton size -->
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="TuskyImageButton.Light" parent="@style/Widget.MaterialComponents.Button.UnelevatedButton">
|
<style name="TuskyImageButton.Light" parent="@style/Widget.MaterialComponents.Button.UnelevatedButton">
|
||||||
|
|
Loading…
Reference in a new issue