1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-06-11 07:38:29 +02:00
Gadgetbridge/app/src/main/res/xml/devicesettings_huami2021_alexa.xml
2024-03-31 07:46:47 +00:00

84 lines
3.4 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">
<PreferenceScreen
android:icon="@drawable/ic_voice"
android:key="pref_screen_alexa"
android:title="@string/menuitem_alexa">
<ListPreference
android:defaultValue="auto"
android:entries="@array/pref_language_all"
android:entryValues="@array/pref_language_all_values"
android:icon="@drawable/ic_language"
android:key="voice_service_language"
android:summary="%s"
android:title="@string/pref_title_language" />
<PreferenceCategory
android:key="pref_header_voice_service"
android:title="@string/voice_service">
<EditTextPreference
android:key="voice_service_package"
android:summary="@string/voice_service_package_summary"
android:title="@string/voice_service_package_title"
app:useSimpleSummaryProvider="true" />
<EditTextPreference
android:key="voice_service_class"
android:summary="@string/voice_service_class_summary"
android:title="@string/voice_service_class_title"
app:useSimpleSummaryProvider="true" />
</PreferenceCategory>
<!-- Keeping these without a translation intentionally, they should be temporary -->
<PreferenceCategory
android:key="pref_header_voice_service_debug"
android:title="@string/action_debug">
<EditTextPreference
android:defaultValue=""
android:key="zepp_os_alexa_reply_title"
android:title="Reply Title"
app:useSimpleSummaryProvider="true" />
<EditTextPreference
android:defaultValue=""
android:key="zepp_os_alexa_reply_subtitle"
android:title="Reply Subtitle"
app:useSimpleSummaryProvider="true" />
<EditTextPreference
android:defaultValue=""
android:key="zepp_os_alexa_reply_text"
android:title="Reply Text"
app:useSimpleSummaryProvider="true" />
<SwitchPreferenceCompat
android:defaultValue="false"
android:key="zepp_os_alexa_ask_more_input"
android:layout="@layout/preference_checkbox"
android:summary="Continue listening after sending the reply"
android:title="Ask for more input" />
<Preference
android:key="zepp_os_alexa_btn_trigger"
android:summary="Send a command trigger to the watch (stops sending voice data)"
android:title="Send command trigger" />
<Preference
android:key="zepp_os_alexa_btn_send_simple"
android:summary="Send a simple reply to the watch (just text)"
android:title="Send simple reply" />
<Preference
android:key="zepp_os_alexa_btn_send_complex"
android:summary="Send a complex reply to the watch (title, subtitle, text)"
android:title="Send complex reply" />
</PreferenceCategory>
</PreferenceScreen>
</androidx.preference.PreferenceScreen>