Alexandre Lision | 666b377 | 2013-10-28 17:42:48 -0400 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" |
Alexandre Lision | d568603 | 2013-10-29 11:09:21 -0400 | [diff] [blame] | 3 | android:layout_width="match_parent" |
| 4 | android:layout_height="match_parent" > |
Alexandre Lision | 666b377 | 2013-10-28 17:42:48 -0400 | [diff] [blame] | 5 | |
| 6 | <ListView |
| 7 | android:id="@+id/message_list" |
| 8 | android:layout_width="match_parent" |
Alexandre Lision | d568603 | 2013-10-29 11:09:21 -0400 | [diff] [blame] | 9 | android:layout_height="match_parent" |
Alexandre Lision | 666b377 | 2013-10-28 17:42:48 -0400 | [diff] [blame] | 10 | android:layout_above="@+id/form" |
Alexandre Lision | cafa490 | 2013-10-29 13:17:14 -0400 | [diff] [blame] | 11 | android:stackFromBottom="true" |
| 12 | android:transcriptMode="alwaysScroll" |
Alexandre Lision | d568603 | 2013-10-29 11:09:21 -0400 | [diff] [blame] | 13 | android:background="@color/sfl_dark_blue" |
Alexandre Lision | 666b377 | 2013-10-28 17:42:48 -0400 | [diff] [blame] | 14 | android:layout_alignParentTop="true" > |
| 15 | </ListView> |
| 16 | |
Alexandre Lision | d568603 | 2013-10-29 11:09:21 -0400 | [diff] [blame] | 17 | <LinearLayout |
Alexandre Lision | 666b377 | 2013-10-28 17:42:48 -0400 | [diff] [blame] | 18 | android:id="@+id/form" |
Alexandre Lision | d568603 | 2013-10-29 11:09:21 -0400 | [diff] [blame] | 19 | android:layout_width="match_parent" |
Alexandre Lision | 666b377 | 2013-10-28 17:42:48 -0400 | [diff] [blame] | 20 | android:layout_height="wrap_content" |
| 21 | android:layout_alignParentBottom="true" |
Alexandre Lision | d568603 | 2013-10-29 11:09:21 -0400 | [diff] [blame] | 22 | android:background="@color/darker_gray" |
| 23 | android:weightSum="4" > |
Alexandre Lision | 666b377 | 2013-10-28 17:42:48 -0400 | [diff] [blame] | 24 | |
| 25 | <EditText |
Alexandre Lision | d568603 | 2013-10-29 11:09:21 -0400 | [diff] [blame] | 26 | android:id="@+id/send_im_edittext" |
| 27 | android:layout_width="0dp" |
| 28 | android:layout_weight="3" |
Alexandre Lision | 666b377 | 2013-10-28 17:42:48 -0400 | [diff] [blame] | 29 | android:layout_height="wrap_content" |
Alexandre Lision | d568603 | 2013-10-29 11:09:21 -0400 | [diff] [blame] | 30 | android:imeOptions="actionSend" |
Alexandre Lision | 666b377 | 2013-10-28 17:42:48 -0400 | [diff] [blame] | 31 | android:ems="10" |
Alexandre Lision | d568603 | 2013-10-29 11:09:21 -0400 | [diff] [blame] | 32 | android:inputType="textCapSentences|textImeMultiLine" /> |
| 33 | |
| 34 | <Button |
| 35 | android:id="@+id/send_im_button" |
| 36 | android:layout_width="0dp" |
| 37 | android:layout_weight="1" |
| 38 | android:layout_height="wrap_content" |
| 39 | android:text="Send" |
| 40 | android:background="@drawable/item_generic_selector"/> |
| 41 | </LinearLayout> |
Alexandre Lision | 666b377 | 2013-10-28 17:42:48 -0400 | [diff] [blame] | 42 | |
| 43 | </RelativeLayout> |