wangzhibo
4 天以前 ae6f40460dcd56af6c5f60ba52c883854c3bac55
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?xml version="1.0" encoding="utf-8"?>
<androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
 
    <PreferenceScreen
        android:icon="@drawable/baseline_merge_24"
        android:title="@string/pref_title_fossil_hr_navigation_instructions"
        android:summary="@string/pref_summary_fossil_hr_navigation_instructions"
        android:key="navigation_app_config">
 
        <SwitchPreferenceCompat
            android:defaultValue="true"
            android:key="fossil_hr_nav_auto_foreground"
            android:layout="@layout/preference_checkbox"
            android:title="@string/pref_title_fossil_hr_nav_foreground"
            android:summary="@string/pref_summary_fossil_hr_nav_foreground"
            android:icon="@drawable/ic_info"/>
        <SwitchPreferenceCompat
            android:defaultValue="true"
            android:key="fossil_hr_nav_vibrate"
            android:layout="@layout/preference_checkbox"
            android:title="@string/pref_title_fossil_hr_nav_vibrate"
            android:summary="@string/pref_summary_fossil_hr_nav_vibrate"
            android:icon="@drawable/ic_action_find_lost_device"/>
 
    </PreferenceScreen>
 
</androidx.preference.PreferenceScreen>