diff options
Diffstat (limited to 'app/src/main/res/navigation')
| -rw-r--r-- | app/src/main/res/navigation/nav_graph.xml | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/app/src/main/res/navigation/nav_graph.xml b/app/src/main/res/navigation/nav_graph.xml new file mode 100644 index 0000000..28b85fd --- /dev/null +++ b/app/src/main/res/navigation/nav_graph.xml @@ -0,0 +1,30 @@ +<?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" + app:startDestination="@id/login_fragment"> + + <fragment + android:id="@+id/login_fragment" + android:name="com.frannazario.proyectoandroid.LoginFragment" + android:label="Login" + tools:layout="@layout/fragment_login"> + + <action + android:id="@+id/navigate_from_loginfragment_to_signinfragment" + app:destination="@id/signin_fragment" /> + + </fragment> + + <fragment + android:id="@+id/signin_fragment" + android:name="com.frannazario.proyectoandroid.SigninFragment" + android:label="Sign in" + tools:layout="@layout/fragment_signin"> + + </fragment> + + + +</navigation>
\ No newline at end of file |