<?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:id="@+id/mylayout"
                android:layout_width="fill_parent"
                android:layout_height="fill_parent"
                android:layout_alignParentBottom="true"
                android:layout_alignParentTop="true"
                android:background="@drawable/crop__texture"
                android:focusableInTouchMode="true"
                android:orientation="vertical"
                tools:context="com.adins.mss.foundation.image.CroppingImageActivity" >

    <com.edmodo.cropper.CropImageView
            xmlns:custom="http://schemas.android.com/apk/res-auto"
            android:id="@+id/CropImageView"
            android:layout_width="fill_parent"
            android:layout_height="match_parent"
            android:layout_above="@+id/linearLayout1"
            android:layout_gravity="center" />

    <LinearLayout
            android:layout_width="match_parent"
            android:id="@+id/linearLayout1"
            android:layout_height="wrap_content"
            android:layout_alignParentBottom="true"
            android:layout_alignParentLeft="true"
            android:background="@color/tv_gray"
            android:orientation="horizontal"
            android:paddingBottom="@dimen/control_right_margin"
            android:paddingLeft="@dimen/control_right_margin"
            android:paddingRight="@dimen/control_right_margin"
            android:paddingTop="@dimen/control_right_margin"
            android:weightSum="1.5" >

        <Button
                android:id="@+id/Button_cancel"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_weight="0.5"
                android:text="@string/crop__cancel" />

        <Button
                android:id="@+id/Button_rotate"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_weight="0.5"
                android:text="@string/crop__rotate" />

        <Button
                android:id="@+id/Button_crop"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_weight="0.5"
                android:text="@string/crop__done" />
    </LinearLayout>

</RelativeLayout>