Blob Blame Raw
<com.icystar.dicegenerator.ResizerFrameLayout xmlns:tools="http://schemas.android.com/tools"
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/ResizerFrameLayout"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent" >

    <TableLayout
        android:id="@+id/TableLayout1"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"
        android:stretchColumns="*" >

        <RelativeLayout
            android:id="@+id/RelativeLayout1"
            android:layout_width="fill_parent"
            android:layout_height="wrap_content" >

            <TextView
                android:id="@+id/textView1"
                style="@style/IndicatorText"
                android:tag="indicator"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_alignParentLeft="true"
                android:layout_alignParentTop="true"
                android:layout_toLeftOf="@+id/buttonBackspace"
                android:clickable="true"
                android:onClick="onText"
                android:singleLine="true" />

            <ImageButton
                android:id="@+id/buttonBackspace"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_alignParentTop="true"
                android:layout_toLeftOf="@+id/buttonHistory"
                android:adjustViewBounds="true"
                android:contentDescription="@string/clearButton"
                android:onClick="onButton"
                android:scaleType="centerInside"
                android:src="@drawable/ic_menu_close_clear_cancel" />

            <ImageButton
                android:id="@+id/buttonHistory"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_alignParentRight="true"
                android:layout_alignParentTop="true"
                android:adjustViewBounds="true"
                android:contentDescription="@string/historyButton"
                android:maxHeight="50sp"
                android:maxWidth="50sp"
                android:minHeight="50sp"
                android:minWidth="50sp"
                android:onClick="onButton"
                android:scaleType="centerInside"
                android:src="@drawable/ic_menu_recent_history" />
        </RelativeLayout>

        <TableRow
            android:id="@+id/tableRow1"
            android:layout_width="fill_parent"
            android:layout_height="fill_parent"
            android:layout_weight="1" >

            <Button
                android:id="@+id/button1"
                style="@style/LargeText"
                android:layout_width="0dip"
                android:layout_height="fill_parent"
                android:layout_weight="1"
                android:onClick="onButton"
                android:text="@string/button1" />

            <Button
                android:id="@+id/button2"
                style="@style/LargeText"
                android:layout_width="0dip"
                android:layout_height="fill_parent"
                android:layout_weight="1"
                android:onClick="onButton"
                android:text="@string/button2" />

            <Button
                android:id="@+id/button3"
                style="@style/LargeText"
                android:layout_width="0dip"
                android:layout_height="fill_parent"
                android:layout_weight="1"
                android:onClick="onButton"
                android:text="@string/button3" />
        </TableRow>

        <TableRow
            android:id="@+id/tableRow2"
            android:layout_width="fill_parent"
            android:layout_height="fill_parent"
            android:layout_weight="1" >

            <Button
                android:id="@+id/button4"
                style="@style/LargeText"
                android:layout_width="wrap_content"
                android:layout_height="fill_parent"
                android:layout_weight="1"
                android:onClick="onButton"
                android:text="@string/button4" />

            <Button
                android:id="@+id/button5"
                style="@style/LargeText"
                android:layout_width="wrap_content"
                android:layout_height="fill_parent"
                android:layout_weight="1"
                android:onClick="onButton"
                android:text="@string/button5" />

            <Button
                android:id="@+id/button6"
                style="@style/LargeText"
                android:layout_width="wrap_content"
                android:layout_height="fill_parent"
                android:layout_weight="1"
                android:onClick="onButton"
                android:text="@string/button6" />
        </TableRow>

        <TableRow
            android:id="@+id/tableRow3"
            android:layout_width="fill_parent"
            android:layout_height="fill_parent"
            android:layout_weight="1" >

            <Button
                android:id="@+id/button7"
                style="@style/LargeText"
                android:layout_width="0dip"
                android:layout_height="fill_parent"
                android:layout_weight="1"
                android:onClick="onButton"
                android:text="@string/button7" />

            <Button
                android:id="@+id/button8"
                style="@style/LargeText"
                android:layout_width="0dip"
                android:layout_height="fill_parent"
                android:layout_weight="1"
                android:onClick="onButton"
                android:text="@string/button8" />

            <Button
                android:id="@+id/button9"
                style="@style/LargeText"
                android:layout_width="0dip"
                android:layout_height="fill_parent"
                android:layout_weight="1"
                android:onClick="onButton"
                android:text="@string/button9" />
        </TableRow>

        <TableRow
            android:id="@+id/tableRow4"
            android:layout_width="fill_parent"
            android:layout_height="fill_parent"
            android:layout_weight="1" >

            <Button
                android:id="@+id/buttonDice"
                style="@style/LargeText"
                android:layout_width="0dip"
                android:layout_height="fill_parent"
                android:layout_weight="1"
                android:onClick="onButton"
                android:text="@string/dice" />

            <Button
                android:id="@+id/button10"
                style="@style/LargeText"
                android:layout_width="0dip"
                android:layout_height="fill_parent"
                android:layout_weight="1"
                android:onClick="onButton"
                android:text="@string/button0" />

            <Button
                android:id="@+id/buttonRoll"
                style="@style/LargeText"
                android:layout_width="0dip"
                android:layout_height="fill_parent"
                android:layout_weight="1"
                android:onClick="onButton"
                android:text="@string/roll" />
        </TableRow>
    </TableLayout>

</com.icystar.dicegenerator.ResizerFrameLayout>