1<?xml version="1.0" encoding="utf-8"?>
2<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
3 android:layout_width="match_parent"
4 android:layout_height="match_parent"
5 android:background="#f9f9f9">
6
7 <RelativeLayout
8 android:id="@+id/textsend"
9 android:layout_width="fill_parent"
10 android:layout_height="wrap_content"
11 android:layout_alignParentBottom="true"
12 android:layout_alignParentLeft="true" >
13
14 <EditText
15 android:id="@+id/editText1"
16 android:layout_width="wrap_content"
17 android:layout_height="wrap_content"
18 android:layout_alignParentLeft="true"
19 android:layout_toLeftOf="@+id/imageButton1"
20 android:ems="10"
21 android:inputType="textMultiLine"
22 android:minLines="1"
23 android:background="#ffffff"
24 android:layout_marginTop="12dp"
25 android:layout_marginBottom="12dp"
26 android:layout_marginLeft="8dp"
27 android:layout_marginRight="8dp">
28 </EditText>
29
30 <ImageButton
31 android:id="@+id/imageButton1"
32 android:layout_width="48dp"
33 android:layout_height="48dp"
34 android:layout_alignParentRight="true"
35 android:layout_centerVertical="true"
36 android:background="?android:selectableItemBackground"
37 android:src="@drawable/ic_action_send_now" />
38
39 </RelativeLayout>
40
41 <ScrollView
42 android:id="@+id/scrollView1"
43 android:layout_width="fill_parent"
44 android:layout_height="fill_parent"
45 android:layout_above="@+id/textsend"
46 android:layout_alignParentLeft="true"
47 android:layout_alignParentTop="true"
48 android:background="#e5e5e5" >
49
50 <LinearLayout
51 android:layout_width="fill_parent"
52 android:layout_height="fill_parent"
53 android:background="#e5e5e5"
54 android:orientation="vertical" >
55
56 <TextView
57 android:id="@+id/textView1"
58 android:layout_width="wrap_content"
59 android:layout_height="wrap_content"
60 android:text="TextView" />
61 </LinearLayout>
62 </ScrollView>
63
64</RelativeLayout>