1<?xml version="1.0" encoding="utf-8"?><!-- 2 ~ Copyright (C) 2023 The Android Open Source Project 3 ~ 4 ~ Licensed under the Apache License, Version 2.0 (the "License"); 5 ~ you may not use this file except in compliance with the License. 6 ~ You may obtain a copy of the License at 7 ~ 8 ~ http://www.apache.org/licenses/LICENSE-2.0 9 ~ 10 ~ Unless required by applicable law or agreed to in writing, software 11 ~ distributed under the License is distributed on an "AS IS" BASIS, 12 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 ~ See the License for the specific language governing permissions and 14 ~ limitations under the License. 15 ~ 16 ~ 17 --> 18 19<navigation xmlns:android="http://schemas.android.com/apk/res/android" 20 xmlns:app="http://schemas.android.com/apk/res-auto" 21 android:id="@+id/permissions_nav_graph"> 22 23 24 <fragment 25 android:id="@+id/unitFragment" 26 android:name="com.android.healthconnect.controller.dataentries.units.UnitsFragment" 27 android:label="@string/units_title" /> 28 29 <fragment 30 android:id="@+id/dataEntryDetailsFragment" 31 android:name="com.android.healthconnect.controller.entrydetails.DataEntryDetailsFragment" 32 android:label="@string/entry_details_title" > 33 <action 34 android:id="@+id/action_dataEntryDetailsFragment_to_unitFragment" 35 app:destination="@id/unitFragment" /> 36 </fragment> 37 38 <fragment 39 android:id="@+id/fitnessAppFragment" 40 android:label="@string/app_access_title" 41 android:name="com.android.healthconnect.controller.permissions.app.FitnessAppFragment"> 42 <argument 43 android:name="android.intent.extra.PACKAGE_NAME" 44 app:argType="string" /> 45 </fragment> 46 47</navigation>