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

pref_data_sync.xml « xml « res « main « src « News-Android-App - github.com/nextcloud/news-android.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: bf2da08d758f99c09b760756de70be462d1b9277 (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
<androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto">

    <PreferenceCategory
        app:title="@string/pref_header_data_sync"
        app:iconSpaceReserved="false">

        <!--
             NOTE: Hide buttons to simplify the UI. Users can touch outside the dialog to
             dismiss it.
        -->
        <!-- NOTE: ListPreference's summary should be set to its value by the activity code. -->
        <!--
        <ListPreference
            android:defaultValue="180"
            android:entries="@array/pref_sync_frequency_titles"
            android:entryValues="@array/pref_sync_frequency_values"
            android:key="sync_frequency"
            android:negativeButtonText="@null"
            android:positiveButtonText="@null"
            android:title="@string/pref_title_sync_frequency" />
        -->
        <!--
             This preference simply launches an intent when selected. Use this UI sparingly, per
             design guidelines.
        -->

        <Preference
            android:key="pref_sync_settings"
            android:title="@string/action_sync_settings"
            app:iconSpaceReserved="false">
        </Preference>


        <!--
        <ListPreference
            android:defaultValue="100"
            android:entries="@array/pref_data_sync_max_items"
            android:entryValues="@array/pref_data_sync_max_items_values"
            android:key="sync_max_items"
            android:negativeButtonText="@null"
            android:positiveButtonText="@null"
            android:title="@string/pref_title_data_sync_max_items" />
        -->

        <Preference
            android:key="edt_clearCache"
            android:title="@string/pref_title_clearCache"
            app:iconSpaceReserved="false"/>


        <ListPreference
            android:defaultValue="0"
            android:entries="@array/pref_data_sync_image_cache"
            android:entryValues="@array/pref_data_sync_image_cache_values"
            android:key="lv_cacheImagesOffline"
            android:negativeButtonText="@null"
            android:positiveButtonText="@null"
            android:title="@string/pref_title_CacheImagesOffline"
            app:iconSpaceReserved="false"/>

        <!--
        <SwitchPreference
            android:key="cb_cacheImagesOffline"
            android:title="@string/pref_title_CacheImagesOffline" />
        -->

        <ListPreference
            android:defaultValue="500"
            android:entries="@array/pref_data_sync_max_cache_size"
            android:entryValues="@array/pref_data_sync_max_cache_size_values"
            android:key="sp_max_cache_size"
            android:negativeButtonText="@null"
            android:positiveButtonText="@null"
            android:title="@string/pref_title_Max_Cache_Size"
            app:iconSpaceReserved="false"/>

    </PreferenceCategory>

</androidx.preference.PreferenceScreen>