2023-04-08 11:41:02 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2023-05-01 09:35:01 +02:00
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2023-04-08 11:41:02 +02:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:fitsSystemWindows="true"
|
|
|
|
|
tools:context=".activity.MainActivity">
|
|
|
|
|
|
2023-05-01 09:35:01 +02:00
|
|
|
<androidx.fragment.app.FragmentContainerView
|
|
|
|
|
android:id="@+id/nav_host_fragment_content_main"
|
|
|
|
|
android:name="androidx.navigation.fragment.NavHostFragment"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="0dp"
|
|
|
|
|
app:defaultNavHost="true"
|
2023-05-02 20:52:56 +02:00
|
|
|
app:navGraph="@navigation/main_nav_graph"
|
2023-05-01 09:35:01 +02:00
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
|
app:layout_constraintBottom_toTopOf="@+id/nav_view"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"/>
|
2023-04-08 11:41:02 +02:00
|
|
|
|
2023-05-01 09:35:01 +02:00
|
|
|
<com.google.android.material.bottomnavigation.BottomNavigationView
|
|
|
|
|
android:id="@+id/nav_view"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
app:menu="@menu/nav_view_items"
|
|
|
|
|
app:labelVisibilityMode="selected"
|
|
|
|
|
app:itemTextColor="?attr/colorOnSurfaceVariant"
|
|
|
|
|
android:layout_gravity="bottom"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"/>
|
|
|
|
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|