<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="@drawable/background"
    android:orientation="vertical"
    android:weightSum="1">

    <RelativeLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent">

        <ImageView
            android:id="@+id/imageView2"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:background="@drawable/background"
            android:scaleType="center"
            android:visibility="visible"
            />

        <fragment
            android:id="@+id/fragment"
            android:name="layout.NumpadFragment"
            android:layout_width="wrap_content"
            android:layout_height="match_parent"
            android:layout_alignParentTop="true"
            android:layout_gravity="left|center_vertical"
            android:layout_toStartOf="@+id/fragment3"
            android:layout_weight="0.41"
            tools:layout="@layout/fragment_numpad" />

        <fragment
            android:id="@+id/fragment3"
            android:name="layout.DisplayFragment"
            android:layout_width="wrap_content"
            android:layout_height="match_parent"
            android:layout_alignParentEnd="true"
            android:layout_alignParentRight="true"
            android:layout_alignParentTop="true"
            android:layout_marginEnd="44dp"
            android:layout_marginRight="44dp"
            android:layout_weight="0.42"
            tools:layout="@layout/fragment_display" />
    </RelativeLayout>
</LinearLayout>