summaryrefslogtreecommitdiff
path: root/org.fox.ttcomics/src/main/res/xml/preferences.xml
blob: c38e0b4a7f45612a11e760e98201c861a3110644 (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
94
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" >

    <PreferenceCategory android:title="@string/prefs_general" >
        <Preference
            android:key="comics_directory"
            android:hint="@string/comics_directory_default"
            android:summary="@string/prefs_comics_directory_summary"
            android:title="@string/prefs_comics_directory" >
        </Preference>

        <Preference
            android:key="open_storage_dir"
            android:summary="@string/prefs_open_storage_dir_summary"
            android:title="@string/prefs_open_storage_dir" >
        </Preference>

        <org.fox.ttcomics2.utils.LessBrokenSwitchPreference
            android:defaultValue="true"
            android:key="enable_fab"
            android:summary="Show floating action button"
            android:title="Enable FAB" />
    </PreferenceCategory>
    <PreferenceCategory android:title="@string/prefs_sync" >    
        <org.fox.ttcomics2.utils.LessBrokenSwitchPreference
            android:defaultValue="false"
            android:key="use_position_sync"
            android:title="@string/prefs_use_position_sync" 
            android:summary="@string/prefs_use_position_sync_summary" 
            />

        <Preference
            android:dependency="use_position_sync"
            android:key="choose_sync_account"
            android:title="Choose sync account"
            />

        <Preference
            android:dependency="use_position_sync"
            android:key="clear_sync_data"
            android:title="@string/prefs_clear_sync_data"
            android:summary="@string/prefs_clear_sync_data_summary" >
        </Preference>

        <Preference
            android:key="privacy_policy"
            android:enabled="true"
            android:title="@string/privacy_policy" />

    </PreferenceCategory>
        	
    <PreferenceCategory android:title="@string/prefs_reading" android:key="prefs_reading">
        <org.fox.ttcomics2.utils.LessBrokenSwitchPreference
            android:defaultValue="false"
            android:key="use_dark_theme"
            android:title="@string/prefs_dark_theme" />
        
        <!-- <org.fox.ttcomics2.utils.LessBrokenSwitchPreference
            android:defaultValue="false"
            android:key="dim_status_bar"
            android:title="@string/prefs_dim_status_bar" /> -->
        
        <org.fox.ttcomics2.utils.LessBrokenSwitchPreference
            android:defaultValue="false"
            android:key="use_full_screen"
            android:title="@string/prefs_use_full_screen" />

        <org.fox.ttcomics2.utils.LessBrokenSwitchPreference
            android:defaultValue="false"
            android:key="fit_to_width"
            android:title="@string/prefs_fit_to_width" />
        
        <org.fox.ttcomics2.utils.LessBrokenSwitchPreference
            android:defaultValue="false"
            android:key="prevent_screen_sleep"            
            android:title="@string/prefs_prevent_screen_sleep" />

        <org.fox.ttcomics2.utils.LessBrokenSwitchPreference
            android:defaultValue="true"
            android:key="use_page_transformer"
            android:title="@string/prefs_use_page_transformer" />

	</PreferenceCategory>

    <Preference
        android:key="version"
        android:enabled="false"
        android:title="@string/prefs_version_title" />

    <Preference
        android:key="build_timestamp"
        android:enabled="false"
        android:title="@string/prefs_build_timestamp_title" />
</PreferenceScreen>