<?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=".views.DisplayGroupIDActivity"> <TextView android:id="@+id/groupName" android:layout_width="match_parent" android:layout_height="75dp" android:background="#e6eae3" android:gravity="center" android:text="家族用 グループ" android:textSize="24sp" app:layout_constraintTop_toTopOf="parent" tools:layout_editor_absoluteX="16dp" /> <EditText android:id="@+id/groupID" android:layout_width="207dp" android:layout_height="45dp" android:layout_marginStart="76dp" android:layout_marginLeft="76dp" android:layout_marginTop="8dp" android:layout_marginBottom="8dp" android:ems="10" android:gravity="center" android:inputType="textPersonName" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toStartOf="@+id/copy_Button" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@+id/groupName" app:layout_constraintVertical_bias="0.436" /> <Button android:id="@+id/copy_Button" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginEnd="8dp" android:layout_marginRight="8dp" android:text="コピー" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toEndOf="@+id/groupID" app:layout_constraintTop_toTopOf="@+id/groupID" /> +</android.support.constraint.ConstraintLayout>