|
|
|
@ -17,360 +17,239 @@
|
|
|
|
android:id="@+id/scrollView"
|
|
|
|
android:id="@+id/scrollView"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:scrollIndicators="top">
|
|
|
|
android:scrollIndicators="top"
|
|
|
|
|
|
|
|
tools:ignore="UnusedAttribute">
|
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/layout_body"
|
|
|
|
android:id="@+id/layout_body"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:paddingHorizontal="@dimen/screen_padding"
|
|
|
|
android:paddingHorizontal="@dimen/margin_small"
|
|
|
|
android:paddingBottom="@dimen/margin_normal">
|
|
|
|
android:paddingBottom="@dimen/margin_normal">
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
<org.koitharu.kotatsu.filter.ui.FilterFieldLayout
|
|
|
|
android:id="@+id/textView_order_title"
|
|
|
|
android:id="@+id/layout_order"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:singleLine="true"
|
|
|
|
app:title="@string/sort_order">
|
|
|
|
android:text="@string/sort_order"
|
|
|
|
|
|
|
|
android:textAppearance="?textAppearanceTitleSmall"
|
|
|
|
|
|
|
|
android:visibility="gone"
|
|
|
|
|
|
|
|
tools:visibility="visible" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<com.google.android.material.card.MaterialCardView
|
|
|
|
|
|
|
|
android:id="@+id/card_order"
|
|
|
|
|
|
|
|
style="?materialCardViewOutlinedStyle"
|
|
|
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
|
|
|
android:layout_marginTop="@dimen/margin_normal"
|
|
|
|
|
|
|
|
android:visibility="gone"
|
|
|
|
|
|
|
|
tools:visibility="visible">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<Spinner
|
|
|
|
<com.google.android.material.card.MaterialCardView
|
|
|
|
android:id="@+id/spinner_order"
|
|
|
|
android:id="@+id/card_order"
|
|
|
|
|
|
|
|
style="?materialCardViewOutlinedStyle"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="@dimen/spinner_height"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:minHeight="?listPreferredItemHeightSmall"
|
|
|
|
android:layout_marginHorizontal="@dimen/margin_small"
|
|
|
|
android:paddingHorizontal="8dp" />
|
|
|
|
android:layout_marginTop="@dimen/margin_small">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<Spinner
|
|
|
|
|
|
|
|
android:id="@+id/spinner_order"
|
|
|
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
|
|
|
android:layout_height="@dimen/spinner_height"
|
|
|
|
|
|
|
|
android:minHeight="?listPreferredItemHeightSmall"
|
|
|
|
|
|
|
|
android:paddingHorizontal="8dp" />
|
|
|
|
|
|
|
|
|
|
|
|
</com.google.android.material.card.MaterialCardView>
|
|
|
|
</com.google.android.material.card.MaterialCardView>
|
|
|
|
|
|
|
|
|
|
|
|
<com.google.android.material.button.MaterialButtonToggleGroup
|
|
|
|
</org.koitharu.kotatsu.filter.ui.FilterFieldLayout>
|
|
|
|
android:id="@+id/layout_sort_direction"
|
|
|
|
|
|
|
|
|
|
|
|
<org.koitharu.kotatsu.filter.ui.FilterFieldLayout
|
|
|
|
|
|
|
|
android:id="@+id/layout_locale"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
android:layout_marginTop="@dimen/margin_small"
|
|
|
|
android:baselineAligned="false"
|
|
|
|
app:title="@string/language">
|
|
|
|
android:orientation="horizontal"
|
|
|
|
|
|
|
|
android:visibility="gone"
|
|
|
|
<com.google.android.material.card.MaterialCardView
|
|
|
|
android:weightSum="2"
|
|
|
|
android:id="@+id/card_locale"
|
|
|
|
app:selectionRequired="true"
|
|
|
|
style="?materialCardViewOutlinedStyle"
|
|
|
|
app:singleSelection="true"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
tools:visibility="visible">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
|
|
|
|
|
|
android:id="@+id/button_order_asc"
|
|
|
|
|
|
|
|
style="@style/Widget.Kotatsu.ToggleButton"
|
|
|
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
|
|
|
android:text="@string/sort_order_asc"
|
|
|
|
|
|
|
|
app:icon="@drawable/ic_sort_asc" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
|
|
|
|
|
|
android:id="@+id/button_order_desc"
|
|
|
|
|
|
|
|
style="@style/Widget.Kotatsu.ToggleButton"
|
|
|
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:layout_marginHorizontal="@dimen/margin_small"
|
|
|
|
android:text="@string/sort_order_desc"
|
|
|
|
android:layout_marginTop="@dimen/margin_small">
|
|
|
|
app:icon="@drawable/ic_sort_desc" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</com.google.android.material.button.MaterialButtonToggleGroup>
|
|
|
|
<Spinner
|
|
|
|
|
|
|
|
android:id="@+id/spinner_locale"
|
|
|
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
|
|
|
android:layout_height="@dimen/spinner_height"
|
|
|
|
|
|
|
|
android:minHeight="?listPreferredItemHeightSmall"
|
|
|
|
|
|
|
|
android:paddingHorizontal="8dp"
|
|
|
|
|
|
|
|
android:popupBackground="@drawable/m3_spinner_popup_background" />
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
</com.google.android.material.card.MaterialCardView>
|
|
|
|
android:id="@+id/textView_locale_title"
|
|
|
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
</org.koitharu.kotatsu.filter.ui.FilterFieldLayout>
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
|
|
|
android:layout_marginTop="@dimen/margin_normal"
|
|
|
|
<org.koitharu.kotatsu.filter.ui.FilterFieldLayout
|
|
|
|
android:singleLine="true"
|
|
|
|
android:id="@+id/layout_original_locale"
|
|
|
|
android:text="@string/language"
|
|
|
|
|
|
|
|
android:textAppearance="?textAppearanceTitleSmall"
|
|
|
|
|
|
|
|
android:visibility="gone"
|
|
|
|
|
|
|
|
tools:visibility="visible" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<com.google.android.material.card.MaterialCardView
|
|
|
|
|
|
|
|
android:id="@+id/card_locale"
|
|
|
|
|
|
|
|
style="?materialCardViewOutlinedStyle"
|
|
|
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="@dimen/margin_normal"
|
|
|
|
android:layout_marginTop="@dimen/margin_small"
|
|
|
|
android:visibility="gone"
|
|
|
|
app:title="@string/original_language">
|
|
|
|
tools:visibility="visible">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<Spinner
|
|
|
|
<com.google.android.material.card.MaterialCardView
|
|
|
|
android:id="@+id/spinner_locale"
|
|
|
|
android:id="@+id/card_original_locale"
|
|
|
|
|
|
|
|
style="?materialCardViewOutlinedStyle"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="@dimen/spinner_height"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:minHeight="?listPreferredItemHeightSmall"
|
|
|
|
android:layout_marginHorizontal="@dimen/margin_small"
|
|
|
|
android:paddingHorizontal="8dp"
|
|
|
|
android:layout_marginTop="@dimen/margin_small">
|
|
|
|
android:popupBackground="@drawable/m3_spinner_popup_background" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</com.google.android.material.card.MaterialCardView>
|
|
|
|
<Spinner
|
|
|
|
|
|
|
|
android:id="@+id/spinner_original_locale"
|
|
|
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
|
|
|
android:layout_height="@dimen/spinner_height"
|
|
|
|
|
|
|
|
android:minHeight="?listPreferredItemHeightSmall"
|
|
|
|
|
|
|
|
android:paddingHorizontal="8dp"
|
|
|
|
|
|
|
|
android:popupBackground="@drawable/m3_spinner_popup_background" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</com.google.android.material.card.MaterialCardView>
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
</org.koitharu.kotatsu.filter.ui.FilterFieldLayout>
|
|
|
|
android:id="@+id/textView_original_locale_title"
|
|
|
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
<org.koitharu.kotatsu.filter.ui.FilterFieldLayout
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:id="@+id/layout_genres"
|
|
|
|
android:layout_marginTop="@dimen/margin_normal"
|
|
|
|
|
|
|
|
android:singleLine="true"
|
|
|
|
|
|
|
|
android:text="@string/original_language"
|
|
|
|
|
|
|
|
android:textAppearance="?textAppearanceTitleSmall"
|
|
|
|
|
|
|
|
android:visibility="gone"
|
|
|
|
|
|
|
|
tools:visibility="visible" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<com.google.android.material.card.MaterialCardView
|
|
|
|
|
|
|
|
android:id="@+id/card_original_locale"
|
|
|
|
|
|
|
|
style="?materialCardViewOutlinedStyle"
|
|
|
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="@dimen/margin_normal"
|
|
|
|
android:layout_marginTop="@dimen/margin_small"
|
|
|
|
android:visibility="gone"
|
|
|
|
app:showMoreButton="true"
|
|
|
|
tools:visibility="visible">
|
|
|
|
app:title="@string/genres">
|
|
|
|
|
|
|
|
|
|
|
|
<Spinner
|
|
|
|
<org.koitharu.kotatsu.core.ui.widgets.ChipsView
|
|
|
|
android:id="@+id/spinner_original_locale"
|
|
|
|
android:id="@+id/chips_genres"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="@dimen/spinner_height"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:minHeight="?listPreferredItemHeightSmall"
|
|
|
|
android:layout_marginHorizontal="@dimen/margin_small"
|
|
|
|
android:paddingHorizontal="8dp"
|
|
|
|
android:layout_marginTop="@dimen/margin_small"
|
|
|
|
android:popupBackground="@drawable/m3_spinner_popup_background" />
|
|
|
|
app:chipStyle="@style/Widget.Kotatsu.Chip.Filter" />
|
|
|
|
|
|
|
|
|
|
|
|
</com.google.android.material.card.MaterialCardView>
|
|
|
|
</org.koitharu.kotatsu.filter.ui.FilterFieldLayout>
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
<org.koitharu.kotatsu.filter.ui.FilterFieldLayout
|
|
|
|
android:id="@+id/textView_genres_title"
|
|
|
|
android:id="@+id/layout_genresExclude"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
|
|
|
android:layout_marginTop="@dimen/margin_normal"
|
|
|
|
|
|
|
|
android:singleLine="true"
|
|
|
|
|
|
|
|
android:text="@string/genres"
|
|
|
|
|
|
|
|
android:textAppearance="?textAppearanceTitleSmall"
|
|
|
|
|
|
|
|
android:visibility="gone"
|
|
|
|
|
|
|
|
tools:visibility="visible" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<org.koitharu.kotatsu.core.ui.widgets.ChipsView
|
|
|
|
|
|
|
|
android:id="@+id/chips_genres"
|
|
|
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="@dimen/margin_normal"
|
|
|
|
android:layout_marginTop="@dimen/margin_small"
|
|
|
|
android:visibility="gone"
|
|
|
|
app:showMoreButton="true"
|
|
|
|
app:chipStyle="@style/Widget.Kotatsu.Chip.Filter"
|
|
|
|
app:title="@string/genres_exclude">
|
|
|
|
tools:visibility="visible" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
<org.koitharu.kotatsu.core.ui.widgets.ChipsView
|
|
|
|
android:id="@+id/textView_genres_hint"
|
|
|
|
android:id="@+id/chips_genresExclude"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
android:layout_marginHorizontal="@dimen/margin_small"
|
|
|
|
android:drawablePadding="16dp"
|
|
|
|
android:layout_marginTop="@dimen/margin_small"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
app:chipStyle="@style/Widget.Kotatsu.Chip.Filter" />
|
|
|
|
android:paddingVertical="8dp"
|
|
|
|
|
|
|
|
android:textAppearance="?textAppearanceBodySmall"
|
|
|
|
|
|
|
|
android:visibility="gone"
|
|
|
|
|
|
|
|
app:drawableStartCompat="@drawable/ic_error_small"
|
|
|
|
|
|
|
|
app:drawableTint="?attr/colorControlNormal"
|
|
|
|
|
|
|
|
tools:text="@string/error_multiple_genres_not_supported"
|
|
|
|
|
|
|
|
tools:visibility="visible" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
|
|
|
android:id="@+id/textView_genresExclude_title"
|
|
|
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
|
|
|
android:layout_marginTop="@dimen/margin_normal"
|
|
|
|
|
|
|
|
android:singleLine="true"
|
|
|
|
|
|
|
|
android:text="@string/genres_exclude"
|
|
|
|
|
|
|
|
android:textAppearance="?textAppearanceTitleSmall"
|
|
|
|
|
|
|
|
android:visibility="gone"
|
|
|
|
|
|
|
|
tools:visibility="visible" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<org.koitharu.kotatsu.core.ui.widgets.ChipsView
|
|
|
|
|
|
|
|
android:id="@+id/chips_genresExclude"
|
|
|
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
|
|
|
android:layout_marginTop="@dimen/margin_normal"
|
|
|
|
|
|
|
|
android:visibility="gone"
|
|
|
|
|
|
|
|
app:chipStyle="@style/Widget.Kotatsu.Chip.Filter"
|
|
|
|
|
|
|
|
tools:visibility="visible" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
</org.koitharu.kotatsu.filter.ui.FilterFieldLayout>
|
|
|
|
android:id="@+id/textView_types_title"
|
|
|
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
|
|
|
android:layout_marginTop="@dimen/margin_normal"
|
|
|
|
|
|
|
|
android:singleLine="true"
|
|
|
|
|
|
|
|
android:text="@string/type"
|
|
|
|
|
|
|
|
android:textAppearance="?textAppearanceTitleSmall"
|
|
|
|
|
|
|
|
android:visibility="gone"
|
|
|
|
|
|
|
|
tools:visibility="visible" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<org.koitharu.kotatsu.core.ui.widgets.ChipsView
|
|
|
|
|
|
|
|
android:id="@+id/chips_types"
|
|
|
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
|
|
|
android:layout_marginTop="@dimen/margin_normal"
|
|
|
|
|
|
|
|
android:visibility="gone"
|
|
|
|
|
|
|
|
app:chipStyle="@style/Widget.Kotatsu.Chip.Filter"
|
|
|
|
|
|
|
|
tools:visibility="visible" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
<org.koitharu.kotatsu.filter.ui.FilterFieldLayout
|
|
|
|
android:id="@+id/textView_state_title"
|
|
|
|
android:id="@+id/layout_types"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
|
|
|
android:layout_marginTop="@dimen/margin_normal"
|
|
|
|
|
|
|
|
android:singleLine="true"
|
|
|
|
|
|
|
|
android:text="@string/state"
|
|
|
|
|
|
|
|
android:textAppearance="?textAppearanceTitleSmall"
|
|
|
|
|
|
|
|
android:visibility="gone"
|
|
|
|
|
|
|
|
tools:visibility="visible" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<org.koitharu.kotatsu.core.ui.widgets.ChipsView
|
|
|
|
|
|
|
|
android:id="@+id/chips_state"
|
|
|
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="@dimen/margin_normal"
|
|
|
|
android:layout_marginTop="@dimen/margin_small"
|
|
|
|
android:visibility="gone"
|
|
|
|
app:title="@string/type">
|
|
|
|
app:chipStyle="@style/Widget.Kotatsu.Chip.Filter"
|
|
|
|
|
|
|
|
tools:visibility="visible" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
<org.koitharu.kotatsu.core.ui.widgets.ChipsView
|
|
|
|
android:id="@+id/textView_contentRating_title"
|
|
|
|
android:id="@+id/chips_types"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="@dimen/margin_normal"
|
|
|
|
android:layout_marginHorizontal="@dimen/margin_small"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:layout_marginTop="@dimen/margin_small"
|
|
|
|
android:text="@string/content_rating"
|
|
|
|
app:chipStyle="@style/Widget.Kotatsu.Chip.Filter" />
|
|
|
|
android:textAppearance="?textAppearanceTitleSmall"
|
|
|
|
|
|
|
|
android:visibility="gone"
|
|
|
|
|
|
|
|
tools:visibility="visible" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<org.koitharu.kotatsu.core.ui.widgets.ChipsView
|
|
|
|
|
|
|
|
android:id="@+id/chips_contentRating"
|
|
|
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
|
|
|
android:layout_marginTop="@dimen/margin_normal"
|
|
|
|
|
|
|
|
android:visibility="gone"
|
|
|
|
|
|
|
|
app:chipStyle="@style/Widget.Kotatsu.Chip.Filter"
|
|
|
|
|
|
|
|
tools:visibility="visible" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
</org.koitharu.kotatsu.filter.ui.FilterFieldLayout>
|
|
|
|
android:id="@+id/textView_demographics_title"
|
|
|
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
<org.koitharu.kotatsu.filter.ui.FilterFieldLayout
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:id="@+id/layout_state"
|
|
|
|
android:layout_marginTop="@dimen/margin_normal"
|
|
|
|
|
|
|
|
android:singleLine="true"
|
|
|
|
|
|
|
|
android:text="@string/demographics"
|
|
|
|
|
|
|
|
android:textAppearance="?textAppearanceTitleSmall"
|
|
|
|
|
|
|
|
android:visibility="gone"
|
|
|
|
|
|
|
|
tools:visibility="visible" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<org.koitharu.kotatsu.core.ui.widgets.ChipsView
|
|
|
|
|
|
|
|
android:id="@+id/chips_demographics"
|
|
|
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="@dimen/margin_normal"
|
|
|
|
android:layout_marginTop="@dimen/margin_small"
|
|
|
|
android:visibility="gone"
|
|
|
|
app:title="@string/state">
|
|
|
|
app:chipStyle="@style/Widget.Kotatsu.Chip.Filter"
|
|
|
|
|
|
|
|
tools:visibility="visible" />
|
|
|
|
<org.koitharu.kotatsu.core.ui.widgets.ChipsView
|
|
|
|
|
|
|
|
android:id="@+id/chips_state"
|
|
|
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
|
|
|
android:layout_marginHorizontal="@dimen/margin_small"
|
|
|
|
|
|
|
|
android:layout_marginTop="@dimen/margin_small"
|
|
|
|
|
|
|
|
app:chipStyle="@style/Widget.Kotatsu.Chip.Filter" />
|
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
</org.koitharu.kotatsu.filter.ui.FilterFieldLayout>
|
|
|
|
android:id="@+id/header_year"
|
|
|
|
|
|
|
|
|
|
|
|
<org.koitharu.kotatsu.filter.ui.FilterFieldLayout
|
|
|
|
|
|
|
|
android:id="@+id/layout_contentRating"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="@dimen/margin_normal"
|
|
|
|
android:layout_marginTop="@dimen/margin_small"
|
|
|
|
android:baselineAligned="true"
|
|
|
|
app:title="@string/content_rating">
|
|
|
|
android:baselineAlignedChildIndex="0"
|
|
|
|
|
|
|
|
android:orientation="horizontal"
|
|
|
|
<org.koitharu.kotatsu.core.ui.widgets.ChipsView
|
|
|
|
android:visibility="gone"
|
|
|
|
android:id="@+id/chips_contentRating"
|
|
|
|
tools:visibility="visible">
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
|
|
|
android:id="@+id/textView_year"
|
|
|
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
|
|
|
android:singleLine="true"
|
|
|
|
|
|
|
|
android:text="@string/year"
|
|
|
|
|
|
|
|
android:textAppearance="?textAppearanceTitleSmall" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
|
|
|
android:id="@+id/textView_year_value"
|
|
|
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:layout_marginHorizontal="@dimen/margin_small"
|
|
|
|
android:textAppearance="?textAppearanceBodyMedium"
|
|
|
|
android:layout_marginTop="@dimen/margin_small"
|
|
|
|
tools:text="2024" />
|
|
|
|
app:chipStyle="@style/Widget.Kotatsu.Chip.Filter" />
|
|
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
</org.koitharu.kotatsu.filter.ui.FilterFieldLayout>
|
|
|
|
|
|
|
|
|
|
|
|
<com.google.android.material.slider.Slider
|
|
|
|
<org.koitharu.kotatsu.filter.ui.FilterFieldLayout
|
|
|
|
android:id="@+id/slider_year"
|
|
|
|
android:id="@+id/layout_demographics"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="@dimen/margin_normal"
|
|
|
|
android:layout_marginTop="@dimen/margin_small"
|
|
|
|
android:stepSize="1"
|
|
|
|
app:title="@string/demographics">
|
|
|
|
android:visibility="gone"
|
|
|
|
|
|
|
|
app:labelBehavior="gone"
|
|
|
|
<org.koitharu.kotatsu.core.ui.widgets.ChipsView
|
|
|
|
app:tickVisible="true"
|
|
|
|
android:id="@+id/chips_demographics"
|
|
|
|
tools:value="2020"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
tools:valueFrom="1900"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
tools:valueTo="2090"
|
|
|
|
android:layout_marginHorizontal="@dimen/margin_small"
|
|
|
|
tools:visibility="visible" />
|
|
|
|
android:layout_marginTop="@dimen/margin_small"
|
|
|
|
|
|
|
|
app:chipStyle="@style/Widget.Kotatsu.Chip.Filter" />
|
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
</org.koitharu.kotatsu.filter.ui.FilterFieldLayout>
|
|
|
|
android:id="@+id/header_yearsRange"
|
|
|
|
|
|
|
|
|
|
|
|
<org.koitharu.kotatsu.filter.ui.FilterFieldLayout
|
|
|
|
|
|
|
|
android:id="@+id/layout_year"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="@dimen/margin_normal"
|
|
|
|
android:layout_marginTop="@dimen/margin_small"
|
|
|
|
android:baselineAligned="true"
|
|
|
|
app:title="@string/year">
|
|
|
|
android:baselineAlignedChildIndex="0"
|
|
|
|
|
|
|
|
android:orientation="horizontal"
|
|
|
|
<com.google.android.material.slider.Slider
|
|
|
|
android:visibility="gone"
|
|
|
|
android:id="@+id/slider_year"
|
|
|
|
tools:visibility="visible">
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
|
|
|
android:id="@+id/textView_yearsRange"
|
|
|
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
|
|
|
android:singleLine="true"
|
|
|
|
|
|
|
|
android:text="@string/year"
|
|
|
|
|
|
|
|
android:textAppearance="?textAppearanceTitleSmall" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
|
|
|
android:id="@+id/textView_yearsRange_value"
|
|
|
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:stepSize="1"
|
|
|
|
android:textAppearance="?textAppearanceBodyMedium"
|
|
|
|
app:labelBehavior="gone"
|
|
|
|
tools:text="2024" />
|
|
|
|
app:tickVisible="true"
|
|
|
|
|
|
|
|
tools:value="2020"
|
|
|
|
|
|
|
|
tools:valueFrom="1900"
|
|
|
|
|
|
|
|
tools:valueTo="2090" />
|
|
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
</org.koitharu.kotatsu.filter.ui.FilterFieldLayout>
|
|
|
|
|
|
|
|
|
|
|
|
<com.google.android.material.slider.RangeSlider
|
|
|
|
<org.koitharu.kotatsu.filter.ui.FilterFieldLayout
|
|
|
|
android:id="@+id/slider_yearsRange"
|
|
|
|
android:id="@+id/layout_yearsRange"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="@dimen/margin_normal"
|
|
|
|
android:layout_marginTop="@dimen/margin_small"
|
|
|
|
android:stepSize="1"
|
|
|
|
app:title="@string/years">
|
|
|
|
android:visibility="gone"
|
|
|
|
|
|
|
|
app:labelBehavior="gone"
|
|
|
|
<com.google.android.material.slider.RangeSlider
|
|
|
|
app:tickVisible="true"
|
|
|
|
android:id="@+id/slider_yearsRange"
|
|
|
|
tools:valueFrom="1900"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
tools:valueTo="2090"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
tools:visibility="visible" />
|
|
|
|
android:layout_marginTop="@dimen/margin_normal"
|
|
|
|
|
|
|
|
android:stepSize="1"
|
|
|
|
|
|
|
|
app:labelBehavior="gone"
|
|
|
|
|
|
|
|
app:tickVisible="true"
|
|
|
|
|
|
|
|
tools:valueFrom="1900"
|
|
|
|
|
|
|
|
tools:valueTo="2090" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</org.koitharu.kotatsu.filter.ui.FilterFieldLayout>
|
|
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</androidx.core.widget.NestedScrollView>
|
|
|
|
</androidx.core.widget.NestedScrollView>
|
|
|
|
|