• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?><!--
2  Copyright (C) 2022 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<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
17    xmlns:app="http://schemas.android.com/apk/res-auto">
18    <com.android.settingslib.widget.BannerMessagePreferenceGroup
19        android:key="banner_group"
20        app:expandTitle="@string/banner_group_more_items"
21        app:collapseTitle="@string/banner_group_fewer_items"
22        app:collapseIcon="?attr/collapseIcon"
23        android:order="0"/>
24    <com.android.settingslib.widget.ZeroStatePreference
25        android:key="no_recent_access"
26        android:title="@string/recent_access_empty_state_title"
27        android:icon="?attr/accessHistoryIcon"
28        android:summary="@string/recent_access_empty_state_description"
29        app:isPreferenceVisible="false"
30        android:order="1"/>
31    <PreferenceCategory
32        android:key="recent_access"
33        android:title="@string/recent_access_header"
34        android:order="2"/>
35    <PreferenceCategory
36        android:key="permissions_and_data_category"
37        android:title="@string/permissions_and_data_header"
38        android:order="3">
39        <com.android.healthconnect.controller.shared.preference.HealthPreference
40            android:key="connected_apps"
41            android:icon="?attr/appPermissionsIcon"
42            android:title="@string/connected_apps_title"/>
43        <com.android.healthconnect.controller.shared.preference.HealthPreference
44            android:key="data_and_access"
45            android:icon="?attr/dataAndAccessIcon"
46            android:title="@string/data_title" />
47        <com.android.healthconnect.controller.shared.preference.HealthPreference
48            android:key="manage_data"
49            android:icon="?attr/manageDataIcon"
50            android:title="@string/manage_data_section"/>
51        <com.android.healthconnect.controller.shared.preference.HealthPreference
52            android:key="medical_data"
53            android:icon="?attr/dataAndAccessIcon"
54            android:title="@string/browse_medical_data"
55            android:summary="@string/browse_medical_data_subtitle"/>
56    </PreferenceCategory>
57</PreferenceScreen>
58