| <?xml version="1.0" encoding="utf-8"?> |
| <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| android:orientation="vertical" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent" |
| xmlns:tools="http://schemas.android.com/tools" |
| xmlns:app="http://schemas.android.com/apk/res-auto" |
| tools:context=".MainActivity"> |
| |
| <TextView |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:text="@string/sample_text" |
| /> |
| |
| <Button |
| android:id="@+id/testButton1" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:text="@string/test_button_label" |
| android:layout_centerInParent="true" |
| android:gravity="end|center_vertical" |
| /> |
| </LinearLayout> |