2019-10-18 17:04:41 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2019-10-30 21:58:42 +01:00
|
|
|
<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">
|
2019-10-18 17:04:41 +02:00
|
|
|
|
|
|
|
<data>
|
|
|
|
|
2019-10-30 21:58:42 +01:00
|
|
|
<import type="com.topjohnwu.magisk.R" />
|
|
|
|
|
2019-10-18 17:04:41 +02:00
|
|
|
<variable
|
|
|
|
name="viewModel"
|
|
|
|
type="com.topjohnwu.magisk.redesign.hide.HideViewModel" />
|
|
|
|
|
|
|
|
</data>
|
|
|
|
|
2019-10-30 21:58:42 +01:00
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
dividerVertical="@{R.drawable.divider_l1}"
|
|
|
|
itemBinding="@{viewModel.itemBinding}"
|
|
|
|
items="@{viewModel.items}"
|
2019-10-18 17:04:41 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2019-10-30 21:58:42 +01:00
|
|
|
android:clipToPadding="false"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:paddingStart="@dimen/l1"
|
|
|
|
android:paddingTop="@{viewModel.insets.top + (int) @dimen/internal_action_bar_size + (int) @dimen/l1}"
|
|
|
|
android:paddingEnd="@dimen/l1"
|
|
|
|
android:paddingBottom="@{viewModel.insets.bottom}"
|
|
|
|
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
|
|
|
|
tools:listitem="@layout/item_hide_md2"
|
|
|
|
tools:paddingTop="40dp" />
|
2019-10-18 17:04:41 +02:00
|
|
|
|
|
|
|
</layout>
|