1
0
Fork 0

New languages screen (#595)

* added a dictionary size property

* new language selection screen

* added a language search field

* SettingsStore now return a copy of the enabled languages to prevent accidental overwriting of the original settings object
This commit is contained in:
Dimo Karaivanov 2024-08-08 14:59:50 +03:00 committed by GitHub
parent 76099862e5
commit 2eea62b26f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
34 changed files with 540 additions and 160 deletions

View file

@ -0,0 +1,17 @@
<?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">
<io.github.sspanak.tt9.preferences.screens.languageSelection.PreferenceSearchLanguage
android:key="language_search"
android:title="@string/language_selection_search_placeholder" />
<PreferenceCategory
android:key="language_list"
android:persistent="false"
android:title="@string/language_selection_title"/>
<io.github.sspanak.tt9.preferences.custom.PreferencePlainText
android:key="language_search_no_result"
android:summary="@string/search_results_void"
app:isPreferenceVisible="false" />
</androidx.preference.PreferenceScreen>