<?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" tools:context=".views.CreateBookFragment"> <androidx.constraintlayout.widget.ConstraintLayout android:layout_width="match_parent" android:layout_height="match_parent"> <Button android:id="@+id/save_button" android:layout_width="wrap_content" android:layout_height="wrap_content" android:background="#ECFDE3" android:text="保存" android:textColor="#296DC1" app:backgroundTint="#EDFDE4" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="0.9" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" app:layout_constraintVertical_bias="0.099" /> <Button android:id="@+id/cancel_button" android:layout_width="wrap_content" android:layout_height="wrap_content" android:background="#C6F6A9" android:text="キャンセル" android:textAlignment="center" android:textColor="#296DC1" app:backgroundTint="#EDFDE4" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="0.100" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" app:layout_constraintVertical_bias="0.10" /> <Button android:id="@+id/button4" android:layout_width="413dp" android:layout_height="58dp" android:background="#C6F6A9" android:text="色を選択する" android:textAlignment="center" android:textColor="#296DC1" app:backgroundTint="#EDFDE4" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" app:layout_constraintVertical_bias="0.43" /> <TextView android:id="@+id/textView4" android:layout_width="143dp" android:layout_height="38dp" android:text="本を公開" android:textAlignment="center" android:textColor="#296DC1" android:textSize="16sp" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="0.059" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" app:layout_constraintVertical_bias="0.575" /> <Switch android:id="@+id/switch1" android:layout_width="56dp" android:layout_height="70dp" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="0.774" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" app:layout_constraintVertical_bias="0.571" /> <com.google.android.material.textfield.TextInputEditText android:id="@+id/book_name" android:layout_width="414dp" android:layout_height="75dp" android:background="#4DE2FAD4" android:hint="本の名前" android:textAlignment="center" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="0.666" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" app:layout_constraintVertical_bias="0.265" /> </androidx.constraintlayout.widget.ConstraintLayout> </FrameLayout>