<?xml version="1.0" encoding="utf-8"?> <layout xmlns:tools="http://schemas.android.com/tools" xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"> <data> <variable name="viewModel" type="org.ntlab.leftoverrecipe.viewmodel.DialyViewModel" /> </data> <android.support.constraint.ConstraintLayout android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical"> <!--<com.github.sundeepk.compactcalendarview.CompactCalendarView--> <!--android:id="@+id/dialyCalendarView"--> <!--android:layout_width="match_parent"--> <!--android:layout_height="350dp"--> <!--android:layout_marginEnd="8dp"--> <!--android:layout_marginStart="8dp"--> <!--android:layout_marginTop="8dp"--> <!--app:layout_constraintEnd_toEndOf="parent"--> <!--app:layout_constraintStart_toStartOf="parent"--> <!--app:layout_constraintTop_toTopOf="parent" />--> <com.prolificinteractive.materialcalendarview.MaterialCalendarView android:id="@+id/dialyCalendar" android:layout_width="match_parent" android:layout_height="wrap_content" tools:layout_editor_absoluteY="0dp" app:layout_constraintStart_toStartOf="parent" android:layout_marginStart="8dp" android:layout_marginEnd="8dp" app:layout_constraintEnd_toEndOf="parent"></com.prolificinteractive.materialcalendarview.MaterialCalendarView> <android.support.v7.widget.RecyclerView android:id="@+id/dialyRecyclerView" android:layout_width="0dp" android:layout_height="0dp" android:layout_marginBottom="0dp" android:layout_marginEnd="8dp" android:layout_marginStart="8dp" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@+id/dialyCalendar"></android.support.v7.widget.RecyclerView> </android.support.constraint.ConstraintLayout> </layout>