2020-07-01 16:36:08 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?><!--
|
|
|
|
Copyright 2020 Thomas Schneider
|
|
|
|
|
|
|
|
This file is a part of TubeLab
|
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or modify it under the terms of the
|
|
|
|
GNU General Public License as published by the Free Software Foundation; either version 3 of the
|
|
|
|
License, or (at your option) any later version.
|
|
|
|
|
|
|
|
TubeLab is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
|
|
|
|
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
|
|
|
Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License along with TubeLab; if not,
|
|
|
|
see <http://www.gnu.org/licenses>.
|
|
|
|
-->
|
2020-06-25 16:57:13 +02:00
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
android:id="@+id/container"
|
|
|
|
android:layout_width="match_parent"
|
2020-06-27 11:21:25 +02:00
|
|
|
android:layout_height="match_parent">
|
2020-06-25 16:57:13 +02:00
|
|
|
|
|
|
|
<com.google.android.material.bottomnavigation.BottomNavigationView
|
|
|
|
android:id="@+id/nav_view"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="0dp"
|
|
|
|
android:layout_marginEnd="0dp"
|
|
|
|
android:background="?android:attr/windowBackground"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
|
|
app:menu="@menu/bottom_nav_menu" />
|
|
|
|
|
2020-06-26 19:16:00 +02:00
|
|
|
<fragment
|
2020-06-25 16:57:13 +02:00
|
|
|
android:id="@+id/nav_host_fragment"
|
|
|
|
android:name="androidx.navigation.fragment.NavHostFragment"
|
|
|
|
android:layout_width="match_parent"
|
2020-06-27 14:16:45 +02:00
|
|
|
android:layout_height="0dp"
|
2020-06-25 16:57:13 +02:00
|
|
|
app:defaultNavHost="true"
|
|
|
|
app:layout_constraintBottom_toTopOf="@id/nav_view"
|
|
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
app:navGraph="@navigation/mobile_navigation" />
|
|
|
|
|
2020-06-26 18:17:17 +02:00
|
|
|
|
2020-06-25 16:57:13 +02:00
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|