tor-android/res/xml/preferences.xml

273 lines
9.1 KiB
XML
Raw Normal View History

<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"/>
2012-01-26 01:09:44 +00:00
<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"/>
<CheckBoxPreference
android:defaultValue="true"
android:key="pref_expanded_notifications"
android:summary="@string/pref_use_expanded_notifications"
android:enabled="true"
android:title="@string/pref_use_expanded_notifications_title"/>
<CheckBoxPreference
android:defaultValue="true"
android:key="pref_allow_background_starts"
android:summary="@string/pref_allow_background_starts_summary"
android:title="@string/pref_allow_background_starts_title"/>
2012-02-24 05:13:27 +00:00
<ListPreference android:title="@string/set_locale_title"
android:key="pref_default_locale"
android:summary="@string/set_locale_summary"
android:defaultValue="en">
</ListPreference>
</PreferenceCategory>
<PreferenceCategory android:title="@string/pref_trans_proxy_group">
2015-02-02 16:26:43 +00:00
<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="false"
android:key="pref_transparent"
android:title="@string/pref_trans_proxy_title"
android:summary="@string/pref_trans_proxy_summary"
android:dependency="has_root"
android:enabled="true"/>
<CheckBoxPreference
android:defaultValue="false"
android:key="pref_transparent_all"
android:summary="@string/pref_transparent_all_summary"
android:enabled="true"
android:dependency="has_root"
android:title="@string/pref_transparent_all_title"/>
<Preference
android:defaultValue=""
android:key="pref_transparent_app_list"
2011-07-25 14:51:50 +00:00
android:title="@string/pref_select_apps"
android:summary="@string/pref_select_apps_summary"
android:dependency="has_root"
android:enabled="true"/>
2011-06-02 20:21:38 +00:00
<CheckBoxPreference
android:defaultValue="false"
android:key="pref_transparent_tethering"
android:summary="@string/pref_transparent_tethering_summary"
android:enabled="true"
android:dependency="has_root"
2011-06-02 20:21:38 +00:00
android:title="@string/pref_transparent_tethering_title"/>
</PreferenceCategory>
2011-07-25 14:51:50 +00:00
<PreferenceCategory android:title="@string/pref_node_configuration"
android:summary="@string/pref_node_configuration_summary">
<EditTextPreference android:key="pref_entrance_nodes"
2011-07-25 14:51:50 +00:00
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">
2012-02-24 05:13:27 +00:00
<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"/>
<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"
android:inputType="textMultiLine|textNoSuggestions"
/>
</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"
/>
2010-03-06 01:07:19 +00:00
<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"
2010-03-06 01:07:19 +00:00
/>
</PreferenceCategory>
<PreferenceCategory android:title="ReachableAddresses">
2010-03-06 01:27:51 +00:00
<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">
2011-10-28 04:31:26 +00:00
<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"
/>
2013-04-03 19:48:16 +00:00
<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"
/>
2011-10-28 04:31:26 +00:00
</PreferenceCategory>
<PreferenceCategory android:title="Debug">
<EditTextPreference android:key="pref_socks"
android:title="@string/pref_socks_title"
android:summary="@string/pref_socks_summary"
android:dialogTitle="@string/pref_socks_dialog"
android:defaultValue="9050"
/>
<EditTextPreference android:key="pref_transport"
android:title="@string/pref_transport_title"
android:summary="@string/pref_transport_summary"
android:dialogTitle="@string/pref_transport_dialog"
android:defaultValue="9040"
/>
<EditTextPreference android:key="pref_dnsport"
android:title="@string/pref_dnsport_title"
android:summary="@string/pref_dnsport_summary"
android:dialogTitle="@string/pref_dnsport_dialog"
android:defaultValue="5400"
/>
<EditTextPreference android:key="pref_custom_torrc"
android:title="@string/pref_torrc_title"
android:summary="@string/pref_torrc_summary"
android:dialogTitle="@string/pref_torrc_dialog"
android:defaultValue=""
/>
<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="true"
android:key="pref_disable_network"
android:summary="@string/pref_disable_network_summary"
android:enabled="true"
android:title="@string/pref_disable_network_title"/>
<CheckBoxPreference
android:defaultValue="false"
android:key="pref_transproxy_refresh"
android:summary="@string/pref_transproxy_refresh_summary"
android:enabled="true"
android:title="@string/pref_transproxy_refresh_title"/>
<Preference
android:key="pref_transproxy_flush"
android:summary="@string/pref_transproxy_flush_summary"
android:enabled="true"
android:title="@string/pref_transproxy_flush_title"/>
</PreferenceCategory>
</PreferenceScreen>