2016-03-31 13:57:57 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2019-06-13 08:54:47 +00:00
|
|
|
<LinearLayout
|
2016-03-31 13:57:57 +00:00
|
|
|
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"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
style="@style/FragmentDialogTitle"
|
|
|
|
|
android:id="@+id/titleTextView"
|
|
|
|
|
android:background="@color/brand_100"
|
|
|
|
|
android:textColor="@android:color/white" />
|
|
|
|
|
<com.habitrpg.android.habitica.ui.helpers.RecyclerViewEmptySupport
|
|
|
|
|
android:id="@+id/recyclerView"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="0dp"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:scrollbarSize="3dp"
|
|
|
|
|
android:scrollbarThumbVertical="@color/scrollbarThumb"
|
|
|
|
|
android:scrollbars="vertical" />
|
|
|
|
|
|
|
|
|
|
<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"/>
|
2016-03-31 13:57:57 +00:00
|
|
|
|
|
|
|
|
<LinearLayout
|
2019-06-13 08:54:47 +00:00
|
|
|
android:id="@+id/emptyView"
|
2016-03-31 13:57:57 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
2019-06-13 08:54:47 +00:00
|
|
|
android:orientation="vertical"
|
|
|
|
|
android:gravity="center">
|
2016-03-31 13:57:57 +00:00
|
|
|
<TextView
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
2019-06-13 08:54:47 +00:00
|
|
|
android:id="@+id/empty_text_view"
|
|
|
|
|
style="@style/EmptyView"
|
|
|
|
|
android:gravity="center" />
|
2016-10-17 06:47:49 +00:00
|
|
|
<Button
|
2019-06-13 08:54:47 +00:00
|
|
|
android:id="@+id/openEmptyMarketButton"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="@string/open_market"/>
|
2016-03-31 13:57:57 +00:00
|
|
|
</LinearLayout>
|
2019-06-13 08:54:47 +00:00
|
|
|
</LinearLayout>
|