+
+ <SwitchPreference
+ android:key="save_form_data_enabled"
+ android:title="@string/save_form_data_preference"
+ android:summary="@string/save_form_data_preference_summary"
+ android:defaultValue="false" />
+
+ <ListPreference
+ android:key="user_agent"
+ android:title="@string/user_agent"
+ android:entries="@array/user_agent_entries"
+ android:entryValues="@array/user_agent_entry_values"
+ android:defaultValue="PrivacyBrowser/1.0"
+ android:icon="@drawable/user_agent" />
+
+ <!-- android:inputType="textVisiblePassword" sets the keyboard to have a dedicated number row.-->
+ <EditTextPreference
+ android:key="custom_user_agent"
+ android:title="@string/custom_user_agent"
+ android:defaultValue="PrivacyBrowser/1.0"
+ android:inputType="textVisiblePassword|textMultiLine" />
+
+ <SwitchPreference
+ android:key="block_ads"
+ android:title="@string/block_ads"
+ android:summary="@string/block_ads_summary"
+ android:defaultValue="true" />
+
+ <SwitchPreference
+ android:key="incognito_mode"
+ android:title="@string/incognito_mode"
+ android:summary="@string/incognito_mode_summary"
+ android:defaultValue="false" />
+
+ <SwitchPreference
+ android:key="do_not_track"
+ android:title="@string/do_not_track"
+ android:summary="@string/do_not_track_summary"
+ android:defaultValue="false" />
+ </PreferenceCategory>
+
+ <PreferenceCategory
+ android:key="tor"
+ android:title="@string/tor" >
+
+ <SwitchPreference
+ android:key="proxy_through_orbot"
+ android:title="@string/proxy_through_orbot"
+ android:summary="@string/proxy_through_orbot_summary"
+ android:defaultValue="false" />
+
+ <EditTextPreference
+ android:key="tor_homepage"
+ android:title="@string/tor_homepage"
+ android:defaultValue="https://3g2upl4pq6kufc4m.onion"
+ android:inputType="textUri" />
+
+ <ListPreference
+ android:key="tor_search"
+ android:title="@string/tor_search"
+ android:entries="@array/tor_search_entries"
+ android:entryValues="@array/tor_search_entry_values"
+ android:defaultValue="https://3g2upl4pq6kufc4m.onion/html/?q=" />
+
+ <EditTextPreference
+ android:key="tor_search_custom_url"
+ android:title="@string/tor_search_custom_url"
+ android:defaultValue=""
+ android:inputType="textUri" />