|
|
@ -12,7 +12,56 @@ |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
app:title="@string/book_info_edit" /> |
|
|
|
app:title="@string/book_info_edit" /> |
|
|
|
|
|
|
|
|
|
|
|
<ScrollView |
|
|
|
<LinearLayout |
|
|
|
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
|
|
|
android:orientation="horizontal" |
|
|
|
|
|
|
|
android:padding="5dp"> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<io.legado.app.ui.widget.image.CoverImageView |
|
|
|
|
|
|
|
android:id="@+id/iv_cover" |
|
|
|
|
|
|
|
android:layout_width="90dp" |
|
|
|
|
|
|
|
android:layout_height="126dp" |
|
|
|
|
|
|
|
android:contentDescription="@string/img_cover" |
|
|
|
|
|
|
|
android:scaleType="centerCrop" |
|
|
|
|
|
|
|
android:src="@drawable/image_cover_default" /> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout |
|
|
|
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
|
|
|
android:layout_height="match_parent" |
|
|
|
|
|
|
|
android:orientation="vertical" |
|
|
|
|
|
|
|
android:padding="5dp"> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<io.legado.app.ui.widget.text.TextInputLayout |
|
|
|
|
|
|
|
android:id="@+id/til_book_name" |
|
|
|
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
|
|
|
android:hint="@string/book_name"> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<io.legado.app.lib.theme.view.ThemeEditText |
|
|
|
|
|
|
|
android:id="@+id/tie_book_name" |
|
|
|
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
|
|
|
android:singleLine="true" /> |
|
|
|
|
|
|
|
</io.legado.app.ui.widget.text.TextInputLayout> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<io.legado.app.ui.widget.text.TextInputLayout |
|
|
|
|
|
|
|
android:id="@+id/til_book_author" |
|
|
|
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
|
|
|
android:hint="@string/author"> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<io.legado.app.lib.theme.view.ThemeEditText |
|
|
|
|
|
|
|
android:id="@+id/tie_book_author" |
|
|
|
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
|
|
|
android:singleLine="true" /> |
|
|
|
|
|
|
|
</io.legado.app.ui.widget.text.TextInputLayout> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</LinearLayout> |
|
|
|
|
|
|
|
</LinearLayout> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<androidx.core.widget.NestedScrollView |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="wrap_content"> |
|
|
|
android:layout_height="wrap_content"> |
|
|
|
|
|
|
|
|
|
|
@ -21,54 +70,27 @@ |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:orientation="vertical"> |
|
|
|
android:orientation="vertical"> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout |
|
|
|
<LinearLayout |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:orientation="horizontal" |
|
|
|
android:orientation="horizontal" |
|
|
|
android:padding="5dp"> |
|
|
|
android:layout_gravity="center_vertical"> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
|
|
|
android:text="@string/book_type" |
|
|
|
|
|
|
|
android:layout_marginLeft="12dp" |
|
|
|
|
|
|
|
android:layout_marginRight="3dp" |
|
|
|
|
|
|
|
tools:ignore="RtlHardcoded" /> |
|
|
|
|
|
|
|
|
|
|
|
<io.legado.app.ui.widget.image.CoverImageView |
|
|
|
<androidx.appcompat.widget.AppCompatSpinner |
|
|
|
android:id="@+id/iv_cover" |
|
|
|
android:id="@+id/sp_type" |
|
|
|
android:layout_width="90dp" |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="126dp" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:contentDescription="@string/img_cover" |
|
|
|
android:entries="@array/book_type" |
|
|
|
android:scaleType="centerCrop" |
|
|
|
app:theme="@style/Spinner" /> |
|
|
|
android:src="@drawable/image_cover_default" /> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout |
|
|
|
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
|
|
|
android:layout_height="match_parent" |
|
|
|
|
|
|
|
android:orientation="vertical" |
|
|
|
|
|
|
|
android:padding="5dp"> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<io.legado.app.ui.widget.text.TextInputLayout |
|
|
|
|
|
|
|
android:id="@+id/til_book_name" |
|
|
|
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
|
|
|
android:hint="@string/book_name"> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<io.legado.app.lib.theme.view.ThemeEditText |
|
|
|
|
|
|
|
android:id="@+id/tie_book_name" |
|
|
|
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
|
|
|
android:singleLine="true" /> |
|
|
|
|
|
|
|
</io.legado.app.ui.widget.text.TextInputLayout> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<io.legado.app.ui.widget.text.TextInputLayout |
|
|
|
|
|
|
|
android:id="@+id/til_book_author" |
|
|
|
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
|
|
|
android:hint="@string/author"> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<io.legado.app.lib.theme.view.ThemeEditText |
|
|
|
|
|
|
|
android:id="@+id/tie_book_author" |
|
|
|
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
|
|
|
android:singleLine="true" /> |
|
|
|
|
|
|
|
</io.legado.app.ui.widget.text.TextInputLayout> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</LinearLayout> |
|
|
|
|
|
|
|
</LinearLayout> |
|
|
|
</LinearLayout> |
|
|
|
|
|
|
|
|
|
|
|
<io.legado.app.ui.widget.text.TextInputLayout |
|
|
|
<io.legado.app.ui.widget.text.TextInputLayout |
|
|
@ -132,6 +154,6 @@ |
|
|
|
</io.legado.app.ui.widget.text.TextInputLayout> |
|
|
|
</io.legado.app.ui.widget.text.TextInputLayout> |
|
|
|
|
|
|
|
|
|
|
|
</LinearLayout> |
|
|
|
</LinearLayout> |
|
|
|
</ScrollView> |
|
|
|
</androidx.core.widget.NestedScrollView> |
|
|
|
|
|
|
|
|
|
|
|
</LinearLayout> |
|
|
|
</LinearLayout> |