| 1 |
<?xml version="1.0" encoding="utf-8"?> |
| 2 |
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 3 |
xmlns:tools="http://schemas.android.com/tools" |
| 4 |
android:layout_width="match_parent" |
| 5 |
android:layout_height="match_parent" |
| 6 |
tools:context="com.example.bk.Activ" |
| 7 |
tools:showIn="@layout/activity_"> |
| 8 |
|
| 9 |
|
| 10 |
<TextView |
| 11 |
android:layout_width="wrap_content" |
| 12 |
android:layout_height="wrap_content" |
| 13 |
android:textAppearance="?android:attr/textAppearanceMedium" |
| 14 |
android:text="Some Text" |
| 15 |
android:id="@+id/someText" |
| 16 |
android:layout_alignParentTop="true" |
| 17 |
android:layout_centerHorizontal="true" /> |
| 18 |
|
| 19 |
<Button |
| 20 |
android:layout_width="wrap_content" |
| 21 |
android:layout_height="wrap_content" |
| 22 |
android:text="Click" |
| 23 |
android:id="@+id/click" |
| 24 |
android:layout_below="@+id/someText" |
| 25 |
android:layout_centerHorizontal="true" /> |
| 26 |
</RelativeLayout> |