<?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=".cactusClient.MainActivity"> <TextView android:id="@+id/textView" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="8dp" android:layout_marginEnd="33dp" android:layout_marginLeft="25dp" android:layout_marginRight="33dp" android:layout_marginStart="25dp" android:text="MainActivity" android:textSize="36sp" app:layout_constraintBottom_toTopOf="@+id/fragment_place" app:layout_constraintEnd_toStartOf="@+id/loginButton" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" /> <Button android:id="@+id/loginButton" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_marginBottom="16dp" android:layout_marginEnd="16dp" android:layout_marginLeft="16dp" android:layout_marginRight="16dp" android:layout_marginStart="16dp" android:layout_marginTop="16dp" android:text="login" app:layout_constraintBottom_toTopOf="@+id/fragment_place" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toEndOf="@+id/textView" app:layout_constraintTop_toTopOf="parent" tools:ignore="MissingConstraints" /> <fragment android:id="@+id/fragment_place" android:name="org.ntlab.radishforandroidstudio.cactusClient.LoginFragment" android:layout_width="394dp" android:layout_height="0dp" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@+id/loginButton" tools:ignore="MissingConstraints" /> </android.support.constraint.ConstraintLayout>