1 |
<?xml version="1.0" encoding="utf-8"?> |
---|
2 |
<LinearLayout |
---|
3 |
xmlns:android="http://schemas.android.com/apk/res/android" |
---|
4 |
android:orientation="vertical" |
---|
5 |
android:layout_width="fill_parent" |
---|
6 |
android:layout_height="fill_parent"> |
---|
7 |
<LinearLayout |
---|
8 |
android:orientation="vertical" |
---|
9 |
android:layout_width="fill_parent" |
---|
10 |
android:layout_height="fill_parent" |
---|
11 |
android:layout_weight="1" |
---|
12 |
> |
---|
13 |
<Button |
---|
14 |
android:id="@+id/bt1" |
---|
15 |
android:layout_width="fill_parent" |
---|
16 |
android:layout_height="fill_parent" |
---|
17 |
android:text="踰��1" |
---|
18 |
android:layout_weight="0.5" |
---|
19 |
android:background="#FF0000" |
---|
20 |
/> |
---|
21 |
<Button |
---|
22 |
android:id="@+id/bt2" |
---|
23 |
android:layout_width="fill_parent" |
---|
24 |
android:layout_height="fill_parent" |
---|
25 |
android:text="踰��2" |
---|
26 |
android:layout_weight="1" |
---|
27 |
android:background="#00FF00" |
---|
28 |
/> |
---|
29 |
<Button |
---|
30 |
android:id="@+id/bt3" |
---|
31 |
android:layout_width="fill_parent" |
---|
32 |
android:layout_height="fill_parent" |
---|
33 |
android:text="踰��3" |
---|
34 |
android:layout_weight="1" |
---|
35 |
android:background="#0000FF" |
---|
36 |
/> |
---|
37 |
</LinearLayout> |
---|
38 |
|
---|
39 |
<LinearLayout |
---|
40 |
android:orientation="horizontal" |
---|
41 |
android:layout_width="fill_parent" |
---|
42 |
android:layout_height="fill_parent" |
---|
43 |
android:layout_weight="1" |
---|
44 |
> |
---|
45 |
<Button |
---|
46 |
android:id="@+id/bt4" |
---|
47 |
android:layout_width="fill_parent" |
---|
48 |
android:layout_height="fill_parent" |
---|
49 |
android:text="踰��4" |
---|
50 |
android:layout_weight="0.5" |
---|
51 |
android:background="#AA0000" |
---|
52 |
/> |
---|
53 |
<Button |
---|
54 |
android:id="@+id/bt5" |
---|
55 |
android:layout_width="fill_parent" |
---|
56 |
android:layout_height="fill_parent" |
---|
57 |
android:text="踰��5" |
---|
58 |
android:layout_weight="1" |
---|
59 |
android:background="#00AA00" |
---|
60 |
/> |
---|
61 |
<Button |
---|
62 |
android:id="@+id/bt6" |
---|
63 |
android:layout_width="fill_parent" |
---|
64 |
android:layout_height="fill_parent" |
---|
65 |
android:text="踰��6" |
---|
66 |
android:layout_weight="1" |
---|
67 |
android:background="#0000AA" |
---|
68 |
/> |
---|
69 |
</LinearLayout> |
---|
70 |
</LinearLayout> |
---|
71 |
|
---|