<?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/navigation" app:startDestination="@id/map"> <fragment android:id="@+id/map" android:name="com.example.nemophila.MapsFragment" android:layout_width="match_parent" android:layout_height="match_parent" tools:layout="@layout/fragment_maps" > <action android:id="@+id/action_map_to_friendsFragment" app:destination="@id/friendsFragment" /> <action android:id="@+id/action_map_to_settingsFragment" app:destination="@id/settingsFragment" /> <action android:id="@+id/action_map_to_timelineFragment" app:destination="@id/timelineFragment" /> </fragment> <!-- <fragment--> <!-- android:id="@+id/friendsFragment"--> <!-- android:name="com.example.nemophila.FriendsFragment"--> <!-- android:label="fragment_profile"--> <!-- tools:layout="@layout/fragment_friends" />--> <!-- <fragment--> <!-- android:id="@+id/timelineFragment"--> <!-- android:name="com.example.nemophila.TimelineFragment"--> <!-- android:label="fragment_settings"--> <!-- tools:layout="@layout/fragment_timeline" />--> <!-- <fragment--> <!-- android:id="@+id/settingsFragment"--> <!-- android:name="com.example.nemophila.SettingsFragment"--> <!-- android:label="fragment_settings"--> <!-- tools:layout="@layout/fragment_settings" />--> </navigation>