aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/res
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/res')
-rw-r--r--src/main/res/values/defaults.xml1
-rw-r--r--src/main/res/values/strings.xml2
-rw-r--r--src/main/res/xml/preferences.xml5
3 files changed, 8 insertions, 0 deletions
diff --git a/src/main/res/values/defaults.xml b/src/main/res/values/defaults.xml
index ecfd9b224..2c3ea9331 100644
--- a/src/main/res/values/defaults.xml
+++ b/src/main/res/values/defaults.xml
@@ -72,6 +72,7 @@
<string name="default_font_size">small</string>
<string name="default_channel_discovery">JABBER_NETWORK</string>
<bool name="use_unicolored_chatbg">false</bool>
+ <bool name="alternative_voice_settings">false</bool>
<string-array name="domains">
<item>pix-art.de</item>
diff --git a/src/main/res/values/strings.xml b/src/main/res/values/strings.xml
index 95075eb63..d2d3dfea3 100644
--- a/src/main/res/values/strings.xml
+++ b/src/main/res/values/strings.xml
@@ -998,4 +998,6 @@
<string name="your_server_invitation">Your server invitation</string>
<string name="pref_use_unicolored_chatbg_summary">Use unicolored background in chats.</string>
<string name="pref_use_unicolored_chatbg">Use unicolored background</string>
+ <string name="pref_alternative_voice_settings_summary">If you have problems during voice recording, use this setting to change the codec.</string>
+ <string name="pref_alternative_voice_settings">Alternative voice recording method</string>
</resources>
diff --git a/src/main/res/xml/preferences.xml b/src/main/res/xml/preferences.xml
index a17ef3ae2..8bc0d0372 100644
--- a/src/main/res/xml/preferences.xml
+++ b/src/main/res/xml/preferences.xml
@@ -251,6 +251,11 @@
android:key="video_compression"
android:summary="@string/pref_video_quality_summary"
android:title="@string/pref_video_quality" />
+ <CheckBoxPreference
+ android:defaultValue="@bool/alternative_voice_settings"
+ android:key="alternative_voice_settings"
+ android:summary="@string/pref_alternative_voice_settings_summary"
+ android:title="@string/pref_alternative_voice_settings" />
</PreferenceScreen>
<!--status-->
<PreferenceScreen