<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    tools:context="layout.NumpadFragment"
    android:onClick="setValue">

    <!-- TODO: Update blank fragment layout -->
    <LinearLayout
        android:orientation="vertical"
        android:layout_width="wrap_content"
        android:layout_height="241dp"
        android:layout_alignParentTop="true"
        android:layout_centerHorizontal="true"
        android:layout_gravity="center">

        <LinearLayout
            android:orientation="horizontal"
            android:layout_width="match_parent"
            android:layout_height="wrap_content">

            <Button
                android:id="@+id/button"
                style="@android:style/Widget.Material.Light.Button"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:backgroundTint="#484747"
                android:onClick="setValue"
                android:text="1"
                android:textColor="#f4f4f4" />

            <Button
                android:id="@+id/button2"
                style="@android:style/Widget.Material.Light.Button"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:backgroundTint="#484747"
                android:onClick="setValue"
                android:text="2"
                android:textColor="#f4f4f4" />

            <Button
                android:id="@+id/button3"
                style="@android:style/Widget.Material.Light.Button"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:backgroundTint="#484747"
                android:onClick="setValue"
                android:text="3"
                android:textColor="#f4f4f4" />
        </LinearLayout>

        <LinearLayout
            android:orientation="horizontal"
            android:layout_width="match_parent"
            android:layout_height="wrap_content">

            <Button
                android:id="@+id/button4"
                style="@android:style/Widget.Material.Light.Button"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:backgroundTint="#484747"
                android:onClick="setValue"
                android:text="4"
                android:textColor="#f4f4f4" />

            <Button
                android:id="@+id/button5"
                style="@android:style/Widget.Material.Light.Button"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:backgroundTint="#484747"
                android:onClick="setValue"
                android:text="5"
                android:textColor="#f4f4f4" />

            <Button
                android:id="@+id/button6"
                style="@android:style/Widget.Material.Light.Button"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:backgroundTint="#484747"
                android:onClick="setValue"
                android:text="6"
                android:textColor="#f4f4f4" />
        </LinearLayout>

        <LinearLayout
            android:orientation="horizontal"
            android:layout_width="match_parent"
            android:layout_height="wrap_content">

            <Button
                android:id="@+id/button7"
                style="@android:style/Widget.Material.Light.Button"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:backgroundTint="#484747"
                android:onClick="setValue"
                android:text="7"
                android:textColor="#f4f4f4" />

            <Button
                android:id="@+id/button8"
                style="@android:style/Widget.Material.Light.Button"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:backgroundTint="#484747"
                android:onClick="setValue"
                android:text="8"
                android:textColor="#f4f4f4" />

            <Button
                android:id="@+id/button9"
                style="@android:style/Widget.Material.Light.Button"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:backgroundTint="#484747"
                android:onClick="setValue"
                android:text="9"
                android:textColor="#f4f4f4" />
        </LinearLayout>

        <LinearLayout
            android:orientation="horizontal"
            android:layout_width="match_parent"
            android:layout_height="87dp">

            <Button
                android:id="@+id/button10"
                style="@android:style/Widget.Material.Light.Button"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:backgroundTint="#484747"
                android:onClick="backspace"
                android:text="&lt;&lt;"
                android:textColor="#f4f4f4" />

            <Button
                android:id="@+id/button11"
                style="@android:style/Widget.Material.Light.Button"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:backgroundTint="#484747"
                android:onClick="setValue"
                android:text="0"
                android:textColor="#f4f4f4" />

            <Button
                android:id="@+id/button12"
                style="@android:style/Widget.Material.Light.Button"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:backgroundTint="#484747"
                android:onClick="clear"
                android:text="C"
                android:textColor="#f4f4f4" />
        </LinearLayout>
    </LinearLayout>
</FrameLayout>
