View difference between Paste ID: DS2Mje9G and
SHOW: | | - or go back to the newest paste.
1-
1+
<?xml version="1.0" encoding="utf-8"?>
2
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
3
    android:orientation="vertical"
4
    android:layout_width="fill_parent"
5
    android:layout_height="fill_parent" >
6
    <LinearLayout
7
		android:layout_width="fill_parent"
8
		android:layout_height="20dp"
9
		android:layout_alignParentTop="true"
10
		android:background="#000000" >
11
		<TextView
12
			android:layout_width="fill_parent"
13
			android:layout_height="wrap_content"
14
			android:textSize="15sp"
15
			android:textColor="#ffffff"
16
			android:text="My header" />
17
	</LinearLayout>
18
19
	<ScrollView
20
		android:layout_width="fill_parent"
21
		android:layout_height="fill_parent"
22
		android:layout_weight="1"
23
		android:gravity="bottom"
24
		android:background="#894545">
25
		<LinearLayout
26
			android:orientation="vertical"
27
		    android:layout_width="fill_parent"
28
		    android:layout_height="wrap_content" />
29
	</ScrollView>
30
	
31
	<LinearLayout
32
		android:layout_width="fill_parent"
33
		android:layout_height="wrap_content"
34
		android:padding="2dp"
35
		android:layout_alignParentBottom="true"
36
		android:isScrollContainer="true"
37
		android:background="@drawable/steel" >
38
		<EditText
39
			android:layout_width="fill_parent"
40
			android:layout_height="wrap_content"
41
			android:layout_weight="0.2"
42
			android:scrollbars="vertical"
43
			android:fadingEdge="vertical"
44
			android:maxHeight="40dp"
45
			android:textSize="15sp" />
46
		<Button
47
			android:layout_width="fill_parent"
48
			android:layout_height="wrap_content"
49
			android:layout_weight="0.8"
50
			android:layout_gravity="right"
51
			android:text="Send"
52
			android:textStyle="bold"
53
			android:textSize="15sp" />
54
	</LinearLayout>
55
</RelativeLayout>