So I programmed a simple app with android studio and the layout that is shown in the app when I run it is different than the xml file I designed.

Here is a link of an image of the problem.

<https://imgur.com/6JIHSQ7> 

```
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout 
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"
tools:context=".MainActivity">

<Button
    android:id="@+id/subBtn"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:text="@string/subBtn"
    android:textSize="30sp"
    app:layout_constraintBaseline_toBaselineOf="@+id/addBtn"
    app:layout_constraintStart_toStartOf="@+id/divBtn" />

<Button
    android:id="@+id/addBtn"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_marginStart="36dp"
    android:layout_marginLeft="36dp"
    android:layout_marginBottom="42dp"
    android:text="@string/addBtn"
    android:textSize="30sp"
    app:layout_constraintBottom_toTopOf="@+id/multBtn"
    app:layout_constraintStart_toEndOf="@+id/subBtn" />

<EditText
    android:id="@+id/n1EditText"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_marginTop="56dp"
    android:ems="10"
    android:hint="@string/number1"
    android:inputType="textPersonName"
    app:layout_constraintEnd_toEndOf="parent"
    app:layout_constraintHorizontal_bias="0.444"
    app:layout_constraintStart_toStartOf="parent"
    app:layout_constraintTop_toTopOf="parent" />

<EditText
    android:id="@+id/n2EditText"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_marginTop="39dp"
    android:ems="10"
    android:hint="@string/number2"
    android:inputType="textPersonName"
    app:layout_constraintStart_toStartOf="@+id/n1EditText"
    app:layout_constraintTop_toBottomOf="@+id/n1EditText" />

<Button
    android:id="@+id/multBtn"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_marginEnd="108dp"
    android:layout_marginRight="108dp"
    android:layout_marginBottom="336dp"
    android:text="@string/multBtn"
    android:textSize="30sp"
    app:layout_constraintBottom_toBottomOf="parent"
    app:layout_constraintEnd_toEndOf="parent" />

<Button
    android:id="@+id/divBtn"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_marginStart="88dp"
    android:layout_marginLeft="88dp"
    android:layout_marginBottom="336dp"
    android:text="@string/divBtn"
    android:textSize="30sp"
    app:layout_constraintBottom_toBottomOf="parent"
    app:layout_constraintStart_toStartOf="parent" />

<TextView
    android:id="@+id/resultTextView"
    android:layout_width="174dp"
    android:layout_height="73dp"
    android:layout_marginTop="8dp"
    android:layout_marginBottom="8dp"
    android:background="@color/colorPrimaryDark"
    android:text="@string/resultView"
    android:textColor="@color/colorPrimary"
    android:textSize="50sp"
    app:layout_constraintBottom_toBottomOf="parent"
    app:layout_constraintEnd_toEndOf="parent"
    app:layout_constraintHorizontal_bias="0.455"
    app:layout_constraintStart_toStartOf="parent"
    app:layout_constraintTop_toBottomOf="@+id/n2EditText"
    app:layout_constraintVertical_bias="0.637" />

</androidx.constraintlayout.widget.ConstraintLayout>

```

I think it might be related to the virtual device i'm using but I don't know if that's the problem.