fix radiobutton size in compose options

This commit is contained in:
Konrad Pozniak 2018-12-29 00:02:29 +01:00
parent 30df1cf403
commit 5e6a4ae93d
3 changed files with 8 additions and 4 deletions

View file

@ -5,12 +5,12 @@
<RadioGroup
android:id="@+id/visibilityRadioGroup"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="@dimen/compose_options_margin"
android:layout_marginLeft="@dimen/compose_options_margin"
android:layout_marginRight="@dimen/compose_options_margin"
android:layout_marginTop="6dp"
android:layout_marginTop="4dp"
android:orientation="vertical">
<RadioButton
@ -55,7 +55,7 @@
android:id="@+id/directRadioButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="5dp"
android:layout_marginTop="4dp"
android:layout_weight="1"
android:paddingEnd="0dp"
android:paddingStart="10dp"

View file

@ -75,6 +75,8 @@
<item name="preferenceTheme">@style/PreferenceThemeOverlay</item>
<item name="minTouchTargetSize">32dp</item> <!-- this affects RadioButton size -->
</style>
<style name="TuskyImageButton.Dark" parent="@style/Widget.MaterialComponents.Button.UnelevatedButton">

View file

@ -123,6 +123,8 @@
<item name="preferenceTheme">@style/PreferenceThemeOverlay</item>
<item name="minTouchTargetSize">32dp</item> <!-- this affects RadioButton size -->
</style>
<style name="TuskyImageButton.Light" parent="@style/Widget.MaterialComponents.Button.UnelevatedButton">