aboutsummaryrefslogtreecommitdiff
path: root/res/layout/chat.xml
blob: fdeb5b36d0a08d16f0c3ac611a7b53e90998c5bb (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
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
	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>