2019-02-09 01:00:33 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2019-02-14 00:21:29 +01:00
|
|
|
<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
- License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
2019-07-16 00:01:37 +02:00
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:id="@+id/history_wrapper"
|
2019-05-29 19:59:05 +02:00
|
|
|
android:layout_width="match_parent"
|
2019-07-16 00:01:37 +02:00
|
|
|
android:layout_height="match_parent">
|
|
|
|
<ProgressBar
|
|
|
|
android:id="@+id/progress_bar"
|
|
|
|
style="@style/Widget.AppCompat.ProgressBar.Horizontal"
|
|
|
|
android:indeterminate="true"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="8dp"
|
|
|
|
android:translationY="-3dp"
|
|
|
|
android:visibility="gone"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent" />
|
2019-05-21 01:34:44 +02:00
|
|
|
|
|
|
|
<TextView
|
2019-07-16 00:01:37 +02:00
|
|
|
android:id="@+id/history_empty_view"
|
2019-10-28 12:40:11 +01:00
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
android:gravity="center"
|
2019-07-16 00:01:37 +02:00
|
|
|
android:text="@string/history_empty_message"
|
|
|
|
android:textColor="?secondaryText"
|
|
|
|
android:textSize="16sp"
|
|
|
|
android:visibility="gone"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent" />
|
2020-06-08 23:58:49 +02:00
|
|
|
|
|
|
|
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
|
|
|
|
android:id="@+id/swipe_refresh"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent" >
|
|
|
|
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
2019-07-16 00:01:37 +02:00
|
|
|
android:id="@+id/history_list"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2020-07-19 14:22:23 +02:00
|
|
|
android:scrollbars="vertical"
|
2019-07-16 00:01:37 +02:00
|
|
|
tools:listitem="@layout/history_list_item"/>
|
2020-06-08 23:58:49 +02:00
|
|
|
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|
2019-05-29 19:59:05 +02:00
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|