<?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:id="@+id/coordinatorLayout" android:layout_width="match_parent" android:layout_height="match_parent" tools:context=".views.UpdateRequestActivity"> <android.support.design.widget.AppBarLayout android:id="@+id/appBarLayout" android:layout_width="match_parent" android:layout_height="wrap_content" android:theme="@style/AppTheme.AppBarOverlay" app:layout_constraintTop_toTopOf="parent"> </android.support.design.widget.AppBarLayout> <TextView android:id="@+id/textProductName" android:layout_width="wrap_content" android:layout_height="50dp" android:layout_marginTop="50dp" android:layout_marginEnd="8dp" android:layout_marginRight="8dp" android:layout_marginBottom="8dp" android:gravity="center|center_horizontal" android:text=" 商品名 " android:textSize="20sp" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toStartOf="@+id/editTextProduct" app:layout_constraintHorizontal_bias="0.01" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@+id/appBarLayout" app:layout_constraintVertical_bias="0.0" /> <EditText android:id="@+id/editTextProduct" android:layout_width="0dp" android:layout_height="50dp" android:layout_marginStart="10dp" android:layout_marginLeft="10dp" android:layout_marginTop="50dp" android:layout_marginEnd="50dp" android:layout_marginRight="50dp" android:layout_marginBottom="8dp" android:background="@drawable/edit_text_frame" android:ems="10" android:inputType="text" android:paddingLeft="8dp" android:paddingTop="8dp" android:paddingRight="8dp" android:paddingBottom="8dp" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toEndOf="@+id/textProductName" app:layout_constraintTop_toBottomOf="@+id/appBarLayout" app:layout_constraintVertical_bias="0.0" /> <TextView android:id="@+id/textDeadline" android:layout_width="90dp" android:layout_height="50dp" android:layout_marginStart="4dp" android:layout_marginLeft="4dp" android:layout_marginTop="150dp" android:layout_marginEnd="8dp" android:layout_marginRight="8dp" android:layout_marginBottom="8dp" android:gravity="center|center_horizontal" android:text=" 期限 " android:textSize="20sp" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toStartOf="@+id/editTextDeadline" app:layout_constraintHorizontal_bias="0.01" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" app:layout_constraintVertical_bias="0.0" /> <EditText android:id="@+id/editTextDeadline" android:layout_width="0dp" android:layout_height="50dp" android:layout_marginStart="10dp" android:layout_marginLeft="10dp" android:layout_marginTop="150dp" android:layout_marginEnd="3dp" android:layout_marginRight="3dp" android:ems="10" android:inputType="date" app:layout_constraintEnd_toStartOf="@+id/calenderButton" app:layout_constraintStart_toEndOf="@+id/textDeadline" app:layout_constraintTop_toBottomOf="@+id/editTextProduct" app:layout_constraintTop_toTopOf="parent" /> <ImageButton android:id="@+id/calenderButton" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginStart="1dp" android:layout_marginLeft="1dp" android:layout_marginTop="150dp" android:layout_marginEnd="5dp" android:layout_marginRight="5dp" android:layout_marginBottom="8dp" android:src="@drawable/ic_date_range" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toEndOf="@+id/editTextDeadline" app:layout_constraintTop_toTopOf="parent" app:layout_constraintVertical_bias="0.0" /> <TextView android:id="@+id/textLocation" android:layout_width="90dp" android:layout_height="50dp" android:layout_marginStart="4dp" android:layout_marginLeft="4dp" android:layout_marginTop="250dp" android:layout_marginEnd="8dp" android:layout_marginRight="8dp" android:layout_marginBottom="8dp" android:gravity="center|center_horizontal" android:text=" 場所 " android:textSize="20sp" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toStartOf="@+id/spinnerLocationCategory" app:layout_constraintHorizontal_bias="0.01" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" app:layout_constraintVertical_bias="0.0" /> <Spinner android:id="@+id/spinnerLocationCategory" android:layout_width="0dp" android:layout_height="50dp" android:layout_marginStart="10dp" android:layout_marginLeft="10dp" android:layout_marginTop="250dp" android:layout_marginEnd="5dp" android:layout_marginRight="5dp" android:layout_marginBottom="8dp" android:spinnerMode="dropdown" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toEndOf="@+id/textLocation" app:layout_constraintTop_toTopOf="parent" app:layout_constraintVertical_bias="0.0" /> <Spinner android:id="@+id/spinnerLocationSubCategory" android:layout_width="0dp" android:layout_height="50dp" android:layout_marginStart="20dp" android:layout_marginLeft="20dp" android:layout_marginTop="25dp" android:layout_marginEnd="5dp" android:layout_marginRight="5dp" android:layout_marginBottom="270dp" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="0.0" app:layout_constraintStart_toEndOf="@+id/textLocation" app:layout_constraintTop_toBottomOf="@+id/spinnerLocationCategory" app:layout_constraintVertical_bias="0.00999999" /> <Button android:id="@+id/buttonUpdate" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center|center_horizontal" android:layout_marginStart="119dp" android:layout_marginLeft="119dp" android:layout_marginTop="530dp" android:layout_marginEnd="111dp" android:layout_marginRight="111dp" android:layout_marginBottom="143dp" android:background="#009688" android:text=" 変 更 " android:textColor="#FAFAFA" android:textSize="36sp" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" /> <Button android:id="@+id/buttonAccomplish" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center|center_horizontal" android:layout_marginStart="120dp" android:layout_marginLeft="120dp" android:layout_marginTop="435dp" android:layout_marginEnd="111dp" android:layout_marginRight="111dp" android:layout_marginBottom="240dp" android:background="#009688" android:text=" 達 成 " android:textColor="#FAFAFA" android:textSize="36sp" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" /> <Button android:id="@+id/buttonDelete" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center|center_horizontal" android:layout_marginStart="120dp" android:layout_marginLeft="120dp" android:layout_marginTop="625dp" android:layout_marginEnd="111dp" android:layout_marginRight="111dp" android:layout_marginBottom="37dp" android:background="#009688" android:text=" 削 除 " android:textColor="#FAFAFA" android:textSize="36sp" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" /> </android.support.constraint.ConstraintLayout>