|
@@ -36,6 +36,7 @@
|
|
|
style="@style/TextInputLayoutStyle"
|
|
style="@style/TextInputLayoutStyle"
|
|
|
android:layout_width="0dp"
|
|
android:layout_width="0dp"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_marginTop="16dp"
|
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
app:layout_constraintRight_toLeftOf="@id/coverImageViews"
|
|
app:layout_constraintRight_toLeftOf="@id/coverImageViews"
|
|
|
app:layout_constraintTop_toTopOf="parent">
|
|
app:layout_constraintTop_toTopOf="parent">
|
|
@@ -55,6 +56,7 @@
|
|
|
style="@style/TextInputLayoutStyle"
|
|
style="@style/TextInputLayoutStyle"
|
|
|
android:layout_width="0dp"
|
|
android:layout_width="0dp"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_marginTop="16dp"
|
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
app:layout_constraintRight_toLeftOf="@id/coverImageViews"
|
|
app:layout_constraintRight_toLeftOf="@id/coverImageViews"
|
|
|
app:layout_constraintTop_toBottomOf="@id/book_title_input">
|
|
app:layout_constraintTop_toBottomOf="@id/book_title_input">
|
|
@@ -83,6 +85,14 @@
|
|
|
tools:background="@color/colorAccent"
|
|
tools:background="@color/colorAccent"
|
|
|
tools:visibility="visible" />
|
|
tools:visibility="visible" />
|
|
|
|
|
|
|
|
|
|
+ <android.support.v7.widget.AppCompatSeekBar
|
|
|
|
|
+ android:id="@+id/progressSeekBar"
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:padding="16dp"
|
|
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/book_author_input"
|
|
|
|
|
+ tools:progress="20" />
|
|
|
|
|
+
|
|
|
<android.support.design.widget.TextInputLayout
|
|
<android.support.design.widget.TextInputLayout
|
|
|
android:id="@+id/bookYearInput"
|
|
android:id="@+id/bookYearInput"
|
|
|
style="@style/TextInputLayoutStyle"
|
|
style="@style/TextInputLayoutStyle"
|
|
@@ -91,7 +101,7 @@
|
|
|
app:layout_constraintHorizontal_chainStyle="spread_inside"
|
|
app:layout_constraintHorizontal_chainStyle="spread_inside"
|
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
app:layout_constraintRight_toLeftOf="@+id/bookMonthInput"
|
|
app:layout_constraintRight_toLeftOf="@+id/bookMonthInput"
|
|
|
- app:layout_constraintTop_toBottomOf="@id/book_author_input">
|
|
|
|
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/progressSeekBar">
|
|
|
|
|
|
|
|
<EditText
|
|
<EditText
|
|
|
android:id="@+id/yearEditText"
|
|
android:id="@+id/yearEditText"
|
|
@@ -110,7 +120,7 @@
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
app:layout_constraintLeft_toRightOf="@id/bookYearInput"
|
|
app:layout_constraintLeft_toRightOf="@id/bookYearInput"
|
|
|
app:layout_constraintRight_toLeftOf="@+id/bookDayInput"
|
|
app:layout_constraintRight_toLeftOf="@+id/bookDayInput"
|
|
|
- app:layout_constraintTop_toBottomOf="@id/book_author_input">
|
|
|
|
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/progressSeekBar">
|
|
|
|
|
|
|
|
<EditText
|
|
<EditText
|
|
|
android:id="@+id/monthEditText"
|
|
android:id="@+id/monthEditText"
|
|
@@ -128,7 +138,7 @@
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
app:layout_constraintLeft_toRightOf="@id/bookMonthInput"
|
|
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/progressSeekBar">
|
|
|
|
|
|
|
|
<EditText
|
|
<EditText
|
|
|
android:id="@+id/dayEditText"
|
|
android:id="@+id/dayEditText"
|
|
@@ -139,32 +149,6 @@
|
|
|
|
|
|
|
|
</android.support.design.widget.TextInputLayout>
|
|
</android.support.design.widget.TextInputLayout>
|
|
|
|
|
|
|
|
- <CheckBox
|
|
|
|
|
- android:id="@+id/readCheckbox"
|
|
|
|
|
- android:layout_width="0dp"
|
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:layout_marginBottom="16dp"
|
|
|
|
|
- android:layout_marginEnd="9dp"
|
|
|
|
|
- android:layout_marginStart="9dp"
|
|
|
|
|
- android:layout_marginTop="16dp"
|
|
|
|
|
- android:paddingEnd="8dp"
|
|
|
|
|
- android:paddingStart="8dp"
|
|
|
|
|
- android:text="@string/book_read_checkbox"
|
|
|
|
|
- android:textSize="16sp"
|
|
|
|
|
- app:layout_constraintLeft_toLeftOf="parent"
|
|
|
|
|
- app:layout_constraintTop_toBottomOf="@id/bookYearInput"
|
|
|
|
|
- tools:checked="true" />
|
|
|
|
|
-
|
|
|
|
|
- <android.support.v7.widget.AppCompatSeekBar
|
|
|
|
|
- android:id="@+id/progressSeekBar"
|
|
|
|
|
- android:layout_width="0dp"
|
|
|
|
|
- android:layout_height="0dp"
|
|
|
|
|
- app:layout_constraintBottom_toBottomOf="@id/readCheckbox"
|
|
|
|
|
- app:layout_constraintLeft_toRightOf="@id/readCheckbox"
|
|
|
|
|
- app:layout_constraintRight_toRightOf="parent"
|
|
|
|
|
- app:layout_constraintTop_toTopOf="@id/readCheckbox"
|
|
|
|
|
- tools:progress="20" />
|
|
|
|
|
-
|
|
|
|
|
<android.support.v7.widget.AppCompatEditText
|
|
<android.support.v7.widget.AppCompatEditText
|
|
|
android:id="@+id/notesTextArea"
|
|
android:id="@+id/notesTextArea"
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
@@ -178,7 +162,7 @@
|
|
|
android:minLines="2"
|
|
android:minLines="2"
|
|
|
android:padding="16dp"
|
|
android:padding="16dp"
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
- app:layout_constraintTop_toBottomOf="@id/readCheckbox"
|
|
|
|
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/bookYearInput"
|
|
|
tools:text="Неистово плюсую" />
|
|
tools:text="Неистово плюсую" />
|
|
|
|
|
|
|
|
<android.support.constraint.Group
|
|
<android.support.constraint.Group
|