<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
	xmlns:tools="http://schemas.android.com/tools"
	android:id="@+id/LinearLayout1"
	android:layout_width="match_parent"
	android:layout_height="match_parent"
	android:orientation="horizontal"
	android:gravity="center"
	android:weightSum="10">

    <ImageView
    	android:id="@+id/image"
    	android:src="@drawable/rectangle"
    	android:layout_width="0dp"
    	android:layout_height="match_parent"
    	android:layout_marginTop="20dp"
    	android:layout_marginBottom="20dp"
      android:layout_gravity="center"
    	android:layout_weight="8"/>

</LinearLayout>