Skip to content

Instantly share code, notes, and snippets.

@zawadz88
Created April 12, 2019 16:00
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 zawadz88/593eb03927bcd67dc8697bf9772f3fc1 to your computer and use it in GitHub Desktop.
Save zawadz88/593eb03927bcd67dc8697bf9772f3fc1 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout 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:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".MainActivity">
<fragment
android:id="@+id/nav_host_fragment"
android:name="com.github.zawadz88.navigationcomponentplayground.InjectingNavHostFragment"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:defaultNavHost="true"
app:navGraph="@navigation/nav_graph" />
</FrameLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment