Magisk/app/src/full/res/layout/fragment_modules.xml

52 lines
2.1 KiB
XML
Raw Normal View History

2016-08-21 13:29:42 +00:00
<?xml version="1.0" encoding="utf-8"?>
2018-09-10 06:27:45 +00:00
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
2018-08-30 04:52:02 +00:00
xmlns:android="http://schemas.android.com/apk/res/android"
2017-04-24 13:52:23 +00:00
xmlns:tools="http://schemas.android.com/tools"
xmlns:app="http://schemas.android.com/apk/res-auto"
2016-09-18 14:56:12 +00:00
android:id="@+id/swipeRefreshLayout"
2016-09-01 15:42:26 +00:00
android:layout_width="match_parent"
2016-09-18 14:56:12 +00:00
android:layout_height="fill_parent"
android:orientation="vertical">
2018-09-10 06:27:45 +00:00
<androidx.coordinatorlayout.widget.CoordinatorLayout
2016-11-09 16:22:01 +00:00
android:id="@+id/coordinator"
2016-09-18 14:56:12 +00:00
android:layout_width="match_parent"
2016-09-23 21:22:11 +00:00
android:layout_height="wrap_content"
android:orientation="vertical">
2018-09-10 06:27:45 +00:00
<androidx.recyclerview.widget.RecyclerView
2016-09-23 21:22:11 +00:00
android:id="@+id/recyclerView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:clipToPadding="false"
android:dividerHeight="@dimen/card_divider_space"
2017-04-24 13:52:23 +00:00
app:layout_behavior="@string/appbar_scrolling_view_behavior"
2018-09-10 06:27:45 +00:00
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager" />
2016-09-23 21:22:11 +00:00
<TextView
android:id="@+id/empty_rv"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center"
android:fontFamily="sans-serif-light"
android:gravity="center"
android:text="@string/no_modules_found"
android:textSize="20sp"
android:textStyle="italic"
android:visibility="gone" />
2018-09-10 06:27:45 +00:00
<com.google.android.material.floatingactionbutton.FloatingActionButton
2017-04-24 13:52:23 +00:00
android:id="@+id/fab"
android:layout_width="wrap_content"
2016-11-09 16:22:01 +00:00
android:layout_height="wrap_content"
android:layout_gravity="bottom|center_horizontal"
2017-04-24 13:52:23 +00:00
android:layout_margin="@dimen/fab_padding"
android:elevation="6dp"
android:src="@drawable/ic_add"
tools:fabSize="normal"
tools:pressedTranslationZ="12dp" />
2016-11-09 16:22:01 +00:00
2018-09-10 06:27:45 +00:00
</androidx.coordinatorlayout.widget.CoordinatorLayout>
2016-09-23 21:22:11 +00:00
2018-09-10 06:27:45 +00:00
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>