<?xml version="1.0" encoding="utf-8"?>
<layout xmlns:android="http://schemas.android.com/apk/res/android"
        xmlns:tools="http://schemas.android.com/tools">

    <data>
        <variable name="textId" type="int"/>
        <variable name="isChecked" type="boolean" />
    </data>
    <RadioButton
        android:id="@+id/settingsPickingDialogOption"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginBottom="4dp"
        android:layout_marginLeft="24dp"
        android:layout_marginStart="24dp"
        android:layout_marginTop="4dp"
        android:checked="@{isChecked}"
        android:paddingBottom="12dp"
        android:paddingEnd="8dp"
        android:paddingLeft="16dp"
        android:paddingRight="8dp"
        android:paddingStart="16dp"
        android:paddingTop="12dp"
        android:text="@{textId}"
        android:textAppearance="@style/TextAppearance.AppCompat.Subhead"
        tools:text="Grupa taryfowa"/>
</layout>
<?xml version="1.0" encoding="utf-8"?>
<layout xmlns:android="http://schemas.android.com/apk/res/android"
        xmlns:tools="http://schemas.android.com/tools">

    <data>
        <variable name="textId" type="int"/>
        <variable name="isChecked" type="boolean" />
    </data>
    <RadioButton
        android:id="@+id/settingsPickingDialogOption"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginBottom="4dp"
        android:layout_marginLeft="24dp"
        android:layout_marginStart="24dp"
        android:layout_marginRight="16dp"
        android:layout_marginEnd="16dp"
        android:layout_marginTop="4dp"
        android:checked="@{isChecked}"
        android:paddingBottom="12dp"
        android:paddingLeft="16dp"
        android:paddingStart="16dp"
        android:paddingRight="8dp"
        android:paddingEnd="8dp"
        android:paddingTop="12dp"
        android:text="@{textId}"
        android:textAppearance="@style/TextAppearance.AppCompat.Subhead"
        tools:text="Grupa taryfowa"/>
</layout>
Improve settings picker item layout for smaller phone
Improve settings picker item layout for smaller phone
