
* Add option to reset custom manga info * Remove extra line * Update app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryScreenModel.kt --------- Co-authored-by: jobobby04 <jobobby04@users.noreply.github.com>
158 lines
6.0 KiB
XML
158 lines
6.0 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical">
|
|
|
|
<FrameLayout
|
|
android:id="@+id/cover_layout"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:layout_marginVertical="15dp"
|
|
android:foreground="?attr/selectableItemBackground">
|
|
|
|
<ImageView
|
|
android:id="@+id/manga_cover"
|
|
android:layout_width="100dp"
|
|
android:layout_height="150dp"
|
|
android:adjustViewBounds="true"
|
|
android:background="@drawable/rounded_rectangle"
|
|
android:scaleType="centerCrop"
|
|
android:src="@mipmap/ic_launcher" />
|
|
</FrameLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center"
|
|
android:orientation="horizontal">
|
|
|
|
<Spinner
|
|
android:id="@+id/status"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:minHeight="48dp" />
|
|
|
|
</LinearLayout>
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="16dp"
|
|
android:layout_marginTop="8dp"
|
|
android:layout_marginEnd="16dp">
|
|
|
|
<eu.kanade.tachiyomi.widget.TachiyomiTextInputEditText
|
|
android:id="@+id/title"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:inputType="text"
|
|
android:maxLines="1"
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Body1" />
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="16dp"
|
|
android:layout_marginEnd="16dp">
|
|
|
|
<eu.kanade.tachiyomi.widget.TachiyomiTextInputEditText
|
|
android:id="@+id/manga_author"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:inputType="text"
|
|
android:maxLines="1"
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Body1" />
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="16dp"
|
|
android:layout_marginEnd="16dp">
|
|
|
|
<eu.kanade.tachiyomi.widget.TachiyomiTextInputEditText
|
|
android:id="@+id/manga_artist"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:inputType="text"
|
|
android:maxLines="1"
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Body1" />
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="16dp"
|
|
android:layout_marginEnd="16dp">
|
|
|
|
<eu.kanade.tachiyomi.widget.TachiyomiTextInputEditText
|
|
android:id="@+id/thumbnail_url"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:inputType="text|textMultiLine"
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Body1" />
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="16dp"
|
|
android:layout_marginEnd="16dp">
|
|
|
|
<eu.kanade.tachiyomi.widget.TachiyomiTextInputEditText
|
|
android:id="@+id/manga_description"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:inputType="text|textMultiLine"
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Body1" />
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
<com.google.android.material.chip.ChipGroup
|
|
android:id="@+id/manga_genres_tags"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_horizontal"
|
|
android:layout_marginStart="16dp"
|
|
android:layout_marginTop="12dp"
|
|
android:layout_marginEnd="16dp"
|
|
android:layout_marginBottom="12dp" />
|
|
|
|
<Button
|
|
android:id="@+id/reset_tags"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="16dp"
|
|
android:layout_marginEnd="16dp"
|
|
android:layout_marginBottom="8dp"
|
|
android:text="@string/reset_tags"
|
|
android:textAllCaps="false" />
|
|
|
|
<Button
|
|
android:id="@+id/reset_info"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="16dp"
|
|
android:layout_marginEnd="16dp"
|
|
android:layout_marginBottom="8dp"
|
|
android:text="@string/reset_info"
|
|
android:textAllCaps="false" />
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="1dp"
|
|
android:background="?android:attr/divider" />
|
|
|
|
</LinearLayout>
|