xref: /aosp_15_r20/system/extras/simpleperf/demo/SimpleperfExampleCpp/app/src/main/res/navigation/nav_graph.xml (revision 288bf5226967eb3dac5cce6c939ccc2a7f2b4fe5)
1<?xml version="1.0" encoding="utf-8"?>
2<navigation xmlns:android="http://schemas.android.com/apk/res/android"
3    xmlns:app="http://schemas.android.com/apk/res-auto"
4    xmlns:tools="http://schemas.android.com/tools"
5    android:id="@+id/nav_graph"
6    app:startDestination="@id/FirstFragment">
7
8    <fragment
9        android:id="@+id/FirstFragment"
10        android:name="simpleperf.example.cpp.FirstFragment"
11        android:label="@string/first_fragment_label"
12        tools:layout="@layout/fragment_first">
13
14        <action
15            android:id="@+id/action_FirstFragment_to_SecondFragment"
16            app:destination="@id/SecondFragment" />
17    </fragment>
18    <fragment
19        android:id="@+id/SecondFragment"
20        android:name="simpleperf.example.cpp.SecondFragment"
21        android:label="@string/second_fragment_label"
22        tools:layout="@layout/fragment_second">
23
24        <action
25            android:id="@+id/action_SecondFragment_to_FirstFragment"
26            app:destination="@id/FirstFragment" />
27    </fragment>
28</navigation>