Files
Farmr/app/src/main/res/layout/fragment_calendar.xml
h.malik144@gmail.com 6e41d78d60 - Calender view page added
- migrated to tabbed bottom bar
 - update and clear filters fixed
2023-09-14 11:26:53 +01:00

38 lines
1.6 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingBottom="@dimen/activity_vertical_margin"
tools:context=".ui.CalendarFragment">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
android:paddingRight="@dimen/activity_horizontal_margin">
<com.applandeo.materialcalendarview.CalendarView
android:id="@+id/calendarView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:headerColor="@color/colorPrimary"
app:highlightedDaysLabelsColor="@color/colorPrimary"
app:selectionColor="@color/colorAccent"
app:type="classic" />
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/shifts_available_recycler"
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/activity_horizontal_margin"
android:nestedScrollingEnabled="false"
tools:itemCount="5"
tools:listitem="@layout/list_cell_hourly" />
</LinearLayout>
</ScrollView>