2023-04-16 22:17:00 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2023-04-20 21:35:09 +02:00
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2023-04-16 22:17:00 +02:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
|
android:layout_width="match_parent"
|
2023-04-23 17:13:48 +02:00
|
|
|
android:layout_height="match_parent">
|
2023-04-16 22:17:00 +02:00
|
|
|
|
2023-04-18 10:25:45 +02:00
|
|
|
<com.google.android.material.tabs.TabLayout
|
|
|
|
|
android:id="@+id/day_tab_layout"
|
2023-04-20 21:35:09 +02:00
|
|
|
android:layout_width="0dp"
|
2023-04-18 10:25:45 +02:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
app:tabMode="scrollable"
|
2023-04-20 21:35:09 +02:00
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"/>
|
2023-04-18 10:25:45 +02:00
|
|
|
|
2023-04-16 22:17:00 +02:00
|
|
|
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
|
|
|
|
|
android:id="@+id/swipe_refresh_layout"
|
2023-04-20 21:35:09 +02:00
|
|
|
android:layout_width="0dp"
|
2023-04-18 10:25:45 +02:00
|
|
|
android:layout_height="0dp"
|
2023-04-20 21:35:09 +02:00
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/day_tab_layout"
|
|
|
|
|
app:layout_constraintBottom_toTopOf="@+id/scroll_view_chip">
|
2023-04-16 22:17:00 +02:00
|
|
|
|
2023-04-18 10:25:45 +02:00
|
|
|
<androidx.appcompat.widget.LinearLayoutCompat
|
2023-04-16 22:17:00 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
<androidx.viewpager2.widget.ViewPager2
|
|
|
|
|
android:id="@+id/view_pager"
|
2023-04-18 10:25:45 +02:00
|
|
|
android:layout_width="match_parent"
|
2023-04-20 21:35:09 +02:00
|
|
|
android:layout_height="match_parent"/>
|
2023-04-16 22:17:00 +02:00
|
|
|
|
2023-04-18 10:25:45 +02:00
|
|
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
2023-04-16 22:17:00 +02:00
|
|
|
|
|
|
|
|
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|
|
|
|
|
|
2023-04-18 10:25:45 +02:00
|
|
|
<HorizontalScrollView
|
2023-04-20 21:35:09 +02:00
|
|
|
android:id="@+id/scroll_view_chip"
|
|
|
|
|
android:layout_width="0dp"
|
2023-04-18 10:25:45 +02:00
|
|
|
android:layout_height="wrap_content"
|
2023-04-20 21:35:09 +02:00
|
|
|
android:scrollbars="none"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent">
|
2023-04-18 10:25:45 +02:00
|
|
|
|
|
|
|
|
<com.google.android.material.chip.ChipGroup
|
|
|
|
|
android:id="@+id/chips_preference"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:animateLayoutChanges="true">
|
|
|
|
|
|
|
|
|
|
<com.google.android.material.chip.Chip
|
2023-04-23 17:13:48 +02:00
|
|
|
style="@style/Widget.Material3.Chip.Filter"
|
2023-04-18 10:25:45 +02:00
|
|
|
android:id="@+id/chip_pref_fair"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="@string/pref_fair"/>
|
|
|
|
|
|
|
|
|
|
<com.google.android.material.chip.Chip
|
2023-04-23 17:13:48 +02:00
|
|
|
style="@style/Widget.Material3.Chip.Filter"
|
2023-04-18 10:25:45 +02:00
|
|
|
android:id="@+id/chip_pref_fish"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
2023-04-20 10:17:04 +02:00
|
|
|
android:text="@string/pref_fish"/>
|
2023-04-18 10:25:45 +02:00
|
|
|
|
|
|
|
|
<com.google.android.material.chip.Chip
|
2023-04-23 17:13:48 +02:00
|
|
|
style="@style/Widget.Material3.Chip.Filter"
|
2023-04-18 10:25:45 +02:00
|
|
|
android:id="@+id/chip_pref_poultry"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="@string/pref_poultry"/>
|
|
|
|
|
|
|
|
|
|
<com.google.android.material.chip.Chip
|
2023-04-23 17:13:48 +02:00
|
|
|
style="@style/Widget.Material3.Chip.Filter"
|
2023-04-18 10:25:45 +02:00
|
|
|
android:id="@+id/chip_pref_lamb"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="@string/pref_lamb"/>
|
|
|
|
|
|
|
|
|
|
<com.google.android.material.chip.Chip
|
2023-04-23 17:13:48 +02:00
|
|
|
style="@style/Widget.Material3.Chip.Filter"
|
2023-04-18 10:25:45 +02:00
|
|
|
android:id="@+id/chip_pref_vital"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="@string/pref_vital"/>
|
|
|
|
|
|
|
|
|
|
<com.google.android.material.chip.Chip
|
2023-04-23 17:13:48 +02:00
|
|
|
style="@style/Widget.Material3.Chip.Filter"
|
2023-04-18 10:25:45 +02:00
|
|
|
android:id="@+id/chip_pref_beef"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="@string/pref_beef"/>
|
|
|
|
|
|
|
|
|
|
<com.google.android.material.chip.Chip
|
2023-04-23 17:13:48 +02:00
|
|
|
style="@style/Widget.Material3.Chip.Filter"
|
2023-04-18 10:25:45 +02:00
|
|
|
android:id="@+id/chip_pref_pork"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="@string/pref_pork"/>
|
|
|
|
|
|
|
|
|
|
<com.google.android.material.chip.Chip
|
2023-04-23 17:13:48 +02:00
|
|
|
style="@style/Widget.Material3.Chip.Filter"
|
2023-04-18 10:25:45 +02:00
|
|
|
android:id="@+id/chip_pref_vegetarian"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="@string/pref_vegetarian"/>
|
|
|
|
|
|
|
|
|
|
<com.google.android.material.chip.Chip
|
2023-04-23 17:13:48 +02:00
|
|
|
style="@style/Widget.Material3.Chip.Filter"
|
2023-04-18 10:25:45 +02:00
|
|
|
android:id="@+id/chip_pref_vegan"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="@string/pref_vegan"/>
|
|
|
|
|
|
|
|
|
|
<com.google.android.material.chip.Chip
|
2023-04-23 17:13:48 +02:00
|
|
|
style="@style/Widget.Material3.Chip.Filter"
|
2023-04-18 10:25:45 +02:00
|
|
|
android:id="@+id/chip_pref_game"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="@string/pref_game"/>
|
|
|
|
|
|
|
|
|
|
</com.google.android.material.chip.ChipGroup>
|
|
|
|
|
|
|
|
|
|
</HorizontalScrollView>
|
|
|
|
|
|
2023-04-20 21:35:09 +02:00
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|