| 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | |
| 3 | <RelativeLayout |
| 4 | xmlns:android="http://schemas.android.com/apk/res/android" |
| 5 | android:layout_width="fill_parent" |
| 6 | android:layout_height="fill_parent"> |
| 7 | <TextView |
| 8 | android:text="@string/toy_greeting" |
| 9 | android:layout_width="wrap_content" |
| 10 | android:layout_height="wrap_content" |
| 11 | android:layout_centerInParent="true"/> |
| 12 | <Button |
| 13 | android:text="@string/toy_ok" |
| 14 | android:layout_width="wrap_content" |
| 15 | android:layout_height="wrap_content" |
| 16 | android:layout_alignParentRight="true" |
| 17 | android:layout_alignParentBottom="true" |
| 18 | android:onClick="clickOk"/> |
| 19 | </RelativeLayout> |