<?xml version="1.0" encoding="utf-8"?> <FrameLayout 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" android:backgroundTint="#00FFFFFF" tools:context=".views.CreateTodoFragment"> <androidx.constraintlayout.widget.ConstraintLayout android:layout_width="match_parent" android:layout_height="match_parent" android:background="#FFFFFF"> <Button android:id="@+id/todo_cancel_button" android:layout_width="121dp" android:layout_height="43dp" android:background="#00A9F6BA" android:text="キャンセル" android:textAlignment="center" android:textColor="#44A87D" android:textSize="16sp" android:textStyle="bold" app:backgroundTint="#EDFDE4" app:layout_constraintBottom_toTopOf="@+id/textView6" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="0.0" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" app:layout_constraintVertical_bias="0.0" /> <Button android:id="@+id/todo_create_button" android:layout_width="121dp" android:layout_height="43dp" android:background="#00A9F6BA" android:text="追加" android:textAlignment="center" android:textColor="#44A87D" android:textSize="16sp" android:textStyle="bold" app:backgroundTint="#EDFDE4" app:layout_constraintBottom_toTopOf="@+id/textView6" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="1.0" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" app:layout_constraintVertical_bias="1.0" /> <View android:id="@+id/divider" android:layout_width="0dp" android:layout_height="1dp" android:layout_marginTop="10dp" android:background="#72000000" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="0.0" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@+id/textView6" /> <TextView android:id="@+id/textView6" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginStart="50dp" android:layout_marginEnd="340dp" android:text="|" android:textColor="#44A87D" android:textSize="34sp" app:layout_constraintBottom_toTopOf="@id/divider" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="0.461" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/todo_cancel_button" /> <EditText android:id="@+id/todo_title_inputField" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_marginStart="10dp" android:background="@android:color/transparent" android:hint="タイトル" android:inputType="text" android:padding="8dp" android:textColor="#000000" android:textColorHint="#AEAEAE" android:textSize="22sp" app:layout_constraintBottom_toBottomOf="@id/textView6" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="0.0" app:layout_constraintStart_toEndOf="@id/textView6" app:layout_constraintTop_toTopOf="@id/textView6" app:layout_constraintVertical_bias="0.0" /> <View android:id="@+id/gray_rectangle" android:layout_width="0dp" android:layout_height="30dp" android:layout_marginStart="32dp" android:layout_marginTop="4dp" android:layout_marginEnd="32dp" android:layout_marginBottom="4dp" android:background="@drawable/rounded_gray_rectangle" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="0.0" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/divider" app:layout_constraintVertical_bias="0.132" /> <NumberPicker android:id="@+id/numberPickerYear" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_marginStart="32dp" android:layout_marginEnd="8dp" android:background="@android:color/transparent" android:dividerHeight="0dp" app:layout_constraintBottom_toTopOf="@id/divider" app:layout_constraintEnd_toStartOf="@id/numberPickerMonth" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/gray_rectangle" app:layout_constraintVertical_bias="0.357" /> <NumberPicker android:id="@+id/numberPickerMonth" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_marginStart="8dp" android:layout_marginEnd="8dp" android:background="@android:color/transparent" android:dividerHeight="0dp" app:layout_constraintBottom_toTopOf="@id/divider" app:layout_constraintEnd_toStartOf="@id/numberPickerDay" app:layout_constraintStart_toEndOf="@id/numberPickerYear" app:layout_constraintTop_toBottomOf="@id/gray_rectangle" app:layout_constraintVertical_bias="0.357" /> <NumberPicker android:id="@+id/numberPickerDay" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_marginStart="8dp" android:layout_marginEnd="32dp" android:background="@android:color/transparent" android:dividerHeight="0dp" app:layout_constraintBottom_toTopOf="@id/divider" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toEndOf="@id/numberPickerMonth" app:layout_constraintTop_toBottomOf="@id/gray_rectangle" app:layout_constraintVertical_bias="0.357" /> <View android:id="@+id/divider2" android:layout_width="0dp" android:layout_height="1dp" android:layout_marginTop="88dp" android:background="#72000000" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="0.0" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@+id/gray_rectangle" /> <Spinner android:id="@+id/select_book_spinner" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="29dp" android:layout_marginBottom="30dp" app:layout_constraintBottom_toTopOf="@+id/divider3" app:layout_constraintTop_toBottomOf="@+id/divider2" app:layout_constraintVertical_bias="0.0" tools:layout_editor_absoluteX="0dp" /> <View android:id="@+id/divider3" android:layout_width="0dp" android:layout_height="1dp" android:layout_marginTop="172dp" android:background="#72000000" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="0.0" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@+id/gray_rectangle" /> </androidx.constraintlayout.widget.ConstraintLayout> </FrameLayout>