Navigation Component Formatting Standards

Fragments

<fragment
    android:id="@+id/topic_dest"
    android:name="io.vokal.topic.TopicFragment"
    android:label="@string/topic"
    tools:layout="@layout/fragment_topic"/>

Navigation 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"
    android:id="@+id/feed_graph"
    app:startDestination="@+id/pager_dest">
    ...
</navigation>

Actions

Actions are used to navigate from one destination into another. Global actions
are handy to be reused by any destination going into a specific destination

Additional Information

developer.android.com

10 best practices for moving to a single Activity

Navigation Codelab