<?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:id="@+id/messageListRelativeLayout" android:layout_width="match_parent" android:layout_height="match_parent" android:background="@android:color/white" tools:context="chat.rocket.android.fragment.chatroom.RoomFragment"> <android.support.v7.widget.RecyclerView android:id="@+id/messageRecyclerView" android:layout_width="match_parent" android:layout_height="match_parent" android:scrollbars="vertical" android:layout_above="@+id/messageComposer" /> <chat.rocket.android.widget.message.MessageFormLayout android:id="@+id/messageComposer" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_alignParentBottom="true" android:theme="@style/Theme.AppCompat.Light" /> </RelativeLayout>