diff options
Diffstat (limited to 'src/main/res/xml')
-rw-r--r-- | src/main/res/xml/preferences.xml | 71 |
1 files changed, 48 insertions, 23 deletions
diff --git a/src/main/res/xml/preferences.xml b/src/main/res/xml/preferences.xml index e4b29856b..33a84e1b4 100644 --- a/src/main/res/xml/preferences.xml +++ b/src/main/res/xml/preferences.xml @@ -9,14 +9,7 @@ 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"/> - <ListPreference - android:defaultValue="524288" + android:defaultValue="1048576" android:entries="@array/filesizes" android:entryValues="@array/filesizes_values" android:key="auto_accept_file_size" @@ -36,7 +29,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"/> @@ -96,11 +89,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" @@ -111,7 +99,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"/> @@ -124,18 +112,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" @@ -152,7 +178,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"/> @@ -209,12 +235,12 @@ 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:defaultValue="true" android:key="keep_foreground_service" android:summary="@string/pref_keep_foreground_service_summary" android:title="@string/pref_keep_foreground_service"/> @@ -224,7 +250,6 @@ android:title="@string/pref_export_logs"/> </PreferenceCategory> </PreferenceScreen> - <CheckBoxPreference android:defaultValue="false" android:key="never_send" |