fix radiobutton size in compose options

main
Konrad Pozniak 6 years ago
parent 5bdee9329a
commit 97fcd96306
  1. 8
      app/src/main/res/layout/view_compose_options.xml
  2. 2
      app/src/main/res/values-night/styles.xml
  3. 2
      app/src/main/res/values/styles.xml

@ -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"

@ -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">

@ -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">

Loading…
Cancel
Save