|
|
@@ -3,7 +3,8 @@
|
|
|
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:layout_height="match_parent"
|
|
|
+ android:animateLayoutChanges="true">
|
|
|
|
|
|
<android.support.design.widget.AppBarLayout
|
|
|
android:id="@+id/app_bar_layout"
|
|
|
@@ -57,9 +58,11 @@
|
|
|
android:layout_width="0dp"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_margin="16dp"
|
|
|
+ android:visibility="gone"
|
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
app:layout_constraintRight_toLeftOf="@+id/book_month_input"
|
|
|
- app:layout_constraintTop_toBottomOf="@id/book_author_input">
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/book_author_input"
|
|
|
+ tools:visibility="visible">
|
|
|
|
|
|
<EditText
|
|
|
android:layout_width="match_parent"
|
|
|
@@ -75,9 +78,11 @@
|
|
|
android:layout_width="0dp"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_margin="16dp"
|
|
|
+ android:visibility="gone"
|
|
|
app:layout_constraintLeft_toRightOf="@id/book_year_input"
|
|
|
app:layout_constraintRight_toLeftOf="@+id/book_day_input"
|
|
|
- app:layout_constraintTop_toBottomOf="@id/book_author_input">
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/book_author_input"
|
|
|
+ tools:visibility="visible">
|
|
|
|
|
|
<EditText
|
|
|
android:layout_width="match_parent"
|
|
|
@@ -92,9 +97,11 @@
|
|
|
android:layout_width="0dp"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_margin="16dp"
|
|
|
+ android:visibility="gone"
|
|
|
app:layout_constraintLeft_toRightOf="@id/book_month_input"
|
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
|
- app:layout_constraintTop_toBottomOf="@id/book_author_input">
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/book_author_input"
|
|
|
+ tools:visibility="visible">
|
|
|
|
|
|
<EditText
|
|
|
android:layout_width="match_parent"
|
|
|
@@ -109,12 +116,12 @@
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_margin="16dp"
|
|
|
- android:checked="true"
|
|
|
android:paddingEnd="8dp"
|
|
|
android:paddingStart="8dp"
|
|
|
android:text="@string/book_read_checkbox"
|
|
|
android:textSize="16sp"
|
|
|
- app:layout_constraintTop_toBottomOf="@id/book_year_input" />
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/book_year_input"
|
|
|
+ tools:checked="true" />
|
|
|
|
|
|
<ImageView
|
|
|
android:layout_width="0dp"
|