| <?xml version="1.0" encoding="utf-8"?> |
| <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| android:id="@+id/newlinear" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent" |
| android:orientation="vertical" > |
| |
| <Button |
| android:id="@+id/button1" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_alignParentLeft="true" |
| android:layout_alignParentTop="true" |
| android:text="Button" > |
| </Button> |
| |
| <ImageView |
| android:id="@+id/android_logo" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_above="@+id/button2" |
| android:layout_alignParentLeft="true" |
| android:layout_below="@+id/button1" |
| android:layout_weight="1.0" |
| android:clickable="false" |
| android:focusable="false" |
| android:src="@drawable/android_button" /> |
| |
| <Button |
| android:id="@+id/button2" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_alignParentBottom="true" |
| android:layout_alignParentLeft="true" |
| android:text="Button" > |
| </Button> |
| |
| </RelativeLayout> |