2019-06-03 23:25:05 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2020-08-08 17:43:14 +02:00
|
|
|
<LinearLayout
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
2019-06-03 23:25:05 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2020-03-04 20:37:28 +01:00
|
|
|
android:background="?attr/primaryBackgroundColor"
|
2019-06-03 23:25:05 +02:00
|
|
|
android:fitsSystemWindows="true"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
2020-03-28 13:44:45 +01:00
|
|
|
android:id="@+id/appbar"
|
2019-06-03 23:25:05 +02:00
|
|
|
android:layout_width="match_parent"
|
2020-03-28 13:44:45 +01:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:theme="@style/Widget.AppCompat.SearchView">
|
2019-06-03 23:25:05 +02:00
|
|
|
|
2020-08-08 17:43:14 +02:00
|
|
|
<com.google.android.material.appbar.MaterialToolbar
|
2019-06-03 23:25:05 +02:00
|
|
|
android:id="@+id/toolbar"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2020-08-08 17:43:14 +02:00
|
|
|
android:background="?attr/primaryBackgroundColor">
|
2019-06-03 23:25:05 +02:00
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/close"
|
2020-04-28 14:39:41 +02:00
|
|
|
android:layout_width="@dimen/close_button_size"
|
|
|
|
android:layout_height="@dimen/close_button_size"
|
2019-06-03 23:25:05 +02:00
|
|
|
android:layout_marginRight="15dp"
|
|
|
|
android:layout_marginLeft="15dp"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:contentDescription="@string/close"
|
|
|
|
android:src="@drawable/ic_close" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/toolbar_title"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:text="@string/adminUsers"
|
2020-03-04 20:37:28 +01:00
|
|
|
android:textColor="?attr/primaryTextColor"
|
2019-06-03 23:25:05 +02:00
|
|
|
android:maxLines="1"
|
|
|
|
android:textSize="20sp" />
|
|
|
|
|
2020-08-08 17:43:14 +02:00
|
|
|
</com.google.android.material.appbar.MaterialToolbar>
|
2019-06-03 23:25:05 +02:00
|
|
|
|
|
|
|
</com.google.android.material.appbar.AppBarLayout>
|
|
|
|
|
|
|
|
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
|
|
|
|
android:id="@+id/pullToRefresh"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
android:id="@+id/recyclerView"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2020-03-04 20:37:28 +01:00
|
|
|
android:background="?attr/primaryBackgroundColor"
|
2020-03-15 16:09:26 +01:00
|
|
|
android:scrollbars="vertical" />
|
2019-06-03 23:25:05 +02:00
|
|
|
|
|
|
|
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/noDataUsers"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2020-08-08 17:43:14 +02:00
|
|
|
android:layout_margin="16dp"
|
2019-06-03 23:25:05 +02:00
|
|
|
android:gravity="center"
|
|
|
|
android:text="@string/noDataFound"
|
2020-03-04 20:37:28 +01:00
|
|
|
android:textColor="?attr/primaryTextColor"
|
2019-06-03 23:25:05 +02:00
|
|
|
android:textSize="20sp"
|
|
|
|
android:visibility="visible" />
|
|
|
|
|
2020-06-01 17:53:56 +02:00
|
|
|
</LinearLayout>
|