
This is the most basic support for channeling all downloads through Tor or I2P. This does not include Orbot integration, so the use will have to know to start Orbot before using this. I don't know anything about I2P. closes #2367 https://dev.guardianproject.info/issues/2367 https://f-droid.org/repository/issues/?do=view_issue&issue=404 https://f-droid.org/repository/issues/?do=view_issue&issue=424
89 lines
3.5 KiB
XML
89 lines
3.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
|
<PreferenceCategory android:title="@string/updates">
|
|
<ListPreference android:title="@string/update_interval"
|
|
android:key="updateInterval"
|
|
android:defaultValue="24"
|
|
android:entries="@array/updateIntervalNames"
|
|
android:entryValues="@array/updateIntervalValues" />
|
|
<CheckBoxPreference android:title="@string/automatic_scan_wifi"
|
|
android:defaultValue="false"
|
|
android:key="updateOnWifiOnly" />
|
|
<CheckBoxPreference android:title="@string/notify"
|
|
android:defaultValue="true"
|
|
android:key="updateNotify" />
|
|
<EditTextPreference
|
|
android:defaultValue="14"
|
|
android:key="updateHistoryDays"
|
|
android:maxLength="2"
|
|
android:numeric="integer"
|
|
android:title="@string/update_history" />
|
|
</PreferenceCategory>
|
|
<PreferenceCategory android:title="@string/display">
|
|
<CheckBoxPreference android:title="@string/showPermissions"
|
|
android:defaultValue="false"
|
|
android:key="showPermissions"/>
|
|
<CheckBoxPreference android:title="@string/compactlayout"
|
|
android:defaultValue="false"
|
|
android:key="compactlayout"/>
|
|
<ListPreference android:title="@string/theme"
|
|
android:key="theme"
|
|
android:defaultValue="dark"
|
|
android:entries="@array/themeNames"
|
|
android:entryValues="@array/themeValues" />
|
|
</PreferenceCategory>
|
|
<PreferenceCategory android:title="@string/appcompatibility">
|
|
<CheckBoxPreference android:title="@string/show_incompat_versions"
|
|
android:defaultValue="false"
|
|
android:key="incompatibleVersions" />
|
|
<CheckBoxPreference android:title="@string/rooted"
|
|
android:defaultValue="true"
|
|
android:key="rooted" />
|
|
<CheckBoxPreference android:title="@string/ignoreTouch"
|
|
android:defaultValue="false"
|
|
android:key="ignoreTouchscreen" />
|
|
</PreferenceCategory>
|
|
<PreferenceCategory android:title="@string/local_repo">
|
|
<CheckBoxPreference
|
|
android:defaultValue="true"
|
|
android:key="localRepoBonjour"
|
|
android:title="@string/local_repo_bonjour" />
|
|
<EditTextPreference
|
|
android:key="localRepoName"
|
|
android:title="@string/local_repo_name" />
|
|
<CheckBoxPreference
|
|
android:defaultValue="false"
|
|
android:key="localRepoHttps"
|
|
android:title="@string/local_repo_https" />
|
|
</PreferenceCategory>
|
|
<PreferenceCategory android:title="@string/other">
|
|
<CheckBoxPreference android:title="@string/cache_downloaded"
|
|
android:defaultValue="false"
|
|
android:key="cacheDownloaded" />
|
|
<CheckBoxPreference android:title="@string/expert"
|
|
android:defaultValue="false"
|
|
android:key="expert" />
|
|
<CheckBoxPreference android:title="@string/root_installer"
|
|
android:defaultValue="false"
|
|
android:key="rootInstaller" />
|
|
<CheckBoxPreference android:title="@string/system_installer"
|
|
android:defaultValue="false"
|
|
android:key="systemInstaller" />
|
|
</PreferenceCategory>
|
|
<PreferenceCategory android:title="@string/proxy" >
|
|
<CheckBoxPreference
|
|
android:defaultValue="false"
|
|
android:key="enableProxy"
|
|
android:title="@string/enable_proxy_title"
|
|
android:summary="@string/enable_proxy_summary" />
|
|
<EditTextPreference
|
|
android:key="proxyHost"
|
|
android:title="@string/proxy_host"
|
|
android:summary="@string/proxy_host_summary" />
|
|
<EditTextPreference
|
|
android:key="proxyPort"
|
|
android:title="@string/proxy_port"
|
|
android:summary="@string/proxy_port_summary" />
|
|
</PreferenceCategory>
|
|
</PreferenceScreen>
|