|
|
@@ -1,6 +1,5 @@
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
-<LinearLayout
|
|
|
- xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+<LinearLayout 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"
|
|
|
@@ -18,7 +17,7 @@
|
|
|
android:id="@+id/toolbar"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- tools:title="@string/book_add_title"/>
|
|
|
+ tools:title="@string/book_add_title" />
|
|
|
|
|
|
</android.support.design.widget.AppBarLayout>
|
|
|
|
|
|
@@ -47,7 +46,7 @@
|
|
|
android:layout_height="wrap_content"
|
|
|
android:hint="@string/book_hint_title"
|
|
|
android:inputType="textCapSentences"
|
|
|
- tools:text="Два капитана"/>
|
|
|
+ tools:text="Два капитана" />
|
|
|
|
|
|
</android.support.design.widget.TextInputLayout>
|
|
|
|
|
|
@@ -66,7 +65,7 @@
|
|
|
android:layout_height="wrap_content"
|
|
|
android:hint="@string/book_hint_author"
|
|
|
android:inputType="textCapWords"
|
|
|
- tools:text="Вениамин Каверин"/>
|
|
|
+ tools:text="Вениамин Каверин" />
|
|
|
|
|
|
</android.support.design.widget.TextInputLayout>
|
|
|
|
|
|
@@ -82,7 +81,7 @@
|
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
|
app:layout_constraintTop_toTopOf="@id/book_title_input"
|
|
|
tools:background="@color/colorAccent"
|
|
|
- tools:visibility="visible"/>
|
|
|
+ tools:visibility="visible" />
|
|
|
|
|
|
<android.support.design.widget.TextInputLayout
|
|
|
android:id="@+id/bookYearInput"
|
|
|
@@ -102,7 +101,7 @@
|
|
|
android:layout_height="wrap_content"
|
|
|
android:hint="@string/book_hint_year"
|
|
|
android:inputType="number"
|
|
|
- tools:text="2012"/>
|
|
|
+ tools:text="2012" />
|
|
|
|
|
|
</android.support.design.widget.TextInputLayout>
|
|
|
|
|
|
@@ -122,7 +121,7 @@
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:hint="@string/book_hint_month"
|
|
|
- android:inputType="number"/>
|
|
|
+ android:inputType="number" />
|
|
|
|
|
|
</android.support.design.widget.TextInputLayout>
|
|
|
|
|
|
@@ -142,7 +141,7 @@
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:hint="@string/book_hint_day"
|
|
|
- android:inputType="number"/>
|
|
|
+ android:inputType="number" />
|
|
|
|
|
|
</android.support.design.widget.TextInputLayout>
|
|
|
|
|
|
@@ -156,7 +155,7 @@
|
|
|
android:text="@string/book_read_checkbox"
|
|
|
android:textSize="16sp"
|
|
|
app:layout_constraintTop_toBottomOf="@id/bookYearInput"
|
|
|
- tools:checked="true"/>
|
|
|
+ tools:checked="true" />
|
|
|
|
|
|
<android.support.v7.widget.AppCompatEditText
|
|
|
android:id="@+id/notesTextArea"
|
|
|
@@ -172,7 +171,7 @@
|
|
|
android:padding="16dp"
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
app:layout_constraintTop_toBottomOf="@id/readCheckbox"
|
|
|
- tools:text="Неистово плюсую"/>
|
|
|
+ tools:text="Неистово плюсую" />
|
|
|
|
|
|
</android.support.constraint.ConstraintLayout>
|
|
|
|