Magisk/app/src/main/res/layout/fragment_magisk_hide.xml

37 lines
1.3 KiB
XML
Raw Normal View History

2016-11-07 13:06:18 +00:00
<?xml version="1.0" encoding="utf-8"?>
2019-04-19 14:32:01 +00:00
<layout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
2019-04-19 14:32:01 +00:00
xmlns:tools="http://schemas.android.com/tools">
2016-11-07 13:06:18 +00:00
2019-04-19 14:32:01 +00:00
<data>
<variable
name="viewModel"
type="com.topjohnwu.magisk.ui.hide.HideViewModel" />
</data>
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
2016-11-07 13:06:18 +00:00
android:layout_width="match_parent"
android:layout_height="match_parent"
2019-04-19 14:32:01 +00:00
app:onRefreshListener="@{() -> viewModel.refresh()}"
app:refreshing="@{viewModel.loading}">
2016-11-07 13:06:18 +00:00
2018-09-10 06:27:45 +00:00
<androidx.recyclerview.widget.RecyclerView
2019-04-19 14:32:01 +00:00
dividerColor="@{@android:color/transparent}"
dividerSize="@{@dimen/margin_generic}"
itemBinding="@{viewModel.itemBinding}"
items="@{viewModel.items}"
2016-11-07 13:06:18 +00:00
android:layout_width="match_parent"
android:layout_height="match_parent"
android:clipToPadding="false"
2019-04-19 14:32:01 +00:00
android:orientation="vertical"
android:padding="@dimen/margin_generic"
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
tools:listitem="@layout/item_hide_app" />
2016-11-07 13:06:18 +00:00
2019-04-19 14:32:01 +00:00
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
2016-11-07 13:06:18 +00:00
2019-04-19 14:32:01 +00:00
</layout>
2016-11-07 13:06:18 +00:00