tor-android/res/xml/preferences.xml

236 lines
8.0 KiB
XML

<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
<PreferenceCategory android:title="@string/pref_general_group">
<CheckBoxPreference
android:defaultValue="true"
android:key="pref_start_boot"
android:title="@string/pref_start_boot_title"
android:summary="@string/pref_start_boot_summary"
android:enabled="true"/>
<CheckBoxPreference
android:defaultValue="false"
android:key="has_root"
android:title="@string/pref_has_root"
android:summary="@string/pref_has_root_summary"
android:enabled="true"/>
<CheckBoxPreference
android:defaultValue="true"
android:key="pref_persistent_notifications"
android:summary="@string/pref_use_persistent_notifications"
android:enabled="true"
android:title="@string/pref_use_persistent_notifications_title"/>
<ListPreference android:title="@string/set_locale_title"
android:key="pref_default_locale"
android:entryValues="@array/languages_values"
android:entries="@array/languages"
android:summary="@string/set_locale_summary"
android:defaultValue="en">
</ListPreference>
<!--
<CheckBoxPreference
android:defaultValue="false"
android:key="use_whispercore"
android:title="@string/pref_use_whispercore"
android:summary="@string/pref_use_whispercore_summary"
android:enabled="true"/>
-->
</PreferenceCategory>
<PreferenceCategory android:title="@string/pref_trans_proxy_group">
<CheckBoxPreference
android:defaultValue="false"
android:key="pref_transparent"
android:title="@string/pref_trans_proxy_title"
android:summary="@string/pref_trans_proxy_summary"
android:enabled="true"/>
<CheckBoxPreference
android:defaultValue="false"
android:key="pref_transparent_all"
android:summary="@string/pref_transparent_all_summary"
android:enabled="true"
android:title="@string/pref_transparent_all_title"/>
<Preference
android:defaultValue=""
android:key="pref_transparent_app_list"
android:title="@string/pref_select_apps"
android:summary="@string/pref_select_apps_summary"
android:enabled="true"/>
<CheckBoxPreference
android:defaultValue="false"
android:key="pref_transparent_tethering"
android:summary="@string/pref_transparent_tethering_summary"
android:enabled="true"
android:title="@string/pref_transparent_tethering_title"/>
</PreferenceCategory>
<PreferenceCategory android:title="@string/pref_node_configuration"
android:summary="@string/pref_node_configuration_summary">
<EditTextPreference android:key="pref_entrance_nodes"
android:title="@string/pref_entrance_node"
android:summary="@string/pref_entrance_node_summary"
android:dialogTitle="@string/pref_entrance_node_dialog"
/>
<EditTextPreference android:key="pref_exit_nodes"
android:title="@string/exit_nodes"
android:summary="@string/fingerprints_nicks_countries_and_addresses_for_the_last_hop"
android:dialogTitle="@string/enter_exit_nodes"
/>
<EditTextPreference android:key="pref_exclude_nodes"
android:title="@string/exclude_nodes"
android:summary="@string/fingerprints_nicks_countries_and_addresses_to_exclude"
android:dialogTitle="@string/enter_exclude_nodes"
/>
<CheckBoxPreference android:defaultValue="false"
android:title="@string/strict_nodes" android:key="pref_strict_nodes"
android:summary="@string/use_only_these_specified_nodes"/>
</PreferenceCategory>
<PreferenceCategory android:title="@string/bridges">
<CheckBoxPreference android:defaultValue="false"
android:title="@string/use_bridges" android:key="pref_bridges_enabled"
android:summary="@string/enable_alternate_entrance_nodes_into_the_tor_network"/>
<CheckBoxPreference android:key="pref_bridges_obfuscated"
android:defaultValue="false"
android:title="@string/bridges_obfuscated"
android:summary="@string/enable_if_configured_bridges_are_obfuscated_bridges"/>
<EditTextPreference android:key="pref_bridges_list"
android:title="@string/bridges"
android:summary="@string/ip_address_and_port_of_bridges"
android:dialogTitle="@string/enter_bridge_addresses"
android:defaultValue="@string/default_bridges"
/>
</PreferenceCategory>
<PreferenceCategory android:title="@string/relays">
<CheckBoxPreference android:key="pref_or"
android:defaultValue="false"
android:title="@string/relaying"
android:summary="@string/enable_your_device_to_be_a_non_exit_relay"
android:enabled="true"
/>
<EditTextPreference android:key="pref_or_port"
android:defaultValue="9001"
android:title="@string/relay_port"
android:summary="@string/listening_port_for_your_tor_relay"
android:dialogTitle="@string/enter_or_port"
/>
<EditTextPreference android:key="pref_or_nickname"
android:defaultValue="OrbotRelay"
android:title="@string/relay_nickname"
android:summary="@string/the_nickname_for_your_tor_relay"
android:dialogTitle="@string/enter_a_custom_relay_nickname"
/>
</PreferenceCategory>
<PreferenceCategory android:title="ReachableAddresses">
<CheckBoxPreference
android:key="pref_reachable_addresses"
android:defaultValue="false"
android:title="@string/reachable_addresses"
android:summary="@string/run_as_a_client_behind_a_firewall_with_restrictive_policies"
android:enabled="true"></CheckBoxPreference>
<EditTextPreference
android:key="pref_reachable_addresses_ports"
android:defaultValue="*:80,*:443"
android:title="@string/reachable_ports"
android:summary="@string/ports_reachable_behind_a_restrictive_firewall"
android:dialogTitle="@string/enter_ports"
/>
</PreferenceCategory>
<PreferenceCategory android:title="@string/pref_hs_group">
<CheckBoxPreference android:title="@string/enable_hidden_services"
android:summary="@string/run_servers_accessible_via_the_tor_network" android:key="pref_hs_enable"></CheckBoxPreference>
<EditTextPreference android:summary="@string/enter_localhost_ports_for_hidden_services"
android:title="@string/hidden_service_ports" android:enabled="false" android:key="pref_hs_ports"></EditTextPreference>
<EditTextPreference android:key="pref_hs_hostname"
android:summary="@string/the_addressable_name_for_your_hidden_service_generated_automatically_"
android:title=".Onion Hostname"></EditTextPreference>
</PreferenceCategory>
<PreferenceCategory android:title="@string/pref_proxy_title">
<EditTextPreference android:key="pref_proxy_type"
android:title="@string/pref_proxy_type_title"
android:summary="@string/pref_proxy_type_summary"
android:dialogTitle="@string/pref_proxy_type_dialog"
/>
<EditTextPreference android:key="pref_proxy_host"
android:title="@string/pref_proxy_host_title"
android:summary="@string/pref_proxy_host_summary"
android:dialogTitle="@string/pref_proxy_host_dialog"
/>
<EditTextPreference android:key="pref_proxy_port"
android:title="@string/pref_proxy_port_title"
android:summary="@string/pref_proxy_port_summary"
android:dialogTitle="@string/pref_proxy_port_dialog"
/>
<EditTextPreference android:key="pref_proxy_username"
android:title="@string/pref_proxy_username_title"
android:summary="@string/pref_proxy_username_summary"
android:dialogTitle="@string/pref_proxy_username_dialog"
/>
<EditTextPreference android:key="pref_proxy_password"
android:title="@string/pref_proxy_password_title"
android:summary="@string/pref_proxy_password_summary"
android:dialogTitle="@string/pref_proxy_password_dialog"
/>
</PreferenceCategory>
<PreferenceCategory android:title="Debug">
<CheckBoxPreference
android:key="pref_enable_logging"
android:defaultValue="false"
android:title="Debug Log"
android:summary="@string/enable_debug_log_to_output_must_use_adb_or_alogcat_to_view_"
android:enabled="true"></CheckBoxPreference>
<CheckBoxPreference
android:defaultValue="false"
android:key="pref_use_sys_iptables"
android:summary="@string/pref_use_sys_iptables_summary"
android:enabled="true"
android:title="@string/pref_use_sys_iptables_title"/>
<!--
<CheckBoxPreference
android:defaultValue="false"
android:key="pref_transparent_port_fallback"
android:summary="@string/pref_transparent_port_fallback_summary"
android:enabled="true"
android:title="@string/pref_transparent_port_fallback_title"/>
<EditTextPreference android:key="pref_port_list"
android:defaultValue="80,443,8080,8888,8443"
android:title="@string/pref_transparent_port_title"
android:summary="@string/pref_transparent_port_summary"
android:dialogTitle="@string/pref_transparent_port_dialog"
/>
-->
</PreferenceCategory>
</PreferenceScreen>