<?xml version="1.0" encoding="utf-8"?>
<!--assign that drawable to the background property-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"

    android:background="@drawable/shape"

    android:orientation="vertical" >

    <ImageButton
        android:id="@+id/button1"
        android:layout_width="197dp"
        android:layout_height="146dp"
        android:src="@drawable/state"
        android:text="calculate">
    </ImageButton>

    <ImageView
        android:id="@+id/imageView"
        android:layout_width="197dp"
        android:layout_height="209dp"
        android:src="@drawable/transition" />

    <ToggleButton
        android:id="@+id/button"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"/>

    <ImageView
        android:id="@+id/imageViewAnimation"
        android:layout_width="221dp"
        android:layout_height="209dp"
        android:src="@drawable/transition" />

</LinearLayout>