Quick filter in history draft implementation

This commit is contained in:
Koitharu
2024-08-03 16:22:46 +03:00
parent 6e92d46a63
commit d00822a6c3
19 changed files with 218 additions and 22 deletions

View File

@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="utf-8"?>
<HorizontalScrollView
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/scrollView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:clipToPadding="false"
android:paddingHorizontal="@dimen/list_spacing"
android:scrollbars="none">
<org.koitharu.kotatsu.core.ui.widgets.ChipsView
android:id="@+id/chips_tags"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:clipChildren="false"
android:clipToPadding="false"
android:paddingVertical="2dp"
app:chipStyle="@style/Widget.Kotatsu.Chip.Filter"
app:selectionRequired="false"
app:singleLine="true"
app:singleSelection="false" />
</HorizontalScrollView>

View File

@@ -96,6 +96,7 @@
<string name="text_search_holder_secondary">Try to reformulate the query.</string>
<string name="text_history_holder_primary">What you read will be displayed here</string>
<string name="text_history_holder_secondary">Find what to read in the «Explore» section</string>
<string name="text_history_holder_secondary_filtered">There are no manga matching the filters you selected</string>
<string name="text_local_holder_primary">Save something first</string>
<string name="text_local_holder_secondary">Save something from an online catalog or import it from a file.</string>
<string name="manga_shelf">Shelf</string>