127 lines
4.9 KiB
XML
127 lines
4.9 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:foreground="?attr/selectableItemBackground"
|
|
android:layout_marginBottom="10dp">
|
|
|
|
<ImageView
|
|
android:id="@+id/manga_cover"
|
|
android:layout_width="100dp"
|
|
android:adjustViewBounds="true"
|
|
android:layout_height="150dp"
|
|
android:contentDescription="@string/description_cover"
|
|
android:background="@drawable/rounded_rectangle"
|
|
android:src="@mipmap/ic_launcher"/>
|
|
</FrameLayout>
|
|
|
|
<Button
|
|
android:id="@+id/reset_cover"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
style="@style/Theme.Widget.Button.FilledAccent"
|
|
android:textAllCaps="false"
|
|
android:layout_gravity="center"
|
|
android:layout_marginEnd="16dp"
|
|
android:layout_marginStart="16dp"
|
|
android:text="@string/reset_cover" />
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
style="@style/Theme.Widget.TextInputLayout.OutlinedBox.Dense"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="16dp"
|
|
android:layout_marginEnd="16dp">
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
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/Theme.Widget.TextInputLayout.OutlinedBox.Dense"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="16dp"
|
|
android:layout_marginEnd="16dp">
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
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/Theme.Widget.TextInputLayout.OutlinedBox.Dense"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="16dp"
|
|
android:layout_marginEnd="16dp">
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
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/Theme.Widget.TextInputLayout.OutlinedBox.Dense"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="16dp"
|
|
android:layout_marginEnd="16dp">
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
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_marginEnd="16dp"
|
|
android:layout_marginStart="16dp"
|
|
android:layout_marginTop="8dp"
|
|
android:layout_marginBottom="8dp" />
|
|
|
|
<Button
|
|
android:id="@+id/reset_tags"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
style="@style/Theme.Widget.Button.FilledAccent"
|
|
android:textAllCaps="false"
|
|
android:layout_marginEnd="16dp"
|
|
android:layout_marginStart="16dp"
|
|
android:text="@string/reset_tags" />
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="1dp"
|
|
android:background="?android:attr/divider"/>
|
|
|
|
</LinearLayout> |