Add ability to send messages

This commit is contained in:
Moez Bhatti
2017-09-20 00:19:55 -04:00
parent f639a652bb
commit 9a1ae958e0
8 changed files with 84 additions and 9 deletions
@@ -8,11 +8,33 @@
<android.support.v7.widget.RecyclerView
android:id="@+id/messageList"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:clipChildren="false"
android:clipToPadding="false"
android:paddingBottom="8dp"
android:paddingTop="8dp"
tools:listitem="@layout/message_list_item_out" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<EditText
android:id="@+id/message"
style="@style/TextPrimary"
android:layout_width="0dp"
android:layout_height="56dp"
android:layout_weight="1"
android:hint="@string/message_hint" />
<ImageView
android:id="@+id/send"
android:layout_width="56dp"
android:layout_height="56dp"
android:padding="16dp"
android:src="@drawable/ic_send_black_24dp" />
</LinearLayout>
</LinearLayout>