Welcome to mirror list, hosted at ThFree Co, Russian Federation.

preferences.xml « xml « res « main « src « app - github.com/stefan-niedermann/nextcloud-notes.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 3fc5b4f9921ff13420d66dc64e16b6c4459fea28 (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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto">
    <it.niedermann.owncloud.notes.branding.BrandedPreferenceCategory

        app:layout="@layout/item_preference_category"
        app:title="@string/simple_synchronization">

        <it.niedermann.owncloud.notes.branding.BrandedSwitchPreference
            android:defaultValue="@string/pref_value_wifi_and_mobile"
            android:icon="@drawable/ic_network_wifi_grey600_24dp"
            android:key="@string/pref_key_wifi_only"
            android:layout="@layout/item_pref"
            android:title="@string/settings_wifi_only" />

        <ListPreference
            android:defaultValue="@string/pref_value_sync_off"
            android:entries="@array/sync_entries"
            android:entryValues="@array/sync_values"
            android:icon="@drawable/ic_sync_black_24dp"
            android:key="@string/pref_key_background_sync"
            android:layout="@layout/item_pref"
            android:summary="%s"
            android:title="@string/settings_background_sync" />
    </it.niedermann.owncloud.notes.branding.BrandedPreferenceCategory>

    <it.niedermann.owncloud.notes.branding.BrandedPreferenceCategory

        app:layout="@layout/item_preference_category"
        app:title="@string/simple_appearance">

        <ListPreference
            android:defaultValue="@string/pref_value_theme_system_default"
            android:entries="@array/darkmode_entries"
            android:entryValues="@array/darkMode_values"
            android:icon="@drawable/ic_brightness_2_grey_24dp"
            android:key="@string/pref_key_theme"
            android:layout="@layout/item_pref"
            android:summary="%s"
            android:title="@string/settings_theme_title" />

        <it.niedermann.owncloud.notes.branding.BrandedSwitchPreference
            android:defaultValue="true"
            android:icon="@drawable/ic_color_lens_grey600_24dp"
            android:key="@string/pref_key_branding"
            android:layout="@layout/item_pref"
            android:title="@string/settings_branding" />

    </it.niedermann.owncloud.notes.branding.BrandedPreferenceCategory>
    <it.niedermann.owncloud.notes.branding.BrandedPreferenceCategory
        android:key="@string/pref_category_security"
        app:layout="@layout/item_preference_category"
        app:title="@string/simple_security">
        <it.niedermann.owncloud.notes.branding.BrandedSwitchPreference
            android:defaultValue="@string/pref_value_lock"
            android:icon="@drawable/ic_lock_grey600_24dp"
            android:key="@string/pref_key_lock"
            android:layout="@layout/item_pref"
            android:summary="@string/simple_beta"
            android:title="@string/settings_lock" />
    </it.niedermann.owncloud.notes.branding.BrandedPreferenceCategory>

    <it.niedermann.owncloud.notes.branding.BrandedPreferenceCategory

        app:layout="@layout/item_preference_category"
        app:title="@string/simple_behavior">
        <it.niedermann.owncloud.notes.branding.BrandedSwitchPreference
            android:defaultValue="@string/pref_value_font_normal"
            android:icon="@drawable/ic_text_format_grey600_24dp"
            android:key="@string/pref_key_font"
            android:layout="@layout/item_pref"
            android:title="@string/settings_font_title" />
        <ListPreference
            android:defaultValue="@string/pref_value_mode_edit"
            android:entries="@array/noteMode_entries"
            android:entryValues="@array/noteMode_values"
            android:icon="@drawable/ic_remove_red_eye_grey_24dp"
            android:key="@string/pref_key_note_mode"
            android:layout="@layout/item_pref"
            android:summary="%s"
            android:title="@string/settings_note_mode" />

        <ListPreference
            android:defaultValue="@string/pref_value_font_size_medium"
            android:entries="@array/fontSize_entries"
            android:entryValues="@array/fontSize_values"
            android:icon="@drawable/ic_format_size_black_24dp"
            android:key="@string/pref_key_font_size"
            android:layout="@layout/item_pref"
            android:summary="%s"
            android:title="@string/settings_font_size" />
    </it.niedermann.owncloud.notes.branding.BrandedPreferenceCategory>
</PreferenceScreen>