2019-09-14 08:29:20 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2020-03-04 15:54:21 +01:00
|
|
|
android:background="?attr/primaryBackgroundColor"
|
2019-09-14 08:29:20 +02:00
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
2020-03-28 13:44:45 +01:00
|
|
|
android:id="@+id/appbar"
|
2019-09-14 08:29:20 +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-09-14 08:29:20 +02:00
|
|
|
|
|
|
|
<androidx.appcompat.widget.Toolbar
|
|
|
|
android:id="@+id/toolbar"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2020-03-04 15:54:21 +01:00
|
|
|
android:background="?attr/primaryBackgroundColor"
|
2019-09-14 08:29:20 +02:00
|
|
|
tools:ignore="UnusedAttribute">
|
|
|
|
|
|
|
|
<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-09-14 08:29:20 +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"
|
2020-03-04 15:54:21 +01:00
|
|
|
android:textColor="?attr/primaryTextColor"
|
2019-09-14 08:29:20 +02:00
|
|
|
android:maxLines="1"
|
|
|
|
android:textSize="20sp" />
|
|
|
|
|
|
|
|
</androidx.appcompat.widget.Toolbar>
|
|
|
|
|
|
|
|
</com.google.android.material.appbar.AppBarLayout>
|
|
|
|
|
|
|
|
<GridView
|
|
|
|
android:id="@+id/gridView"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:horizontalSpacing="10dp"
|
|
|
|
android:numColumns="4"
|
|
|
|
android:columnWidth="80dp"
|
|
|
|
android:stretchMode="columnWidth"
|
2020-03-06 14:46:22 +01:00
|
|
|
android:background="?attr/primaryBackgroundColor"
|
2019-09-14 08:29:20 +02:00
|
|
|
android:gravity="center"/>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/noDataWatchers"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:gravity="center"
|
|
|
|
android:text="@string/noDataFound"
|
2020-03-04 15:54:21 +01:00
|
|
|
android:textColor="?attr/primaryTextColor"
|
2019-09-14 08:29:20 +02:00
|
|
|
android:textSize="20sp"
|
|
|
|
android:visibility="gone" />
|
|
|
|
|
|
|
|
<ProgressBar
|
|
|
|
android:id="@+id/progress_bar"
|
|
|
|
style="@style/Base.Widget.AppCompat.ProgressBar"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:indeterminate="true"
|
|
|
|
android:visibility="visible" />
|
|
|
|
|
2020-07-29 20:04:40 +02:00
|
|
|
</LinearLayout>
|