Files
android-tts-server/app/src/main/res/xml/preferences.xml

33 lines
1.6 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">
<PreferenceCategory android:title="@string/preference_category_server" app:iconSpaceReserved="false">
<com.bartlomiejpluta.ttsserver.ui.preference.custom.IntEditTextPreference
android:defaultValue="8080"
android:inputType="number"
android:key="preference_port"
android:summary="@string/preference_port_summary"
android:title="@string/preference_port_title"
app:iconSpaceReserved="false" />
<SwitchPreference
android:defaultValue="false"
android:key="preference_http_debug"
android:summary="@string/preference_http_debug_summary"
android:title="@string/preference_http_debug_title"
app:iconSpaceReserved="false" />
<Preference
android:key="preference_invalidate_cache"
android:summary="@string/preference_invalidate_cache_summary"
app:title="@string/preference_invalidate_cache_title"
app:iconSpaceReserved="false" />
</PreferenceCategory>
<PreferenceCategory android:title="@string/preference_category_tts" app:iconSpaceReserved="false">
<Preference
android:key="preference_tts"
android:summary="@string/preference_tts_summary"
android:title="@string/preference_tts_title"
app:iconSpaceReserved="false" />
</PreferenceCategory>
</androidx.preference.PreferenceScreen>