Skip to content
Snippets Groups Projects
Commit 8fa43b7b authored by Taras's avatar Taras
Browse files

Setup navigation

parent 8765970b
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,7 @@
android:title="@string/circles" />
<item
android:id="@+id/peopleFragment"
android:id="@+id/people_nav_graph"
android:icon="@drawable/ic_round_contacts"
android:title="@string/people" />
......
<?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/nav_graph_bottom_menu"
app:startDestination="@id/circles_nav_graph">
......@@ -11,11 +10,7 @@
<include app:graph="@navigation/photos_nav_graph" />
<fragment
android:id="@+id/peopleFragment"
android:name="com.futo.circles.feature.people.PeopleFragment"
android:label="@string/my_people"
tools:layout="@layout/people_fragment" />
<include app:graph="@navigation/people_nav_graph" />
<include app:graph="@navigation/settings_nav_graph" />
......
<?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/people_nav_graph"
app:startDestination="@id/peopleFragment">
<fragment
android:id="@+id/peopleFragment"
android:name="com.futo.circles.feature.people.PeopleFragment"
android:label="@string/my_people"
tools:layout="@layout/people_fragment" />
</navigation>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment