I placed a button in the middle of design layout from activity\_main.xml but when i run the app through my phone, the positioning is not the same as the design inside activity\_main.xml. 

Tried to change layout to relative and the problem still exist.

```
<Button
    android:id="@+id/button5"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_marginStart="160dp"
    android:layout_marginLeft="160dp"
    android:layout_marginTop="276dp"
    android:text="Button"
    app:layout_constraintStart_toStartOf="parent"
    app:layout_constraintTop_toTopOf="parent" />

```

I expect that the design position from activity\_main is the same when run through an actual android phone.

From the design layout

![a busy cat](https://i.stack.imgur.com/R8HGr.png)

from the actual phone

![a busy cat](https://i.stack.imgur.com/VB2cW.png)