Added Android code
[wl-app.git] / Android / app / src / main / res / layout / fragment_books_list.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <RelativeLayout
3     xmlns:android="http://schemas.android.com/apk/res/android"
4     android:layout_width="match_parent"
5     android:layout_height="match_parent"
6     android:animateLayoutChanges="true">
7
8     <com.moiseum.wolnelektury.components.ProgressRecyclerView
9         android:id="@+id/rvBooksList"
10         android:layout_width="match_parent"
11         android:layout_height="match_parent"/>
12
13     <ProgressBar
14         android:id="@+id/pbLoadMore"
15         style="@style/Base.Widget.AppCompat.ProgressBar"
16         android:layout_width="wrap_content"
17         android:layout_height="wrap_content"
18         android:layout_alignParentBottom="true"
19         android:layout_centerHorizontal="true"
20         android:layout_marginBottom="10dp"
21         android:visibility="gone"/>
22
23     <Button
24         android:id="@+id/btnReloadMore"
25         style="@style/RoundedButton.WhiteBorder"
26         android:layout_width="wrap_content"
27         android:layout_height="wrap_content"
28         android:layout_alignParentBottom="true"
29         android:layout_centerHorizontal="true"
30         android:layout_marginBottom="10dp"
31         android:text="@string/load_again"
32         android:visibility="gone"/>
33 </RelativeLayout>