|
@@ -35,11 +35,11 @@
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_margin="16dp"
|
|
android:layout_margin="16dp"
|
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
- app:layout_constraintRight_toLeftOf="@id/cover_image_views"
|
|
|
|
|
|
|
+ app:layout_constraintRight_toLeftOf="@id/coverImageViews"
|
|
|
app:layout_constraintTop_toTopOf="parent">
|
|
app:layout_constraintTop_toTopOf="parent">
|
|
|
|
|
|
|
|
<EditText
|
|
<EditText
|
|
|
- android:id="@+id/book_title_edit_text"
|
|
|
|
|
|
|
+ android:id="@+id/titleEditText"
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
android:hint="@string/book_hint_title"
|
|
android:hint="@string/book_hint_title"
|
|
@@ -54,11 +54,11 @@
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_margin="16dp"
|
|
android:layout_margin="16dp"
|
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
- app:layout_constraintRight_toLeftOf="@id/cover_image_views"
|
|
|
|
|
|
|
+ app:layout_constraintRight_toLeftOf="@id/coverImageViews"
|
|
|
app:layout_constraintTop_toBottomOf="@id/book_title_input">
|
|
app:layout_constraintTop_toBottomOf="@id/book_title_input">
|
|
|
|
|
|
|
|
<EditText
|
|
<EditText
|
|
|
- android:id="@+id/book_author_edit_text"
|
|
|
|
|
|
|
+ android:id="@+id/authorEditText"
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
android:hint="@string/book_hint_author"
|
|
android:hint="@string/book_hint_author"
|
|
@@ -68,7 +68,7 @@
|
|
|
</android.support.design.widget.TextInputLayout>
|
|
</android.support.design.widget.TextInputLayout>
|
|
|
|
|
|
|
|
<android.support.v4.view.ViewPager
|
|
<android.support.v4.view.ViewPager
|
|
|
- android:id="@+id/cover_image_views"
|
|
|
|
|
|
|
+ android:id="@+id/coverImageViews"
|
|
|
android:layout_width="0dp"
|
|
android:layout_width="0dp"
|
|
|
android:layout_height="0dp"
|
|
android:layout_height="0dp"
|
|
|
android:layout_marginEnd="16dp"
|
|
android:layout_marginEnd="16dp"
|
|
@@ -82,19 +82,19 @@
|
|
|
tools:visibility="visible" />
|
|
tools:visibility="visible" />
|
|
|
|
|
|
|
|
<android.support.design.widget.TextInputLayout
|
|
<android.support.design.widget.TextInputLayout
|
|
|
- android:id="@+id/book_year_input"
|
|
|
|
|
|
|
+ android:id="@+id/bookYearInput"
|
|
|
android:layout_width="0dp"
|
|
android:layout_width="0dp"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_margin="16dp"
|
|
android:layout_margin="16dp"
|
|
|
android:visibility="gone"
|
|
android:visibility="gone"
|
|
|
app:layout_constraintHorizontal_chainStyle="packed"
|
|
app:layout_constraintHorizontal_chainStyle="packed"
|
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
- app:layout_constraintRight_toLeftOf="@+id/book_month_input"
|
|
|
|
|
|
|
+ app:layout_constraintRight_toLeftOf="@+id/bookMonthInput"
|
|
|
app:layout_constraintTop_toBottomOf="@id/book_author_input"
|
|
app:layout_constraintTop_toBottomOf="@id/book_author_input"
|
|
|
tools:visibility="visible">
|
|
tools:visibility="visible">
|
|
|
|
|
|
|
|
<EditText
|
|
<EditText
|
|
|
- android:id="@+id/book_year_edit_text"
|
|
|
|
|
|
|
+ android:id="@+id/yearEditText"
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
android:hint="@string/book_hint_year"
|
|
android:hint="@string/book_hint_year"
|
|
@@ -104,18 +104,18 @@
|
|
|
</android.support.design.widget.TextInputLayout>
|
|
</android.support.design.widget.TextInputLayout>
|
|
|
|
|
|
|
|
<android.support.design.widget.TextInputLayout
|
|
<android.support.design.widget.TextInputLayout
|
|
|
- android:id="@+id/book_month_input"
|
|
|
|
|
|
|
+ android:id="@+id/bookMonthInput"
|
|
|
android:layout_width="0dp"
|
|
android:layout_width="0dp"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_margin="16dp"
|
|
android:layout_margin="16dp"
|
|
|
android:visibility="gone"
|
|
android:visibility="gone"
|
|
|
- app:layout_constraintLeft_toRightOf="@id/book_year_input"
|
|
|
|
|
- app:layout_constraintRight_toLeftOf="@+id/book_day_input"
|
|
|
|
|
|
|
+ app:layout_constraintLeft_toRightOf="@id/bookYearInput"
|
|
|
|
|
+ app:layout_constraintRight_toLeftOf="@+id/bookDayInput"
|
|
|
app:layout_constraintTop_toBottomOf="@id/book_author_input"
|
|
app:layout_constraintTop_toBottomOf="@id/book_author_input"
|
|
|
tools:visibility="visible">
|
|
tools:visibility="visible">
|
|
|
|
|
|
|
|
<EditText
|
|
<EditText
|
|
|
- android:id="@+id/book_month_edit_text"
|
|
|
|
|
|
|
+ android:id="@+id/monthEditText"
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
android:hint="@string/book_hint_month"
|
|
android:hint="@string/book_hint_month"
|
|
@@ -124,18 +124,18 @@
|
|
|
</android.support.design.widget.TextInputLayout>
|
|
</android.support.design.widget.TextInputLayout>
|
|
|
|
|
|
|
|
<android.support.design.widget.TextInputLayout
|
|
<android.support.design.widget.TextInputLayout
|
|
|
- android:id="@+id/book_day_input"
|
|
|
|
|
|
|
+ android:id="@+id/bookDayInput"
|
|
|
android:layout_width="0dp"
|
|
android:layout_width="0dp"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_margin="16dp"
|
|
android:layout_margin="16dp"
|
|
|
android:visibility="gone"
|
|
android:visibility="gone"
|
|
|
- app:layout_constraintLeft_toRightOf="@id/book_month_input"
|
|
|
|
|
|
|
+ app:layout_constraintLeft_toRightOf="@id/bookMonthInput"
|
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
|
app:layout_constraintTop_toBottomOf="@id/book_author_input"
|
|
app:layout_constraintTop_toBottomOf="@id/book_author_input"
|
|
|
tools:visibility="visible">
|
|
tools:visibility="visible">
|
|
|
|
|
|
|
|
<EditText
|
|
<EditText
|
|
|
- android:id="@+id/book_day_edit_text"
|
|
|
|
|
|
|
+ android:id="@+id/dayEditText"
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
android:hint="@string/book_hint_day"
|
|
android:hint="@string/book_hint_day"
|
|
@@ -144,7 +144,7 @@
|
|
|
</android.support.design.widget.TextInputLayout>
|
|
</android.support.design.widget.TextInputLayout>
|
|
|
|
|
|
|
|
<CheckBox
|
|
<CheckBox
|
|
|
- android:id="@+id/book_read_checkbox"
|
|
|
|
|
|
|
+ android:id="@+id/readCheckbox"
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_margin="16dp"
|
|
android:layout_margin="16dp"
|
|
@@ -152,7 +152,7 @@
|
|
|
android:paddingStart="8dp"
|
|
android:paddingStart="8dp"
|
|
|
android:text="@string/book_read_checkbox"
|
|
android:text="@string/book_read_checkbox"
|
|
|
android:textSize="16sp"
|
|
android:textSize="16sp"
|
|
|
- app:layout_constraintTop_toBottomOf="@id/book_year_input"
|
|
|
|
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/bookYearInput"
|
|
|
tools:checked="true" />
|
|
tools:checked="true" />
|
|
|
|
|
|
|
|
<android.support.design.widget.TextInputLayout
|
|
<android.support.design.widget.TextInputLayout
|
|
@@ -160,10 +160,10 @@
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_margin="16dp"
|
|
android:layout_margin="16dp"
|
|
|
- app:layout_constraintTop_toBottomOf="@id/book_read_checkbox">
|
|
|
|
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/readCheckbox">
|
|
|
|
|
|
|
|
<EditText
|
|
<EditText
|
|
|
- android:id="@+id/notes_text_area"
|
|
|
|
|
|
|
+ android:id="@+id/notesTextArea"
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
android:hint="@string/book_hint_notes"
|
|
android:hint="@string/book_hint_notes"
|