diff options
Diffstat (limited to 'src/main/res/xml')
-rw-r--r-- | src/main/res/xml/preferences.xml | 81 |
1 files changed, 48 insertions, 33 deletions
diff --git a/src/main/res/xml/preferences.xml b/src/main/res/xml/preferences.xml index 63dc71dbd..b6bc807b2 100644 --- a/src/main/res/xml/preferences.xml +++ b/src/main/res/xml/preferences.xml @@ -8,13 +8,6 @@ android:summary="@string/pref_grant_presence_updates_summary" android:title="@string/pref_grant_presence_updates"/> - <ListPreference - android:defaultValue="Mobile" - android:entries="@array/resources" - android:entryValues="@array/resources" - android:key="resource" - android:summary="@string/pref_xmpp_resource_summary" - android:title="@string/pref_xmpp_resource"/> <CheckBoxPreference android:defaultValue="true" android:key="confirm_messages" @@ -22,7 +15,7 @@ android:title="@string/pref_confirm_messages"/> <CheckBoxPreference - android:defaultValue="false" + android:defaultValue="true" android:key="chat_states" android:summary="@string/pref_chat_states_summary" android:title="@string/pref_chat_states"/> @@ -82,7 +75,7 @@ <PreferenceCategory android:title="@string/pref_attachments"> <ListPreference - android:defaultValue="524288" + android:defaultValue="1048576" android:entries="@array/filesizes" android:entryValues="@array/filesizes_values" android:key="auto_accept_file_size" @@ -103,11 +96,6 @@ </PreferenceCategory> <PreferenceCategory android:title="@string/pref_ui_options"> <CheckBoxPreference - android:defaultValue="true" - android:key="use_subject" - android:summary="@string/pref_conference_name_summary" - android:title="@string/pref_conference_name"/> - <CheckBoxPreference android:defaultValue="false" android:key="use_white_background" android:summary="@string/pref_use_white_background_summary" @@ -118,7 +106,7 @@ android:summary="@string/pref_use_larger_font_summary" android:title="@string/pref_use_larger_font"/> <CheckBoxPreference - android:defaultValue="false" + android:defaultValue="true" android:key="send_button_status" android:summary="@string/pref_use_send_button_to_indicate_status_summary" android:title="@string/pref_use_send_button_to_indicate_status"/> @@ -131,18 +119,56 @@ android:summary="@string/pref_quick_action_summary" android:title="@string/pref_quick_action"/> <CheckBoxPreference - android:defaultValue="false" - android:key="show_dynamic_tags" - android:summary="@string/pref_show_dynamic_tags_summary" - android:title="@string/pref_show_dynamic_tags"/> + android:defaultValue="true" + android:key="indicate_received" + android:summary="@string/pref_use_indicate_received_summary" + android:title="@string/pref_use_indicate_received"/> </PreferenceCategory> <PreferenceCategory android:key="advanced" android:title="@string/pref_advanced_options"> <PreferenceScreen + android:key="plugins" + android:summary="@string/pref_plugins_summary" + android:title="@string/pref_plugins"> + <Preference + android:title="@string/pref_plugin_location" + android:summary="@string/pref_plugin_location_summary"> + <intent android:action="android.intent.action.VIEW" + android:data="https://github.com/kriztan/ShareLocationPlugin/releases/download/0.2/ShareLocationPlugin-0.2.apk" /> + </Preference> + <Preference + android:title="@string/pref_plugin_voice_recorder" + android:summary="@string/pref_plugin_voice_recorder_summary"> + <intent android:action="android.intent.action.VIEW" + android:data="https://github.com/kriztan/VoiceRecorder/releases/download/0.1/VoiceRecorder-0.1.apk" /> + </Preference> + </PreferenceScreen> + <PreferenceScreen android:key="expert" android:summary="@string/pref_expert_options_summary" android:title="@string/pref_expert_options"> + <PreferenceCategory android:title="@string/pref_general"> + <ListPreference + android:defaultValue="Mobile" + android:entries="@array/resources" + android:entryValues="@array/resources" + android:key="resource" + android:summary="@string/pref_xmpp_resource_summary" + android:title="@string/pref_xmpp_resource"/> + </PreferenceCategory> + <PreferenceCategory android:title="@string/pref_ui_options"> + <CheckBoxPreference + android:defaultValue="true" + android:key="use_subject" + android:summary="@string/pref_conference_name_summary" + android:title="@string/pref_conference_name"/> + <CheckBoxPreference + android:defaultValue="false" + android:key="show_dynamic_tags" + android:summary="@string/pref_show_dynamic_tags_summary" + android:title="@string/pref_show_dynamic_tags"/> + </PreferenceCategory> <PreferenceCategory android:title="@string/pref_security_settings"> <CheckBoxPreference android:defaultValue="false" @@ -159,7 +185,7 @@ android:summary="@string/pref_remove_trusted_certificates_summary" android:title="@string/pref_remove_trusted_certificates_title"/> <CheckBoxPreference - android:defaultValue="false" + android:defaultValue="true" android:key="allow_message_correction" android:title="@string/pref_allow_message_correction" android:summary="@string/pref_allow_message_correction_summary"/> @@ -172,11 +198,6 @@ android:key="use_tor" android:summary="@string/pref_use_tor_summary" android:title="@string/pref_use_tor"/> - <CheckBoxPreference - android:defaultValue="false" - android:key="show_connection_options" - android:summary="@string/pref_show_connection_options_summary" - android:title="@string/pref_show_connection_options"/> </PreferenceCategory> <PreferenceCategory android:title="@string/pref_input_options"> <CheckBoxPreference @@ -192,7 +213,7 @@ </PreferenceCategory> <PreferenceCategory android:title="@string/pref_presence_settings"> <CheckBoxPreference - android:defaultValue="false" + android:defaultValue="true" android:key="manually_change_presence" android:title="@string/pref_manually_change_presence" android:summary="@string/pref_manually_change_presence_summary" @@ -224,22 +245,16 @@ android:summary="@string/pref_autojoin_summary" /> <CheckBoxPreference - android:defaultValue="false" + android:defaultValue="true" android:key="indicate_received" android:summary="@string/pref_use_indicate_received_summary" android:title="@string/pref_use_indicate_received"/> - <CheckBoxPreference - android:defaultValue="false" - android:key="keep_foreground_service" - android:summary="@string/pref_keep_foreground_service_summary" - android:title="@string/pref_keep_foreground_service"/> <eu.siacs.conversations.ui.ExportLogsPreference android:key="export_logs" android:summary="@string/pref_export_logs_summary" android:title="@string/pref_export_logs"/> </PreferenceCategory> </PreferenceScreen> - <CheckBoxPreference android:defaultValue="false" android:key="never_send" |