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