<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    xmlns:tools="http://schemas.android.com/tools"
    xmlns:app="http://schemas.android.com/apk/res-auto">

    <com.google.android.material.textview.MaterialTextView
        android:id="@+id/light_theme"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginStart="16dp"
        android:layout_marginTop="4dp"
        app:layout_constraintTop_toTopOf="parent"
        app:layout_constraintBottom_toTopOf="@id/theme_recycler"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintEnd_toEndOf="parent"
        android:textAppearance="?textAppearanceListItem"
        android:text="@string/light_theme"/>

    <androidx.recyclerview.widget.RecyclerView
        android:id="@+id/theme_recycler"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        tools:listitem="@layout/theme_item"
        android:paddingStart="4dp"
        android:paddingEnd="0dp"
        android:layout_marginTop="4dp"
        app:layout_constraintTop_toBottomOf="@id/light_theme"
        app:layout_constraintBottom_toTopOf="@id/dark_theme"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintEnd_toEndOf="parent"
        tools:itemCount="2"
        tools:layoutManager="androidx.recyclerview.widget.GridLayoutManager"
        tools:orientation="horizontal"
        android:clipToPadding="false"/>

    <com.google.android.material.textview.MaterialTextView
        android:id="@+id/dark_theme"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginStart="16dp"
        android:layout_marginTop="4dp"
        app:layout_constraintTop_toBottomOf="@id/theme_recycler"
        app:layout_constraintBottom_toTopOf="@id/theme_recycler_dark"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintEnd_toEndOf="parent"
        android:textAppearance="?textAppearanceListItem"
        android:text="@string/dark_theme"/>

    <androidx.recyclerview.widget.RecyclerView
        android:id="@+id/theme_recycler_dark"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        tools:listitem="@layout/theme_item"
        android:paddingStart="4dp"
        android:paddingEnd="0dp"
        android:layout_marginTop="4dp"
        app:layout_constraintTop_toBottomOf="@id/dark_theme"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintEnd_toEndOf="parent"
        tools:layoutManager="androidx.recyclerview.widget.GridLayoutManager"
        tools:orientation="horizontal"
        tools:itemCount="2"
        android:clipToPadding="false"/>
</androidx.constraintlayout.widget.ConstraintLayout>