<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout
	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">

	<com.google.android.material.appbar.AppBarLayout
		android:id="@+id/appbar"
		android:layout_width="0dp"
		android:layout_height="wrap_content"
		android:fitsSystemWindows="true"
		app:layout_constraintEnd_toEndOf="@id/container"
		app:layout_constraintStart_toStartOf="parent"
		app:layout_constraintTop_toTopOf="parent">

		<com.google.android.material.appbar.MaterialToolbar
			android:id="@id/toolbar"
			android:layout_width="match_parent"
			android:layout_height="?attr/actionBarSize"
			tools:title="Title" />

	</com.google.android.material.appbar.AppBarLayout>

	<androidx.fragment.app.FragmentContainerView
		android:id="@id/container"
		android:layout_width="0dp"
		android:layout_height="0dp"
		app:layout_constraintBottom_toBottomOf="parent"
		app:layout_constraintEnd_toStartOf="@id/card_side"
		app:layout_constraintStart_toStartOf="parent"
		app:layout_constraintTop_toBottomOf="@id/appbar"
		tools:layout="@layout/fragment_list" />

	<com.google.android.material.card.MaterialCardView
		android:id="@+id/card_side"
		android:layout_width="0dp"
		android:layout_height="0dp"
		android:layout_marginStart="@dimen/side_card_offset"
		android:layout_marginTop="@dimen/grid_spacing_outer_double"
		android:layout_marginEnd="@dimen/side_card_offset"
		android:layout_marginBottom="@dimen/side_card_offset"
		app:layout_constraintBottom_toBottomOf="parent"
		app:layout_constraintEnd_toEndOf="parent"
		app:layout_constraintStart_toEndOf="@id/container"
		app:layout_constraintTop_toTopOf="parent"
		app:layout_constraintWidth_max="600dp"
		app:layout_constraintWidth_min="320dp"
		app:layout_constraintWidth_percent="0.4">

		<androidx.fragment.app.FragmentContainerView
			android:id="@+id/container_side"
			android:layout_width="match_parent"
			android:layout_height="match_parent"
			tools:layout="@layout/sheet_tags" />

	</com.google.android.material.card.MaterialCardView>

</androidx.constraintlayout.widget.ConstraintLayout>
