habitica-android/Habitica/res/layout/fragment_items.xml

59 lines
2.2 KiB
XML
Raw Normal View History

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"
2019-08-07 08:29:58 +00:00
android:background="?colorPrimary"
2019-06-13 08:54:47 +00:00
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>