<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical" >


    <EditText
        android:id="@+id/multilineText"
        android:layout_width="match_parent"
        android:layout_height="199dp"
        android:layout_margin="5dp"
        android:ems="10"
        android:inputType="textMultiLine" />
    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="horizontal"
        android:layout_margin="5dp" >

        <Button
            android:id="@+id/save-sp"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginLeft="30dp"
            android:layout_weight="1"
            android:onClick="onSaveClickedSP"
            android:text="Save (SP)" >
        </Button>

        <Button
            android:id="@+id/load-sp"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginRight="30dp"
            android:onClick="onLoadClickedSP"
            android:layout_weight="1"
            android:text="Load (SP)" >
        </Button>
    </LinearLayout>
    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="horizontal"
        android:layout_margin="5dp" >

        <Button
            android:id="@+id/save-is"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginLeft="30dp"
            android:layout_weight="1"
            android:onClick="onSaveClickedIS"
            android:text="Save (IS)" >
        </Button>

        <Button
            android:id="@+id/load-is"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginRight="30dp"
            android:onClick="onLoadClickedIS"
            android:layout_weight="1"
            android:text="Load (IS)" >
        </Button>
    </LinearLayout>
    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="horizontal"
        android:layout_margin="5dp" >

        <Button
            android:id="@+id/save-es"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginLeft="30dp"
            android:layout_weight="1"
            android:onClick="onSaveClickedES"
            android:text="Save (ES)" >
        </Button>

        <Button
            android:id="@+id/load-es"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginRight="30dp"
            android:layout_weight="1"
            android:onClick="onLoadClickedES"
            android:text="Load (ES)" >
        </Button>
    </LinearLayout>
    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="horizontal"
        android:layout_margin="5dp" >


        <Button
            android:id="@+id/clearText"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginRight="30dp"
            android:layout_marginLeft="30dp"
            android:layout_weight="1"
            android:onClick="onClearText"
            android:text="Clear" >
        </Button>
    </LinearLayout>
</LinearLayout>