1 <?xml version="1.0" encoding="utf-8"?> |
1 <?xml version="1.0" encoding="utf-8"?> |
2 <RelativeLayout |
2 <RelativeLayout |
3 xmlns:android="http://schemas.android.com/apk/res/android" |
3 xmlns:android="http://schemas.android.com/apk/res/android" |
4 android:layout_width="wrap_content" |
4 android:layout_width="wrap_content" |
5 android:layout_height="match_parent" |
5 android:layout_height="fill_parent" |
6 android:padding="5dip"> |
6 android:padding="5dip"> |
7 <TextView |
7 <TextView |
8 android:id="@+id/text" |
8 android:id="@+id/text" |
9 android:layout_width="200dip" |
9 android:layout_width="200dip" |
10 android:layout_height="wrap_content" |
10 android:layout_height="wrap_content" |
11 android:padding="5dip" |
11 android:padding="5dip" |
12 android:gravity="center" |
12 android:gravity="center" |
13 android:maxWidth="200dip"/> |
13 android:maxWidth="200dip"/> |
14 |
14 |
15 <LinearLayout |
15 <LinearLayout |
16 android:layout_width="match_parent" |
16 android:layout_width="fill_parent" |
17 android:layout_height="wrap_content" |
17 android:layout_height="wrap_content" |
18 android:layout_below="@+id/text" |
18 android:layout_below="@+id/text" |
19 android:layout_alignLeft="@id/text" |
19 android:layout_alignLeft="@id/text" |
20 android:layout_alignRight="@id/text" |
20 android:layout_alignRight="@id/text" |
21 android:orientation="horizontal" |
21 android:orientation="horizontal" |
22 android:gravity="center"> |
22 android:gravity="center"> |
23 |
23 |
24 <Button |
24 <Button |
25 android:id="@+id/yes" |
25 android:id="@+id/yes" |
26 android:layout_width="match_parent" |
26 android:layout_width="fill_parent" |
27 android:layout_height="match_parent" |
27 android:layout_height="fill_parent" |
28 android:layout_weight="1" |
28 android:layout_weight="1" |
29 android:text="@android:string/yes" /> |
29 android:text="@android:string/yes" /> |
30 |
30 |
31 <Button |
31 <Button |
32 android:id="@+id/no" |
32 android:id="@+id/no" |
33 android:layout_width="match_parent" |
33 android:layout_width="fill_parent" |
34 android:layout_height="match_parent" |
34 android:layout_height="fill_parent" |
35 android:layout_weight="1" |
35 android:layout_weight="1" |
36 android:text="@android:string/no" /> |
36 android:text="@android:string/no" /> |
37 </LinearLayout> |
37 </LinearLayout> |
38 |
38 |
39 </RelativeLayout> |
39 </RelativeLayout> |