<?xml version="1.0" encoding="utf-8"?>
<!--
  ~ SPDX-FileCopyrightText: 2020, microG Project Team
  ~ SPDX-License-Identifier: Apache-2.0
  -->

<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools">
    <PreferenceCategory
        android:key="prefcat_exposure_rpi_histogram"
        tools:title="@string/prefcat_exposure_rpis_histogram_title">
        <org.microg.gms.nearby.exposurenotification.ui.DotChartPreference
            android:key="pref_exposure_rpi_histogram"
            android:selectable="false"
            tools:layout="@layout/preference_dot_chart" />
    </PreferenceCategory>
    <PreferenceCategory android:layout="@layout/preference_category_no_label">
        <Preference
            android:key="pref_exposure_export_database"
            android:summary="@string/pref_exposure_rpi_export_summary"
            android:title="@string/pref_exposure_rpi_export_title" />
        <Preference
            android:key="pref_exposure_rpi_delete_all"
            android:summary="@string/pref_exposure_rpi_delete_all_summary"
            android:title="@string/pref_exposure_rpi_delete_all_title" />
    </PreferenceCategory>
    <PreferenceCategory android:layout="@layout/preference_category_no_label">
        <org.microg.gms.ui.TextPreference
            android:icon="@drawable/ic_info_outline"
            android:selectable="false"
            android:summary="@string/pref_exposure_rpis_details_summary" />
    </PreferenceCategory>
</PreferenceScreen>
