37e98b6e0ae1407f83183f47a2978a6203fb5bf6
[mobile-ledger.git] / app / src / main / res / layout / transaction_list_fragment.xml
1 <?xml version="1.0" encoding="utf-8"?><!--
2   ~ Copyright © 2019 Damyan Ivanov.
3   ~ This file is part of MoLe.
4   ~ MoLe is free software: you can distribute it and/or modify it
5   ~ under the term of the GNU General Public License as published by
6   ~ the Free Software Foundation, either version 3 of the License, or
7   ~ (at your opinion), any later version.
8   ~
9   ~ MoLe is distributed in the hope that it will be useful,
10   ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
11   ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12   ~ GNU General Public License terms for details.
13   ~
14   ~ You should have received a copy of the GNU General Public License
15   ~ along with MoLe. If not, see <https://www.gnu.org/licenses/>.
16   -->
17
18 <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
19     xmlns:app="http://schemas.android.com/apk/res-auto"
20     xmlns:tools="http://schemas.android.com/tools"
21     android:id="@+id/transaction_list"
22     android:layout_width="match_parent"
23     android:layout_height="match_parent"
24     app:layout_behavior="@string/appbar_scrolling_view_behavior"
25     app:layout_constraintBottom_toBottomOf="parent"
26     tools:context="net.ktnx.mobileledger.ui.activity.MainActivity">
27
28     <androidx.swiperefreshlayout.widget.SwipeRefreshLayout
29         android:id="@+id/transaction_swipe"
30         android:layout_width="match_parent"
31         android:layout_height="0dp"
32         app:layout_constraintBottom_toBottomOf="parent"
33         app:layout_constraintEnd_toEndOf="parent"
34         app:layout_constraintStart_toStartOf="parent"
35         app:layout_constraintTop_toTopOf="parent">
36
37         <androidx.recyclerview.widget.RecyclerView
38             android:id="@+id/transaction_root"
39             android:layout_width="match_parent"
40             android:layout_height="match_parent"
41             android:scrollbars="vertical" />
42     </androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
43
44 </androidx.constraintlayout.widget.ConstraintLayout>