SHOW:
|
|
- or go back to the newest paste.
1 | <?xml version="1.0" encoding="utf-8"?> | |
2 | <LinearLayout 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 | android:id="@+id/root" | |
7 | android:background="#87CEFA" | |
8 | android:minWidth="25px" | |
9 | android:minHeight="25px"> | |
10 | <LinearLayout | |
11 | android:id="@+id/chat" | |
12 | android:layout_width="fill_parent" | |
13 | android:layout_height="0dp" | |
14 | android:orientation="vertical" | |
15 | android:layout_weight="1" /> | |
16 | <LinearLayout | |
17 | android:id="@+id/send" | |
18 | android:layout_width="fill_parent" | |
19 | android:layout_height="wrap_content" | |
20 | android:orientation="horizontal"> | |
21 | <EditText | |
22 | - | android:layout_width="258.5dp" |
22 | + | android:layout_width="0dp" |
23 | android:layout_height="wrap_content" | |
24 | - | android:id="@+id/editText1" /> |
24 | + | android:layout_weight="1" |
25 | android:id="@+id/editText1"/> | |
26 | <Button | |
27 | - | android:layout_width="match_parent" |
27 | + | |
28 | android:layout_width="wrap_content" | |
29 | - | android:id="@+id/button1" |
29 | + | |
30 | - | android:layout_weight="6" /> |
30 | + | android:id="@+id/button1"/> |
31 | </LinearLayout> | |
32 | </LinearLayout> |