<?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.CreateBookFragment"> <androidx.constraintlayout.widget.ConstraintLayout android:layout_width="match_parent" android:layout_height="match_parent" android:background="#FFFFFF"> <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/color_button" android:layout_width="412dp" android:layout_height="67dp" android:backgroundTint="#FFD1D1D1" android:text="色を選択する" android:textAlignment="center" android:textColor="#296DC1" 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" /> <EditText android:id="@+id/book_name" android:layout_width="412dp" android:layout_height="69dp" android:background="#4DE2FAD4" android:hint="本の名前" android:textAlignment="center" android:inputType="text" app:layout_constraintBottom_toBottomOf="parent" 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="0.255" /> <TextView android:id="@+id/set_book_name" android:layout_width="231dp" android:layout_height="23dp" android:textAlignment="center" android:textColor="#FF0000" 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.348" /> </androidx.constraintlayout.widget.ConstraintLayout> </FrameLayout>