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: 7f2049ef79e112e6840f583eda1855c0e90d5563 (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
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">

    <Preference
        android:icon="@drawable/ic_account_circle_grey_24dp"
        android:title="@string/settings_server_settings">
        <intent
            android:targetClass="it.niedermann.owncloud.notes.android.activity.SettingsActivity"
            android:targetPackage="it.niedermann.owncloud.notes" />
    </Preference>

    <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:summary="%s"
        android:title="@string/settings_note_mode" />

    <SwitchPreference
        android:defaultValue="@string/pref_value_theme_light"
        android:icon="@drawable/ic_brightness_2_grey_24dp"
        android:key="@string/pref_key_theme"
        android:summary="%s"
        android:title="@string/settings_theme_title" />

    <SwitchPreference
        android:defaultValue="@string/pref_value_wifi_and_mobile"
        android:icon="@drawable/ic_sync_black_24dp"
        android:key="@string/pref_key_wifi_only"
        android:summary="%s"
        android:title="@string/settings_theme_wifi_only" />

    <PreferenceScreen
        android:key="@string/pref_key_certs"
        android:persistent="false"
        android:icon="@drawable/ic_https_grey_24dp"
        android:title="@string/settings_cert_category">
        <CheckBoxPreference
            android:defaultValue="true"
            android:key="@string/pref_key_trust_system_certs"
            android:title="@string/settings_cert_trust_system"
            android:summaryOn="@string/settings_cert_trust_system_on"
            android:summaryOff="@string/settings_cert_trust_system_off" />
        <Preference
            android:key="@string/pref_key_reset_trust"
            android:title="@string/settings_cert_reset"
            android:summary="@string/settings_cert_reset_summary" />
    </PreferenceScreen>

</PreferenceScreen>