Skip to content

Instantly share code, notes, and snippets.

@gogeta95
Last active August 15, 2018 16:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gogeta95/aab40d0b33afc7ec56d7b527f8d14e03 to your computer and use it in GitHub Desktop.
Save gogeta95/aab40d0b33afc7ec56d7b527f8d14e03 to your computer and use it in GitHub Desktop.
<?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"
app:startDestination="@id/splashFragment">
<fragment
android:id="@+id/splashFragment"
android:name="com.example.navigationsample.fragments.SplashFragment"
android:label="SplashFragment"
tools:layout="@layout/layout_splash">
<action
android:id="@+id/action_splashFragment_to_homeFragment"
app:destination="@id/homeFragment"/>
</fragment>
<fragment
android:id="@+id/homeFragment"
android:name="com.example.navigationsample.fragments.HomeFragment"
android:label="HomeFragment"
tools:layout="@layout/layout_home">
</fragment>
</navigation>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment