Android Studio Emulator do not show the designed layout
I am trying to make my first app in Android but even the my simple app with just 2 Text Fields and 1 Button always float to the corner of the Emulator. I have tried to change the Android Image to x86 or Install HAXM, or tried on another computer with different layout designs but things do not change.
I am a newbie in Android so I hope will get help from you.
Here is my file activity_main.xml
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.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="com.example.admin.button.MainActivity">
<EditText
android:id="@+id/editText"
android:layout_width="368dp"
android:layout_height="wrap_content"
android:ems="10"
android:hint="Username"
android:inputType="textPersonName"
tools:layout_editor_absoluteX="8dp"
tools:layout_editor_absoluteY="5dp" />
<EditText
android:id="@+id/editText2"
android:layout_width="368dp"
android:layout_height="wrap_content"
android:ems="10"
android:hint="Password"
android:inputType="textPersonName"
tools:layout_editor_absoluteX="8dp"
tools:layout_editor_absoluteY="62dp" />
<Button
android:id="@+id/button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Log In"
tools:layout_editor_absoluteX="148dp"
tools:layout_editor_absoluteY="118dp" />
</android.support.constraint.ConstraintLayout>