| 1 |
<?xml version="1.0" encoding="utf-8"?> |
| 2 |
<LinearLayout |
| 3 |
xmlns:android="http://schemas.android.com/apk/res/android" |
| 4 |
android:layout_width="match_parent" |
| 5 |
android:layout_height="match_parent" |
| 6 |
android:gravity="center"> |
| 7 |
|
| 8 |
<LinearLayout |
| 9 |
android:layout_width="wrap_content" |
| 10 |
android:layout_height="wrap_content" |
| 11 |
android:layout_gravity="center" |
| 12 |
android:gravity="center_horizontal" |
| 13 |
android:orientation="vertical" |
| 14 |
> |
| 15 |
|
| 16 |
<TextView android:id="@+id/alertTitle" |
| 17 |
style="?android:attr/textAppearanceLarge" |
| 18 |
android:padding="5dip" |
| 19 |
android:singleLine="true" |
| 20 |
android:ellipsize="end" |
| 21 |
android:gravity="center" |
| 22 |
android:layout_width="match_parent" |
| 23 |
android:layout_height="wrap_content" /> |
| 24 |
|
| 25 |
<LinearLayout |
| 26 |
android:layout_width="wrap_content" |
| 27 |
android:layout_height="wrap_content" |
| 28 |
style="@android:style/ButtonBar"> |
| 29 |
|
| 30 |
<Button |
| 31 |
android:id="@+id/snooze" |
| 32 |
android:layout_width="wrap_content" |
| 33 |
android:layout_height="wrap_content" |
| 34 |
android:layout_weight="3" |
| 35 |
android:onClick="dismiss" |
| 36 |
android:text="Snooze" /> |
| 37 |
|
| 38 |
|
| 39 |
<View |
| 40 |
android:layout_width="2dip" |
| 41 |
android:layout_height="2dip" |
| 42 |
android:layout_gravity="fill_horizontal" |
| 43 |
android:layout_weight="1"/> |
| 44 |
|
| 45 |
<Button |
| 46 |
android:id="@+id/dismiss" |
| 47 |
android:layout_width="wrap_content" |
| 48 |
android:layout_height="wrap_content" |
| 49 |
android:layout_weight="3" |
| 50 |
android:onClick="dismiss" |
| 51 |
android:text="Dismiss" /> |
| 52 |
|
| 53 |
</LinearLayout> |
| 54 |
|
| 55 |
</LinearLayout> |
| 56 |
|
| 57 |
</LinearLayout> |