mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-16 00:15:07 +01:00
4e33b93c08
Download 3 dots hidden when theres a single chapter downloading Recents now shows the chapter as the title, manga as subtitle Library List view: moved start reading button outside of the manga Reenabled freeform covers Also never commited the fast scroll the gradle, oops
186 lines
8.3 KiB
XML
186 lines
8.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:id="@+id/diplay_bottom_sheet"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<androidx.core.widget.NestedScrollView
|
|
android:id="@+id/settings_scroll_view"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/bottom_sheet"
|
|
style="@style/BottomSheetDialogTheme"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="@drawable/bg_bottom_sheet_dialog_fragment"
|
|
android:orientation="vertical"
|
|
android:paddingTop="12dp"
|
|
app:layout_behavior="com.google.android.material.bottomsheet.BottomSheetBehavior">
|
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
style="@style/TextAppearance.MaterialComponents.Headline6"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingStart="16dp"
|
|
android:paddingEnd="12dp"
|
|
android:text="@string/display_as" />
|
|
|
|
<RadioGroup
|
|
android:id="@+id/display_group"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:paddingStart="12dp"
|
|
android:paddingEnd="12dp">
|
|
|
|
<com.google.android.material.radiobutton.MaterialRadioButton
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/action_display_list" />
|
|
|
|
<com.google.android.material.radiobutton.MaterialRadioButton
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="12dp"
|
|
android:text="@string/action_display_grid" />
|
|
|
|
<com.google.android.material.radiobutton.MaterialRadioButton
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="12dp"
|
|
android:text="@string/action_display_comfy_grid" />
|
|
</RadioGroup>
|
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
style="@style/TextAppearance.MaterialComponents.Headline6"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="12dp"
|
|
android:paddingStart="16dp"
|
|
android:paddingEnd="12dp"
|
|
android:text="@string/grid_options" />
|
|
|
|
<RadioGroup
|
|
android:id="@+id/grid_size_toggle_group"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="12dp"
|
|
android:layout_marginEnd="12dp"
|
|
android:orientation="horizontal">
|
|
|
|
<com.google.android.material.radiobutton.MaterialRadioButton
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/small" />
|
|
|
|
<com.google.android.material.radiobutton.MaterialRadioButton
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="12dp"
|
|
android:text="@string/medium" />
|
|
|
|
<com.google.android.material.radiobutton.MaterialRadioButton
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="12dp"
|
|
android:text="@string/large" />
|
|
</RadioGroup>
|
|
|
|
<com.google.android.material.checkbox.MaterialCheckBox
|
|
android:id="@+id/uniform_grid"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="12dp"
|
|
android:layout_marginEnd="12dp"
|
|
android:text="@string/uniform_grid" />
|
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
style="@style/TextAppearance.MaterialComponents.Headline6"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="12dp"
|
|
android:paddingStart="16dp"
|
|
android:paddingEnd="12dp"
|
|
android:text="@string/action_display_unread_badge" />
|
|
|
|
<RadioGroup
|
|
android:id="@+id/unread_badge_group"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:paddingStart="12dp"
|
|
android:paddingEnd="12dp">
|
|
|
|
<com.google.android.material.radiobutton.MaterialRadioButton
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:maxLines="2"
|
|
android:text="@string/hide_badges" />
|
|
|
|
<com.google.android.material.radiobutton.MaterialRadioButton
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="12dp"
|
|
android:maxLines="2"
|
|
android:text="@string/show_badges" />
|
|
|
|
<com.google.android.material.radiobutton.MaterialRadioButton
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="12dp"
|
|
android:maxLines="2"
|
|
android:text="@string/show_count" />
|
|
</RadioGroup>
|
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
style="@style/TextAppearance.MaterialComponents.Headline6"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="12dp"
|
|
android:paddingStart="16dp"
|
|
android:paddingEnd="12dp"
|
|
android:text="@string/more" />
|
|
|
|
<com.google.android.material.checkbox.MaterialCheckBox
|
|
android:id="@+id/download_badge"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="12dp"
|
|
android:layout_marginEnd="12dp"
|
|
android:text="@string/action_display_download_badge" />
|
|
|
|
<com.google.android.material.checkbox.MaterialCheckBox
|
|
android:id="@+id/autohide_seeker"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="12dp"
|
|
android:layout_marginEnd="12dp"
|
|
android:text="@string/auto_hide_category_seeker" />
|
|
|
|
<com.google.android.material.checkbox.MaterialCheckBox
|
|
android:id="@+id/hide_filters"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="12dp"
|
|
android:layout_marginEnd="12dp"
|
|
android:text="@string/action_start_filters_hidden" />
|
|
</LinearLayout>
|
|
</androidx.core.widget.NestedScrollView>
|
|
|
|
<ImageView
|
|
android:id="@+id/close_button"
|
|
android:layout_width="32dp"
|
|
android:layout_height="32dp"
|
|
android:layout_gravity="end"
|
|
android:layout_marginTop="12dp"
|
|
android:layout_marginEnd="12dp"
|
|
android:background="@drawable/round_ripple"
|
|
android:clickable="true"
|
|
android:contentDescription="@string/action_close"
|
|
android:focusable="true"
|
|
android:src="@drawable/ic_close_white_24dp"
|
|
android:tint="@color/gray_button" />
|
|
</FrameLayout> |