2023-04-16 22:17:00 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
<androidx.appcompat.widget.LinearLayoutCompat xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:background="?attr/colorBackground"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
2023-04-18 10:25:45 +02:00
|
|
|
<com.google.android.material.tabs.TabLayout
|
|
|
|
|
android:id="@+id/day_tab_layout"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
app:tabMode="scrollable"
|
|
|
|
|
android:background="@android:color/transparent"/>
|
|
|
|
|
|
2023-04-16 22:17:00 +02:00
|
|
|
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
|
|
|
|
|
android:id="@+id/swipe_refresh_layout"
|
|
|
|
|
android:layout_width="match_parent"
|
2023-04-18 10:25:45 +02:00
|
|
|
android:layout_height="0dp"
|
|
|
|
|
android:layout_weight="1">
|
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"
|
|
|
|
|
android:layout_height="match_parent"
|
2023-04-16 22:17:00 +02:00
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
2023-04-18 10:25:45 +02:00
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
2023-04-16 22:17:00 +02:00
|
|
|
app:layout_constraintBottom_toBottomOf="parent"/>
|
|
|
|
|
|
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
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:scrollbars="none">
|
|
|
|
|
|
|
|
|
|
<com.google.android.material.chip.ChipGroup
|
|
|
|
|
android:id="@+id/chips_preference"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:backgroundTint="@android:color/transparent"
|
|
|
|
|
android:animateLayoutChanges="true">
|
|
|
|
|
|
|
|
|
|
<com.google.android.material.chip.Chip
|
|
|
|
|
style="@style/Widget.Material3.Chip.Filter"
|
|
|
|
|
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
|
|
|
|
|
style="@style/Widget.Material3.Chip.Filter"
|
|
|
|
|
android:id="@+id/chip_pref_fish"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
2023-04-18 15:39:49 +02:00
|
|
|
android:text="@string/pref_fish"
|
|
|
|
|
app:chipIcon="@drawable/cross"
|
|
|
|
|
app:checkedIcon="@drawable/flatware"/>
|
2023-04-18 10:25:45 +02:00
|
|
|
|
|
|
|
|
<com.google.android.material.chip.Chip
|
|
|
|
|
style="@style/Widget.Material3.Chip.Filter"
|
|
|
|
|
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
|
|
|
|
|
style="@style/Widget.Material3.Chip.Filter"
|
|
|
|
|
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
|
|
|
|
|
style="@style/Widget.Material3.Chip.Filter"
|
|
|
|
|
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
|
|
|
|
|
style="@style/Widget.Material3.Chip.Filter"
|
|
|
|
|
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
|
|
|
|
|
style="@style/Widget.Material3.Chip.Filter"
|
|
|
|
|
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
|
|
|
|
|
style="@style/Widget.Material3.Chip.Filter"
|
|
|
|
|
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
|
|
|
|
|
style="@style/Widget.Material3.Chip.Filter"
|
|
|
|
|
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
|
|
|
|
|
style="@style/Widget.Material3.Chip.Filter"
|
|
|
|
|
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-16 22:17:00 +02:00
|
|
|
</androidx.appcompat.widget.LinearLayoutCompat>
|