mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-09-25 07:36:46 +02:00
a37f0c89bb
- Also add a (basic) Application wide TextToSpeech helper - use the TextToSpeech to announce the caller name or number
33 lines
1.5 KiB
XML
33 lines
1.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto">
|
|
<SwitchPreferenceCompat
|
|
android:defaultValue="true"
|
|
android:icon="@drawable/ic_extension"
|
|
android:key="pref_nothing_inear_detection"
|
|
android:layout="@layout/preference_checkbox"
|
|
android:summary="@string/nothing_prefs_inear_summary"
|
|
android:title="@string/nothing_prefs_inear_title" />
|
|
<ListPreference
|
|
android:icon="@drawable/ic_extension"
|
|
android:entryValues="@array/nothing_ear1_audio_mode_values"
|
|
android:entries="@array/nothing_ear1_audio_mode_names"
|
|
android:key="pref_nothing_audiomode"
|
|
android:summary="%s"
|
|
android:title="@string/nothing_prefs_audiomode_title" />
|
|
<SwitchPreferenceCompat
|
|
android:defaultValue="false"
|
|
android:icon="@drawable/ic_phone"
|
|
android:key="pref_auto_reply_phonecall"
|
|
android:summary="@string/pref_auto_reply_calls_summary"
|
|
android:title="@string/pref_auto_reply_calls_title"/>
|
|
<EditTextPreference
|
|
android:digits="123"
|
|
android:enabled="false"
|
|
android:inputType="numberDecimal"
|
|
android:key="pref_auto_reply_phonecall_delay"
|
|
android:summary="@string/pref_auto_reply_calls_delay_summary"
|
|
android:title="@string/pref_auto_reply_calls_delay_title"
|
|
app:defaultValue="15" />
|
|
</androidx.preference.PreferenceScreen>
|