diff options
author | Joe Robinson <joe@lc8n.com> | 2019-04-20 17:45:19 +0200 |
---|---|---|
committer | Joe Robinson <joe@lc8n.com> | 2019-04-20 17:45:19 +0200 |
commit | 3075e6acb5c29434b2d7be0c6ad7747a6358f045 (patch) | |
tree | 214d37dfb9c7d2f4aa0dc07cb109f66e4165cf74 /app/src/main/res/navigation | |
parent | 9d430209d39d0e68f6311adfff9d476c8856f662 (diff) |
Added Gallery View
Diffstat (limited to 'app/src/main/res/navigation')
-rw-r--r-- | app/src/main/res/navigation/nav_graph.xml | 26 |
1 files changed, 18 insertions, 8 deletions
diff --git a/app/src/main/res/navigation/nav_graph.xml b/app/src/main/res/navigation/nav_graph.xml index ef2595c..77eca0e 100644 --- a/app/src/main/res/navigation/nav_graph.xml +++ b/app/src/main/res/navigation/nav_graph.xml @@ -3,16 +3,26 @@ xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:id="@+id/nav_graph" - app:startDestination="@id/main_fragment"> + app:startDestination="@id/list_fragment"> > <fragment - android:id="@+id/main_fragment" - android:name="uk.co.blatech.blaupload3.view.ListFragment" - android:label="First Fragment" - tools:layout="@layout/list_fragment" /> - <fragment android:id="@+id/list_fragment" android:name="uk.co.blatech.blaupload3.view.ListFragment" - android:label="First Fragment" - tools:layout="@layout/list_fragment" /> + android:label="List Fragment" + tools:layout="@layout/list_fragment"> + <action + android:id="@+id/action_list_fragment_to_gallery_fragment" + app:destination="@id/gallery_fragment" + /> + </fragment> + <fragment + android:id="@+id/gallery_fragment" + android:name="uk.co.blatech.blaupload3.view.GalleryFragment" + android:label="Gallery Fragment" + tools:layout="@layout/gallery_fragment"> + <action + android:id="@+id/action_gallery_fragment_to_list_fragment" + app:destination="@id/gallery_fragment" + /> + </fragment> </navigation>
\ No newline at end of file |