2021-02-04 04:47:00 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2022-05-08 20:06:41 +02:00
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2021-02-04 04:47:00 +01:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2022-08-26 19:00:08 +02:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2021-02-04 04:47:00 +01:00
|
|
|
android:background="?attr/primaryBackgroundColor"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
|
|
|
android:id="@+id/appbar"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2022-08-26 19:00:08 +02:00
|
|
|
app:elevation="@dimen/dimen0dp"
|
|
|
|
android:theme="@style/Widget.AppCompat.SearchView">
|
2021-02-04 04:47:00 +01:00
|
|
|
|
|
|
|
<com.google.android.material.appbar.MaterialToolbar
|
|
|
|
android:id="@+id/toolbar"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="?attr/primaryBackgroundColor">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/close"
|
2022-08-07 21:34:02 +02:00
|
|
|
android:layout_width="@dimen/dimen26dp"
|
|
|
|
android:layout_height="@dimen/dimen26dp"
|
2022-08-15 16:26:02 +02:00
|
|
|
android:layout_marginEnd="@dimen/dimen16dp"
|
2022-08-26 19:00:08 +02:00
|
|
|
android:layout_marginStart="@dimen/dimen16dp"
|
|
|
|
android:gravity="center_vertical"
|
2022-08-15 16:26:02 +02:00
|
|
|
android:contentDescription="@string/close"
|
2022-08-26 19:00:08 +02:00
|
|
|
android:background="?android:attr/selectableItemBackgroundBorderless"
|
2022-08-15 16:26:02 +02:00
|
|
|
android:focusable="true"
|
2022-08-26 19:00:08 +02:00
|
|
|
android:clickable="true"
|
2022-08-15 16:26:02 +02:00
|
|
|
android:src="@drawable/ic_close"/>
|
2021-02-04 04:47:00 +01:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/toolbarTitle"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:text="@string/adminCron"
|
|
|
|
android:textColor="?attr/primaryTextColor"
|
2022-08-26 19:00:08 +02:00
|
|
|
android:maxLines="1"
|
2022-08-15 16:26:02 +02:00
|
|
|
android:textSize="@dimen/dimen20sp"/>
|
2021-02-04 04:47:00 +01:00
|
|
|
|
|
|
|
</com.google.android.material.appbar.MaterialToolbar>
|
|
|
|
|
|
|
|
</com.google.android.material.appbar.AppBarLayout>
|
|
|
|
|
2022-08-26 19:00:08 +02:00
|
|
|
<FrameLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:background="?attr/primaryBackgroundColor"
|
|
|
|
android:layout_marginTop="@dimen/dimen56dp"
|
|
|
|
android:padding="@dimen/dimen8dp">
|
|
|
|
|
|
|
|
<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"/>
|
|
|
|
|
|
|
|
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|
|
|
|
|
|
|
|
</FrameLayout>
|
|
|
|
|
2022-05-08 20:06:41 +02:00
|
|
|
<com.google.android.material.progressindicator.LinearProgressIndicator
|
|
|
|
android:id="@+id/progress_bar"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2022-08-26 19:00:08 +02:00
|
|
|
android:layout_marginTop="@dimen/dimen56dp"
|
2022-08-15 16:26:02 +02:00
|
|
|
android:indeterminate="true"
|
2022-08-26 19:00:08 +02:00
|
|
|
style="@style/Widget.Material3.LinearProgressIndicator"
|
2022-08-15 16:26:02 +02:00
|
|
|
app:indicatorColor="?attr/progressIndicatorColor"/>
|
2022-05-08 20:06:41 +02:00
|
|
|
|
2021-02-04 04:47:00 +01:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/noData"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2022-08-07 21:34:02 +02:00
|
|
|
android:layout_margin="@dimen/dimen16dp"
|
2021-02-04 04:47:00 +01:00
|
|
|
android:gravity="center"
|
|
|
|
android:text="@string/noDataFound"
|
|
|
|
android:textColor="?attr/primaryTextColor"
|
2022-08-07 21:34:02 +02:00
|
|
|
android:textSize="@dimen/dimen20sp"
|
2022-08-15 16:26:02 +02:00
|
|
|
android:visibility="gone"/>
|
2021-02-04 04:47:00 +01:00
|
|
|
|
2022-05-08 20:06:41 +02:00
|
|
|
</RelativeLayout>
|