| <?xml version="1.0" encoding="utf-8"?> |
| <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| xmlns:tools="http://schemas.android.com/tools" |
| android:background="@drawable/progress" |
| android:orientation="vertical" android:layout_width="match_parent" |
| android:layout_height="match_parent" |
| tools:context=".MyActivity"> |
| |
| <LinearLayout |
| android:orientation="horizontal" |
| android:layout_width="fill_parent" |
| android:layout_height="wrap_content" |
| android:layout_alignParentBottom="true" |
| android:layout_alignParentLeft="true" |
| android:layout_alignParentStart="true"> |
| |
| <Button |
| android:layout_width="0dp" |
| android:layout_height="wrap_content" |
| android:text="Button1" |
| android:id="@+id/button" |
| android:layout_weight="1" /> |
| |
| <Button |
| android:layout_width="0dp" |
| android:layout_height="wrap_content" |
| android:text="Button2" |
| android:id="@+id/button2" |
| android:layout_weight="1" /> |
| </LinearLayout> |
| |
| <include |
| layout="@layout/included" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:id="@+id/included" |
| android:layout_centerVertical="true" |
| android:layout_centerHorizontal="true" /> |
| |
| </RelativeLayout> |