| 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <LinearLayout |
| 3 | xmlns:android="http://schemas.android.com/apk/res/android" |
| 4 | android:layout_width="wrap_content" |
| 5 | android:layout_height="wrap_content" |
| 6 | android:layout_gravity="center" |
| 7 | android:gravity="center_horizontal" |
| 8 | android:orientation="vertical" |
| 9 | > |
| 10 | |
| 11 | <TextView android:id="@+id/text" |
| 12 | style="?android:attr/textAppearanceLarge" |
| 13 | android:padding="5dip" |
| 14 | android:singleLine="true" |
| 15 | android:ellipsize="end" |
| 16 | android:gravity="center" |
| 17 | android:layout_width="wrap_content" |
| 18 | android:layout_height="wrap_content" /> |
| 19 | |
| 20 | <Button |
| 21 | android:id="@+id/ok" |
| 22 | android:layout_width="wrap_content" |
| 23 | android:layout_height="wrap_content" |
| 24 | android:layout_weight="3" |
| 25 | android:onClick="dismiss" |
| 26 | android:text="Ok" /> |
| 27 | |
| 28 | </LinearLayout> |