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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<?xml version="1.0" encoding="utf-8"?>
<androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
 
    <SwitchPreferenceCompat
        android:defaultValue="false"
        android:icon="@drawable/ic_hearing"
        android:key="pref_galaxy_buds_live_anc"
        android:layout="@layout/preference_checkbox"
        android:summary="@string/prefs_active_noise_cancelling_summary"
        android:title="@string/prefs_active_noise_cancelling" />
 
 
    <ListPreference
        android:entries="@array/galaxy_buds_live_equalizer_modes"
        android:entryValues="@array/galaxy_buds_live_equalizer_values"
        android:icon="@drawable/ic_equalizer"
        android:key="pref_galaxy_buds_equalizer_mode"
        android:summary="%s"
        android:title="@string/prefs_equalizer_preset" />
 
    <PreferenceScreen
        android:icon="@drawable/ic_touch"
        android:key="prefs_galaxy_touch_options"
        android:persistent="false"
        android:title="@string/prefs_galaxy_touch_options">
        <PreferenceCategory android:title="@string/prefs_galaxy_touch_options">
            <SwitchPreferenceCompat
                android:defaultValue="false"
                android:disableDependentsState="true"
                android:icon="@drawable/ic_lock_open"
                android:key="pref_galaxy_buds_lock_touch"
                android:layout="@layout/preference_checkbox"
                android:summary="@string/prefs_touch_lock_summary"
                android:title="@string/prefs_touch_lock" />
            <ListPreference
                android:dependency="pref_galaxy_buds_lock_touch"
                android:entries="@array/galaxy_buds_live_touch_options_left"
                android:entryValues="@array/galaxy_buds_live_touch_options_values"
                android:icon="@drawable/ic_touch"
                android:key="pref_galaxy_buds_touch_left"
                android:summary="%s"
                android:title="@string/prefs_left" />
            <ListPreference
                android:dependency="pref_galaxy_buds_lock_touch"
                android:entries="@array/galaxy_buds_live_touch_options_right"
                android:entryValues="@array/galaxy_buds_live_touch_options_values"
                android:icon="@drawable/ic_touch"
                android:key="pref_galaxy_buds_touch_right"
                android:summary="%s"
                android:title="@string/prefs_right" />
        </PreferenceCategory>
    </PreferenceScreen>
    <PreferenceCategory android:title="@string/prefs_galaxy_buds_experimental">
        <SwitchPreferenceCompat
            android:defaultValue="false"
            android:icon="@drawable/ic_videogame"
            android:key="pref_galaxy_buds_game_mode"
            android:layout="@layout/preference_checkbox"
            android:summary="@string/prefs_game_mode_summary"
            android:title="@string/prefs_game_mode" />
 
        <SwitchPreferenceCompat
            android:defaultValue="false"
            android:icon="@drawable/ic_engineering"
            android:key="pref_galaxy_buds_live_pressure_relief"
            android:layout="@layout/preference_checkbox"
            android:summary="@string/pressure_relief_summary"
            android:title="@string/prefs_pressure_relief" />
    </PreferenceCategory>
 
</androidx.preference.PreferenceScreen>