app/src/main/res/navigation/mobile_navigation.xml
<?xml version="1.0" encoding="utf-8"?>
<navigation 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:id="@+id/mobile_navigation"
app:startDestination="@+id/navigation_scan">
<fragment
android:id="@+id/navigation_home"
android:name="ch.epfl.culturequest.ui.home.HomeFragment"
android:label="@string/title_home"
tools:layout="@layout/fragment_home" />
<fragment
android:id="@+id/navigation_leaderboard"
android:name="ch.epfl.culturequest.ui.leaderboard.LeaderboardFragment"
android:label="@string/title_leaderboard"
tools:layout="@layout/fragment_leaderboard" />
<fragment
android:id="@+id/navigation_profile"
android:name="ch.epfl.culturequest.ui.profile.ProfileFragment"
android:label="@string/title_profile"
tools:layout="@layout/fragment_profile" />
<fragment
android:id="@+id/navigation_map"
android:name="ch.epfl.culturequest.ui.map.MapsFragment"
android:label="@string/title_map"
tools:layout="@layout/fragment_maps" />
<fragment
android:id="@+id/navigation_scan"
android:name="ch.epfl.culturequest.ui.scan.ScanFragment"
android:label="@string/title_scan"
tools:layout="@layout/fragment_scan" />
</navigation>