aboutsummaryrefslogtreecommitdiff
path: root/res/layout/chat.xml
blob: a62cfa65136e117075b080298a65bf8a94fcec9f (plain)
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
<?xml version="1.0" encoding="utf-8"?>
<android.support.v4.widget.SwipeRefreshLayout xmlns:android="http://schemas.android.com/apk/res/android"
	android:id="@+id/refresh_layout"
	android:layout_width="fill_parent"
	android:layout_height="fill_parent">

	<LinearLayout
		android:id="@+id/chat_layout"
		android:layout_width="fill_parent"
		android:layout_height="fill_parent"
		android:orientation="vertical" >

		<include layout="@layout/tab_progress" />

		<ListView
			android:id="@+id/chat_entries"
			android:layout_width="fill_parent"
			android:layout_height="0dip"
			android:layout_weight="1.0"
			android:textFilterEnabled="true" />

		<LinearLayout
			android:layout_height="4dip"
			android:layout_width="fill_parent"
			android:layout_marginTop="4dip"/>

		<LinearLayout
			android:layout_width="fill_parent"
			android:layout_height="wrap_content"
			android:orientation="horizontal"
			android:gravity="bottom" >

			<EditText
				android:id="@+id/chat_edittext"
				android:layout_width="0dip"
				android:layout_height="40dip"
				android:layout_weight="1"
				android:autoLink="all"
				android:hint="@string/chat.send_a_message"
				android:inputType="textEmailAddress|textMultiLine"
				android:linksClickable="true"
				android:paddingBottom="10dip"
				android:paddingTop="10dip" />

			<ImageButton
				android:id="@+id/chat_send"
				android:layout_width="60dip"
				android:layout_height="40dip"
				android:src="?attr/chat_send" />

		</LinearLayout>
	</LinearLayout>
</android.support.v4.widget.SwipeRefreshLayout>