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

    <data>

        <import type="com.topjohnwu.magisk.core.Config" />

        <variable
            name="viewModel"
            type="com.topjohnwu.magisk.ui.settings.SettingsViewModel" />

    </data>

    <androidx.recyclerview.widget.RecyclerView
        adapter="@{viewModel.adapter}"
        itemBinding="@{viewModel.itemBinding}"
        items="@{viewModel.items}"
        android:id="@+id/settings_list"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:focusableInTouchMode="false"
        android:clipToPadding="false"
        android:orientation="vertical"
        android:paddingTop="@dimen/internal_action_bar_size"
        app:fitsSystemWindowsInsets="top|bottom"
        app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
        tools:layout_marginTop="24dp"
        tools:listitem="@layout/item_settings"
        tools:paddingTop="@dimen/l1" />

</layout>
