Added views to show behind RecyclerView

This commit is contained in:
Moez Bhatti
2015-10-29 23:39:53 -04:00
parent 2765f19d76
commit c0f015ca7a
2 changed files with 20 additions and 3 deletions
@@ -1,9 +1,25 @@
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<LinearLayout
android:id="@+id/empty_state"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:gravity="center">
<com.moez.QKSMS.ui.view.QKTextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center"
android:text="@string/hint_no_messages"
app:type="dialog_title" />
</LinearLayout>
<android.support.v7.widget.RecyclerView
android:id="@+id/conversations_list"
android:layout_width="match_parent"
@@ -19,8 +35,8 @@
android:id="@+id/fab"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_alignParentBottom="true"
android:layout_alignParentRight="true"
android:layout_margin="16dp"
android:src="@drawable/ic_add" />