<?xml version="1.0" encoding="UTF-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/body"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:minHeight="400sp"
    android:minWidth="400sp"
    android:orientation="vertical" >

    <LinearLayout
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"
        android:layout_weight="1.0"
        android:orientation="vertical" >

        <TextView
            android:id="@+id/text_preview"
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:layout_marginLeft="5sp"
            android:layout_marginRight="5sp"
            android:layout_marginTop="5sp"
            android:background="@drawable/keypad_count5"
            android:gravity="right|center"
            android:textColor="#808080"
            android:textSize="18sp" />

        <TextView
            android:id="@+id/text_print"
            android:layout_width="fill_parent"
            android:layout_height="fill_parent"
            android:layout_marginBottom="5sp"
            android:layout_marginLeft="5sp"
            android:layout_marginRight="5sp"
            android:background="@drawable/keypad_count4"
            android:gravity="right|center"
            android:textColor="#006400"
            android:textSize="36sp" />
    </LinearLayout>

    <LinearLayout
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"
        android:layout_marginLeft="3sp"
        android:layout_marginRight="3sp"
        android:layout_weight="1.0" >

        <Button
            android:id="@+id/btn_number_7"
            android:layout_width="fill_parent"
            android:layout_height="fill_parent"
            android:layout_margin="1sp"
            android:layout_weight="1.0"
            android:background="@drawable/keypad_count1"
            android:text="7"
            android:textSize="36sp" />

        <Button
            android:id="@+id/btn_number_8"
            android:layout_width="fill_parent"
            android:layout_height="fill_parent"
            android:layout_margin="1sp"
            android:layout_weight="1.0"
            android:background="@drawable/keypad_count1"
            android:text="8"
            android:textSize="36sp" />

        <Button
            android:id="@+id/btn_number_9"
            android:layout_width="fill_parent"
            android:layout_height="fill_parent"
            android:layout_margin="1sp"
            android:layout_weight="1.0"
            android:background="@drawable/keypad_count1"
            android:text="9"
            android:textSize="36sp" />

        <Button
            android:id="@+id/btn_opreate_4"
            android:layout_width="fill_parent"
            android:layout_height="fill_parent"
            android:layout_margin="1sp"
            android:layout_weight="1.0"
            android:background="@drawable/keypad_count2"
            android:text="÷"
            android:textSize="36sp" />

        <Button
            android:id="@+id/btn_clean_number"
            android:layout_width="fill_parent"
            android:layout_height="fill_parent"
            android:layout_margin="1sp"
            android:layout_weight="1.0"
            android:background="@drawable/keypad_count3"
            android:text="C"
            android:textSize="36sp" />
    </LinearLayout>

    <LinearLayout
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"
        android:layout_marginLeft="3sp"
        android:layout_marginRight="3sp"
        android:layout_weight="1.0" >

        <Button
            android:id="@+id/btn_number_4"
            android:layout_width="fill_parent"
            android:layout_height="fill_parent"
            android:layout_margin="1sp"
            android:layout_weight="1.0"
            android:background="@drawable/keypad_count1"
            android:text="4"
            android:textSize="36sp" />

        <Button
            android:id="@+id/btn_number_5"
            android:layout_width="fill_parent"
            android:layout_height="fill_parent"
            android:layout_margin="1sp"
            android:layout_weight="1.0"
            android:background="@drawable/keypad_count1"
            android:text="5"
            android:textSize="36sp" />

        <Button
            android:id="@+id/btn_number_6"
            android:layout_width="fill_parent"
            android:layout_height="fill_parent"
            android:layout_margin="1sp"
            android:layout_weight="1.0"
            android:background="@drawable/keypad_count1"
            android:text="6"
            android:textSize="36sp" />

        <Button
            android:id="@+id/btn_opreate_3"
            android:layout_width="fill_parent"
            android:layout_height="fill_parent"
            android:layout_margin="1sp"
            android:layout_weight="1.0"
            android:background="@drawable/keypad_count2"
            android:text="×"
            android:textSize="36sp" />

        <Button
            android:id="@+id/btn_backspace"
            android:layout_width="fill_parent"
            android:layout_height="fill_parent"
            android:layout_margin="1sp"
            android:layout_weight="1.0"
            android:background="@drawable/keypad_count3"
            android:text="←"
            android:textSize="36sp" />
    </LinearLayout>

    <LinearLayout
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"
        android:layout_marginLeft="3sp"
        android:layout_marginRight="3sp"
        android:layout_weight="1.0" >

        <Button
            android:id="@+id/btn_number_1"
            android:layout_width="fill_parent"
            android:layout_height="fill_parent"
            android:layout_margin="1sp"
            android:layout_weight="1.0"
            android:background="@drawable/keypad_count1"
            android:text="1"
            android:textSize="36sp" />

        <Button
            android:id="@+id/btn_number_2"
            android:layout_width="fill_parent"
            android:layout_height="fill_parent"
            android:layout_margin="1sp"
            android:layout_weight="1.0"
            android:background="@drawable/keypad_count1"
            android:text="2"
            android:textSize="36sp" />

        <Button
            android:id="@+id/btn_number_3"
            android:layout_width="fill_parent"
            android:layout_height="fill_parent"
            android:layout_margin="1sp"
            android:layout_weight="1.0"
            android:background="@drawable/keypad_count1"
            android:text="3"
            android:textSize="36sp" />

        <Button
            android:id="@+id/btn_opreate_2"
            android:layout_width="fill_parent"
            android:layout_height="fill_parent"
            android:layout_margin="1sp"
            android:layout_weight="1.0"
            android:background="@drawable/keypad_count2"
            android:text="-"
            android:textSize="36sp" />

        <Button
            android:layout_width="fill_parent"
            android:layout_height="fill_parent"
            android:layout_margin="1sp"
            android:layout_weight="1.0"
            android:background="@drawable/keypad_count3"
            android:text="his"
            android:textSize="36sp" />
    </LinearLayout>

    <LinearLayout
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"
        android:layout_marginLeft="3sp"
        android:layout_marginRight="3sp"
        android:layout_weight="1.0" >

        <Button
            android:id="@+id/btn_number_0"
            android:layout_width="fill_parent"
            android:layout_height="fill_parent"
            android:layout_margin="1sp"
            android:layout_weight="1.0"
            android:background="@drawable/keypad_count1"
            android:text="0"
            android:textSize="36sp" />

        <Button
            android:id="@+id/btn_number_00"
            android:layout_width="fill_parent"
            android:layout_height="fill_parent"
            android:layout_margin="1sp"
            android:layout_weight="1.0"
            android:background="@drawable/keypad_count1"
            android:text="00"
            android:textSize="36sp" />

        <Button
            android:id="@+id/btn_number_spot"
            android:layout_width="fill_parent"
            android:layout_height="fill_parent"
            android:layout_margin="1sp"
            android:layout_weight="1.0"
            android:background="@drawable/keypad_count1"
            android:text="."
            android:textSize="36sp" />

        <Button
            android:id="@+id/btn_opreate_1"
            android:layout_width="fill_parent"
            android:layout_height="fill_parent"
            android:layout_margin="1sp"
            android:layout_weight="1.0"
            android:background="@drawable/keypad_count2"
            android:text="+"
            android:textSize="36sp" />

        <Button
            android:id="@+id/btn_result"
            android:layout_width="fill_parent"
            android:layout_height="fill_parent"
            android:layout_margin="1sp"
            android:layout_weight="1.0"
            android:background="@drawable/keypad_count3"
            android:text="="
            android:textSize="36sp" />
    </LinearLayout>

</LinearLayout>