<!-- This Source Code Form is subject to the terms of the Mozilla Public
   - License, v. 2.0. If a copy of the MPL was not distributed with this
   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<LinearLayout 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:orientation="vertical"
    android:id="@+id/rootContainer"
    tools:context=".HomeActivity">

    <ViewStub
        android:id="@+id/navigationToolbarStub"
        android:inflatedId="@id/navigationToolbar"
        android:layout="@layout/navigation_toolbar"
        android:layout_width="match_parent"
        android:layout_height="56dp" />

    <!--The navGraph is set dynamically in NavGraphProvider -->
    <fragment
        android:id="@+id/container"
        android:name="androidx.navigation.fragment.NavHostFragment"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        app:defaultNavHost="true"/>
</LinearLayout>
