xml version encoding utf-8 RelativeLayout xmlns android http schemas a

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical">
<RelativeLayout
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical">
<ListView
android:id="@+id/chatList"
android:layout_width="match_parent"
android:layout_height="fill_parent"
android:layout_marginBottom="48dip"
android:background="@drawable/background_hd"
android:cacheColorHint="#00000000"
android:stackFromBottom="true"
android:transcriptMode="alwaysScroll"></ListView>
</RelativeLayout>
<RelativeLayout
android:id="@+id/form"
android:background="#FFFFFF"
android:layout_height="48dip"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_alignParentBottom="true"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true">
<ImageButton
android:layout_width="40dp"
android:layout_height="wrap_content"
android:text="Send"
android:id="@+id/buttonSend"
android:layout_gravity="right"
android:layout_alignParentTop="true"
android:layout_alignParentRight="true"
android:src="@drawable/ic_send_disabled"
android:background="@null"
android:layout_alignParentEnd="true"
android:layout_alignParentBottom="true" />
<EditText
android:layout_width="wrap_content"
android:isScrollContainer="true"
android:minHeight="120dp"
android:layout_height="wrap_content"
android:inputType="textMultiLine|textCapSentences"
android:ems="10"
android:hint="Message"
android:focusable="true"
android:id="@+id/editText"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true"
android:layout_alignParentBottom="true"
android:layout_toLeftOf="@+id/buttonSend"
android:layout_toStartOf="@+id/buttonSend"
android:layout_alignParentTop="true"
android:autoText="true" />
</RelativeLayout>
</RelativeLayout>