adding some placeholder views for items fragment

This commit is contained in:
tibbi
2019-03-25 22:20:43 +01:00
parent b5d8980cd4
commit f0fe018ebb

View File

@ -22,6 +22,32 @@
android:layout_height="wrap_content"
android:padding="@dimen/activity_margin"/>
<com.simplemobiletools.commons.views.MyTextView
android:id="@+id/items_placeholder"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/breadcrumbs"
android:layout_centerHorizontal="true"
android:gravity="center"
android:paddingLeft="@dimen/activity_margin"
android:paddingRight="@dimen/activity_margin"
android:text="@string/no_items_found"
android:textSize="@dimen/bigger_text_size"
android:visibility="gone"/>
<com.simplemobiletools.commons.views.MyTextView
android:id="@+id/items_placeholder_2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/items_placeholder"
android:layout_centerHorizontal="true"
android:background="?attr/selectableItemBackground"
android:gravity="center"
android:padding="@dimen/activity_margin"
android:text="@string/type_2_characters"
android:textSize="@dimen/bigger_text_size"
android:visibility="gone"/>
<com.simplemobiletools.commons.views.MyRecyclerView
android:id="@+id/items_list"
android:layout_width="match_parent"