2011-12-20 18:20:44 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2013-01-07 05:38:36 +00:00
|
|
|
|
2011-12-20 18:20:44 +00:00
|
|
|
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
2012-09-20 02:56:04 +00:00
|
|
|
<PreferenceCategory android:title="@string/preferences__use_settings">
|
2011-12-20 18:20:44 +00:00
|
|
|
<CheckBoxPreference android:defaultValue="true"
|
|
|
|
android:key="pref_all_sms"
|
2012-09-20 02:56:04 +00:00
|
|
|
android:summary="@string/preferences__use_textsecure_for_viewing_and_storing_all_incoming_text_messages"
|
2012-09-22 19:53:56 +00:00
|
|
|
android:title="@string/preferences__pref_all_sms_title" />
|
2011-12-20 18:20:44 +00:00
|
|
|
|
|
|
|
<CheckBoxPreference android:defaultValue="true"
|
|
|
|
android:key="pref_all_mms"
|
2012-09-20 02:56:04 +00:00
|
|
|
android:summary="@string/preferences__use_textsecure_for_viewing_and_storing_all_incoming_multimedia_messages"
|
2012-09-22 19:53:56 +00:00
|
|
|
android:title="@string/preferences__pref_all_mms_title" />
|
2012-07-20 02:23:49 +00:00
|
|
|
|
2011-12-20 18:20:44 +00:00
|
|
|
</PreferenceCategory>
|
|
|
|
|
2013-01-10 05:06:56 +00:00
|
|
|
<PreferenceCategory android:title="@string/preferences__delivery_reports">
|
2013-01-07 05:38:36 +00:00
|
|
|
<CheckBoxPreference android:defaultValue="false"
|
|
|
|
android:key="pref_delivery_report_sms"
|
2013-01-10 05:06:56 +00:00
|
|
|
android:summary="@string/preferences__request_a_delivery_report_for_each_sms_message_you_send"
|
|
|
|
android:title="@string/preferences__sms_delivery_reports" />
|
|
|
|
</PreferenceCategory>
|
|
|
|
|
|
|
|
<PreferenceCategory android:title="@string/preferences__storage">
|
|
|
|
<CheckBoxPreference android:defaultValue="false"
|
|
|
|
android:key="pref_trim_threads"
|
|
|
|
android:summary="@string/preferences__automatically_delete_older_messages_once_a_conversation_thread_exceeds_a_specified_length"
|
|
|
|
android:title="@string/preferences__delete_old_messages" />
|
|
|
|
|
|
|
|
<EditTextPreference android:defaultValue="500"
|
|
|
|
android:key="pref_trim_length"
|
|
|
|
android:title="@string/preferences__conversation_length_limit"
|
|
|
|
android:inputType="number"
|
|
|
|
android:dependency="pref_trim_threads" />
|
|
|
|
|
|
|
|
<Preference android:key="pref_trim_now"
|
|
|
|
android:title="@string/preferences__trim_all_threads_now"
|
|
|
|
android:summary="@string/preferences__scan_through_all_conversation_threads_and_enforce_conversation_length_limits"
|
|
|
|
android:dependency="pref_trim_threads" />
|
|
|
|
|
2013-01-07 05:38:36 +00:00
|
|
|
</PreferenceCategory>
|
|
|
|
|
2012-09-20 02:56:04 +00:00
|
|
|
<PreferenceCategory android:title="@string/preferences__input_settings">
|
2011-12-20 18:20:44 +00:00
|
|
|
<CheckBoxPreference android:defaultValue="false"
|
|
|
|
android:key="pref_enter_sends"
|
2012-09-20 02:56:04 +00:00
|
|
|
android:summary="@string/preferences__pressing_the_enter_key_will_send_text_messages"
|
2012-09-22 19:53:56 +00:00
|
|
|
android:title="@string/preferences__pref_enter_sends_title" />
|
2011-12-20 18:20:44 +00:00
|
|
|
</PreferenceCategory>
|
|
|
|
|
2012-10-23 02:17:08 +00:00
|
|
|
<PreferenceCategory android:title="@string/preferences__display_settings" android:key="pref_display_category">
|
2012-07-20 02:23:49 +00:00
|
|
|
|
2011-12-20 18:20:44 +00:00
|
|
|
<Preference android:key="pref_choose_identity"
|
2012-09-20 02:56:04 +00:00
|
|
|
android:title="@string/preferences__choose_identity"
|
|
|
|
android:summary="@string/preferences__choose_your_contact_entry_from_the_contacts_list"/>
|
2012-07-20 02:23:49 +00:00
|
|
|
|
2011-12-20 18:20:44 +00:00
|
|
|
</PreferenceCategory>
|
2012-07-20 02:23:49 +00:00
|
|
|
|
2012-09-20 02:56:04 +00:00
|
|
|
<PreferenceCategory android:title="@string/preferences__encryption_settings">
|
2012-07-20 02:23:49 +00:00
|
|
|
|
|
|
|
<Preference android:key="pref_change_passphrase"
|
2012-09-20 02:56:04 +00:00
|
|
|
android:title="@string/preferences__change_passphrase"
|
|
|
|
android:summary="@string/preferences__change_my_passphrase"/>
|
2012-07-20 02:23:49 +00:00
|
|
|
|
|
|
|
<CheckBoxPreference android:defaultValue="true"
|
|
|
|
android:key="pref_auto_complete_key_exchange"
|
2012-09-20 02:56:04 +00:00
|
|
|
android:title="@string/preferences__complete_key_exchanges"
|
|
|
|
android:summary="@string/preferences__automatically_complete_key_exchanges_for_new_sessions_or_for_existing_sessions_with_the_same_identity_key" />
|
2012-07-20 02:23:49 +00:00
|
|
|
|
2011-12-20 18:20:44 +00:00
|
|
|
<CheckBoxPreference android:defaultValue="true"
|
2012-07-20 02:23:49 +00:00
|
|
|
android:key="pref_send_identity_key"
|
2012-09-20 02:56:04 +00:00
|
|
|
android:summary="@string/preferences__sign_key_exchange_messages_with_identity_key"
|
|
|
|
android:title="@string/preferences__sign_key_exchange" />
|
2012-07-20 02:23:49 +00:00
|
|
|
|
2011-12-20 18:20:44 +00:00
|
|
|
<CheckBoxPreference android:defaultValue="false"
|
2012-07-20 02:23:49 +00:00
|
|
|
android:key="pref_timeout_passphrase"
|
2012-09-20 02:56:04 +00:00
|
|
|
android:summary="@string/preferences__forget_passphrase_from_memory_after_some_interval"
|
|
|
|
android:title="@string/preferences__timeout_passphrase" />
|
2012-07-20 02:23:49 +00:00
|
|
|
|
|
|
|
|
2011-12-20 18:20:44 +00:00
|
|
|
<org.thoughtcrime.securesms.preferences.PassphraseTimeoutPreference
|
2012-07-20 02:23:49 +00:00
|
|
|
android:key="pref_timeout_interval"
|
|
|
|
android:defaultValue="300"
|
2012-09-22 19:53:56 +00:00
|
|
|
android:title="@string/preferences__pref_timeout_interval_title"
|
|
|
|
android:summary="@string/preferences__the_amount_of_time_to_wait_before_forgetting_passphrase"
|
2012-07-20 02:23:49 +00:00
|
|
|
android:dependency="pref_timeout_passphrase"
|
2012-09-22 19:53:56 +00:00
|
|
|
android:dialogTitle="@string/preferences__pref_timeout_interval_dialogtitle" />
|
2012-07-20 02:23:49 +00:00
|
|
|
|
2011-12-20 18:20:44 +00:00
|
|
|
</PreferenceCategory>
|
2012-07-20 02:23:49 +00:00
|
|
|
|
2012-09-20 02:56:04 +00:00
|
|
|
<PreferenceCategory android:title="@string/preferences__identity_key_settings">
|
2012-07-20 02:23:49 +00:00
|
|
|
<Preference android:key="pref_view_identity"
|
2012-09-20 02:56:04 +00:00
|
|
|
android:title="@string/preferences__view_my_identity_key"
|
|
|
|
android:summary="@string/preferences__view_my_identity_key"/>
|
2012-07-20 02:23:49 +00:00
|
|
|
|
|
|
|
<Preference android:key="pref_export_identity"
|
2012-09-20 02:56:04 +00:00
|
|
|
android:title="@string/preferences__export_my_identity_key"
|
|
|
|
android:summary="@string/preferences__export_my_identity_key"/>
|
2012-07-20 02:23:49 +00:00
|
|
|
|
|
|
|
<Preference android:key="pref_import_identity"
|
2012-09-20 02:56:04 +00:00
|
|
|
android:title="@string/preferences__import_contacts_key"
|
|
|
|
android:summary="@string/preferences__import_an_identity_key_from_a_contact"/>
|
2012-07-20 02:23:49 +00:00
|
|
|
|
|
|
|
<Preference android:key="pref_manage_identity"
|
2012-09-20 02:56:04 +00:00
|
|
|
android:title="@string/preferences__manage_identity_keys"
|
|
|
|
android:summary="@string/preferences__manage_configured_identity_keys"/>
|
2011-12-20 18:20:44 +00:00
|
|
|
</PreferenceCategory>
|
2012-07-20 02:23:49 +00:00
|
|
|
|
2012-09-20 02:56:04 +00:00
|
|
|
<PreferenceCategory android:title="@string/preferences__notification_settings">
|
2011-12-20 18:20:44 +00:00
|
|
|
<CheckBoxPreference android:key="pref_key_enable_notifications"
|
2012-09-20 02:56:04 +00:00
|
|
|
android:title="@string/preferences__notifications"
|
|
|
|
android:summary="@string/preferences__display_message_notifications_in_status_bar"
|
2011-12-20 18:20:44 +00:00
|
|
|
android:defaultValue="true" />
|
|
|
|
<ListPreference
|
2012-07-20 02:23:49 +00:00
|
|
|
android:key="pref_led_color"
|
|
|
|
android:defaultValue="green"
|
2012-09-20 02:56:04 +00:00
|
|
|
android:title="@string/preferences__led_color"
|
2012-07-20 02:23:49 +00:00
|
|
|
android:dependency="pref_key_enable_notifications"
|
2012-09-20 02:56:04 +00:00
|
|
|
android:summary="@string/preferences__change_notification_led_color"
|
2012-07-20 02:23:49 +00:00
|
|
|
android:entries="@array/pref_led_color_entries"
|
|
|
|
android:entryValues="@array/pref_led_color_values"
|
2012-09-20 02:56:04 +00:00
|
|
|
android:dialogTitle="@string/preferences__select_led_color" />
|
2012-07-20 02:23:49 +00:00
|
|
|
|
|
|
|
<org.thoughtcrime.securesms.preferences.LedBlinkPatternListPreference
|
2011-12-20 18:20:44 +00:00
|
|
|
android:key="pref_led_blink"
|
|
|
|
android:defaultValue="500,2000"
|
2012-09-22 19:53:56 +00:00
|
|
|
android:title="@string/preferences__pref_led_blink_title"
|
2011-12-20 18:20:44 +00:00
|
|
|
android:dependency="pref_key_enable_notifications"
|
2012-09-22 19:53:56 +00:00
|
|
|
android:summary="@string/preferences__change_notification_blink_pattern"
|
2011-12-20 18:20:44 +00:00
|
|
|
android:entries="@array/pref_led_blink_pattern_entries"
|
|
|
|
android:entryValues="@array/pref_led_blink_pattern_values"
|
2012-09-22 19:53:56 +00:00
|
|
|
android:dialogTitle="@string/preferences__pref_led_blink_dialogtitle" />
|
2012-07-20 02:23:49 +00:00
|
|
|
|
|
|
|
|
2011-12-20 18:20:44 +00:00
|
|
|
<RingtonePreference android:layout="?android:attr/preferenceLayoutChild"
|
|
|
|
android:dependency="pref_key_enable_notifications"
|
|
|
|
android:key="pref_key_ringtone"
|
2012-09-20 02:56:04 +00:00
|
|
|
android:title="@string/preferences__select_ringtone"
|
2011-12-20 18:20:44 +00:00
|
|
|
android:ringtoneType="notification"
|
|
|
|
android:defaultValue="content://settings/system/notification_sound" />
|
|
|
|
<CheckBoxPreference android:layout="?android:attr/preferenceLayoutChild"
|
|
|
|
android:dependency="pref_key_enable_notifications"
|
|
|
|
android:key="pref_key_vibrate"
|
|
|
|
android:defaultValue="true"
|
2012-09-20 02:56:04 +00:00
|
|
|
android:title="@string/preferences__vibrate"
|
|
|
|
android:summary="@string/preferences__also_vibrate_when_notified" />
|
2011-12-20 18:20:44 +00:00
|
|
|
</PreferenceCategory>
|
2012-12-09 00:46:38 +00:00
|
|
|
|
|
|
|
<PreferenceCategory android:title="@string/preferences__advanced_mms_access_point_names">
|
|
|
|
<CheckBoxPreference android:key="pref_use_local_apns"
|
|
|
|
android:defaultValue="false"
|
2013-01-06 22:41:07 +00:00
|
|
|
android:title="@string/preferences__enable_fallback_mmsc"
|
|
|
|
android:summary="@string/preferences__use_mmsc_information_configured_here_when_system_apn_information_is_unavailable"/>
|
2012-12-09 00:46:38 +00:00
|
|
|
|
|
|
|
<EditTextPreference android:key="pref_apn_mmsc_host"
|
|
|
|
android:title="@string/preferences__mmsc_url_required"
|
|
|
|
android:dependency="pref_use_local_apns" />
|
|
|
|
|
|
|
|
<EditTextPreference android:key="pref_apn_mms_proxy"
|
2013-01-05 23:48:29 +00:00
|
|
|
android:title="@string/preferences__mms_proxy_host_optional"
|
2012-12-09 00:46:38 +00:00
|
|
|
android:dependency="pref_use_local_apns" />
|
2013-01-05 23:48:29 +00:00
|
|
|
|
|
|
|
<EditTextPreference android:key="pref_apn_mms_proxy_port"
|
|
|
|
android:title="@string/preferences__mms_proxy_port_optional"
|
|
|
|
android:dependency="pref_use_local_apns"
|
|
|
|
android:inputType="number" />
|
2012-12-09 00:46:38 +00:00
|
|
|
</PreferenceCategory>
|
|
|
|
|
2011-12-20 18:20:44 +00:00
|
|
|
</PreferenceScreen>
|