Adrien BĂ©raud | b179bab | 2015-10-08 12:04:22 -0400 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 3 | xmlns:tools="http://schemas.android.com/tools" |
| 4 | android:orientation="vertical" android:layout_width="match_parent" |
| 5 | android:layout_height="match_parent" |
| 6 | tools:context=".client.ConversationActivity"> |
| 7 | |
| 8 | <ListView |
| 9 | android:layout_width="match_parent" |
| 10 | android:layout_height="match_parent" |
| 11 | android:id="@+id/hist_list" |
| 12 | android:layout_weight="1" |
| 13 | android:transcriptMode="alwaysScroll" |
| 14 | android:stackFromBottom="true" |
| 15 | android:divider="@null" |
| 16 | android:background="#ebeff0" |
| 17 | android:listSelector="@android:color/transparent" |
| 18 | tools:listitem="@layout/item_textmsg" /> |
| 19 | |
| 20 | <RelativeLayout |
| 21 | android:layout_width="match_parent" |
| 22 | android:layout_height="wrap_content" |
| 23 | android:layout_gravity="center_horizontal" |
| 24 | android:background="#e3c1c1" |
| 25 | android:id="@+id/ongoingcall_pane"> |
| 26 | |
| 27 | <TextView |
| 28 | android:layout_width="wrap_content" |
| 29 | android:layout_height="wrap_content" |
| 30 | android:textAppearance="?android:attr/textAppearanceMedium" |
| 31 | android:text="Ongoing call" |
| 32 | android:id="@+id/textView2" |
| 33 | android:layout_centerVertical="true" |
| 34 | android:layout_centerHorizontal="true" |
| 35 | android:layout_margin="10dp" /> |
| 36 | </RelativeLayout> |
| 37 | |
| 38 | <ImageView |
| 39 | android:layout_width="fill_parent" |
| 40 | android:layout_height="1dp" |
| 41 | android:id="@+id/divider" |
| 42 | android:layout_gravity="center_horizontal" |
| 43 | android:background="#bdbdbd" /> |
| 44 | |
| 45 | <LinearLayout |
| 46 | android:orientation="horizontal" |
| 47 | android:layout_width="match_parent" |
| 48 | android:layout_height="wrap_content" |
| 49 | android:background="@android:color/white" |
| 50 | android:elevation="6dp"> |
| 51 | |
| 52 | <EditText |
| 53 | android:layout_width="match_parent" |
| 54 | android:layout_height="wrap_content" |
| 55 | android:id="@+id/msg_input_txt" |
| 56 | android:layout_weight="1" /> |
| 57 | |
| 58 | <ImageButton |
| 59 | android:layout_width="wrap_content" |
| 60 | android:layout_height="fill_parent" |
| 61 | android:id="@+id/msg_send" |
| 62 | android:src="@drawable/ic_send_black_24dp" |
| 63 | android:tint="@android:color/darker_gray" |
| 64 | android:background="@android:color/transparent" |
| 65 | android:padding="8dp" /> |
| 66 | </LinearLayout> |
| 67 | |
| 68 | </LinearLayout> |