aboutsummaryrefslogtreecommitdiff
path: root/WordPress/src/main/res/xml/app_settings.xml
blob: 5367dd7127d0f6a178697061434aff0359e98773 (plain)
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
<?xml version="1.0" encoding="utf-8"?>

<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
                  android:key="@string/pref_key_app_settings_root">

    <org.wordpress.android.ui.prefs.DetailListPreference
        android:key="@string/pref_key_language"
        android:layout="@layout/preference_layout"
        android:title="@string/interface_language" />

    <SwitchPreference
        android:defaultValue="true"
        android:key="@string/pref_key_send_usage"
        android:layout="@layout/preference_layout"
        android:summary="@string/preference_send_usage_stats_summary"
        android:title="@string/preference_send_usage_stats" />

    <PreferenceCategory
        android:key="@string/pref_key_editor"
        android:layout="@layout/preference_category"
        android:title="@string/preference_editor">

        <SwitchPreference
            android:defaultValue="true"
            android:key="@string/pref_key_visual_editor_enabled"
            android:layout="@layout/preference_layout"
            android:title="@string/preference_show_visual_editor" />

    </PreferenceCategory>

    <PreferenceCategory
        android:key="@string/pref_key_passlock_section"
        android:layout="@layout/preference_category"
        android:persistent="false"
        android:title="@string/passcode_preference_title">

        <SwitchPreference
            android:key="@string/pref_key_passcode_toggle"
            android:layout="@layout/preference_layout"
            android:persistent="false"
            android:title="@string/passcode_turn_on" />

        <Preference
            android:key="@string/pref_key_change_passcode"
            android:layout="@layout/preference_layout"
            android:persistent="false"
            android:title="@string/passcode_change_passcode" />

    </PreferenceCategory>

    <PreferenceCategory
        android:key="@string/pref_key_about_section"
        android:layout="@layout/preference_category"
        android:title="@string/about_the_app">

        <Preference
            android:key="@string/pref_key_app_about"
            android:layout="@layout/preference_layout"
            android:title="@string/app_title" />

        <Preference
            android:key="@string/pref_key_oss_licenses"
            android:layout="@layout/preference_layout"
            android:title="@string/open_source_licenses" />

    </PreferenceCategory>

</PreferenceScreen>