* More themes cleanup * Tweak some things * Fix 'Clear History' icon * Split out ripple colored to its own drawable * Tidy up things * Unify background dim amount * Use primaryColor for Account login button * More colored ripples * use colorOnPrimary for selected comfortable library item title Co-authored-by: Soitora <simon.mattila@protonmail.com> (cherry picked from commit 932c92412c29fe4a8d1410d29a6e77557ad48707) # Conflicts: # app/src/main/res/layout-sw720dp/manga_info_header.xml # app/src/main/res/layout/manga_info_header.xml # app/src/main/res/layout/reader_activity.xml # app/src/main/res/menu/library_selection.xml # app/src/main/res/menu/reader.xml # app/src/main/res/values/colors.xml # app/src/main/res/values/dimens.xml
132 lines
5.0 KiB
XML
132 lines
5.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: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"
|
|
android:scaleType="centerCrop"/>
|
|
</FrameLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:gravity="center">
|
|
|
|
<androidx.appcompat.widget.AppCompatSpinner
|
|
android:id="@+id/status"
|
|
android:minHeight="48dp"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent" />
|
|
|
|
</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_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/Widget.MaterialComponents.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/Widget.MaterialComponents.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/Widget.MaterialComponents.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"
|
|
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> |