2016-03-31 13:57:57 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2020-06-25 12:46:31 +00:00
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2016-10-17 06:47:49 +00:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2016-03-31 13:57:57 +00:00
|
|
|
android:layout_width="match_parent"
|
2019-06-13 08:54:47 +00:00
|
|
|
android:layout_height="match_parent"
|
2020-06-25 12:46:31 +00:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2019-06-13 08:54:47 +00:00
|
|
|
android:orientation="vertical">
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
style="@style/FragmentDialogTitle"
|
|
|
|
|
android:id="@+id/titleTextView"
|
2020-09-17 11:23:27 +00:00
|
|
|
android:background="@color/window_background"
|
|
|
|
|
android:textColor="@color/text_primary" />
|
2020-06-25 12:46:31 +00:00
|
|
|
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
|
|
|
|
|
android:id="@+id/refreshLayout"
|
2019-06-13 08:54:47 +00:00
|
|
|
android:layout_width="match_parent"
|
2020-06-25 12:46:31 +00:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior">
|
|
|
|
|
<com.habitrpg.android.habitica.ui.helpers.RecyclerViewEmptySupport
|
|
|
|
|
android:id="@+id/recyclerView"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:clipToPadding="false"
|
|
|
|
|
android:scrollbarSize="3dp"
|
|
|
|
|
android:scrollbarThumbVertical="@color/scrollbarThumb"
|
|
|
|
|
android:scrollbars="vertical" />
|
|
|
|
|
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|
2019-06-13 08:54:47 +00:00
|
|
|
<TextView
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:id="@+id/footerTextView"
|
|
|
|
|
tools:text="Need more items. Check the Market"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:padding="8dp"/>
|
|
|
|
|
<Button
|
|
|
|
|
android:id="@+id/openMarketButton"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_gravity="end"
|
|
|
|
|
android:text="@string/open_market"
|
|
|
|
|
android:layout_marginEnd="8dp"
|
|
|
|
|
android:layout_marginBottom="8dp"/>
|
|
|
|
|
</LinearLayout>
|