1
0
Fork 0

added a new screen, in the Settings, for deleting added words

This commit is contained in:
sspanak 2024-03-07 11:52:18 +02:00 committed by Dimo Karaivanov
parent 5a43fba3d5
commit 322774ab45
30 changed files with 477 additions and 26 deletions

View file

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" android:orderingFromXml="true">
<io.github.sspanak.tt9.preferences.screens.deleteWords.PreferenceSearchWords
android:layout="@layout/pref_input_text"
android:key="dictionary_delete_words_search"
android:title="@string/delete_words_search_placeholder" />
<PreferenceCategory
android:key="delete_words_list"
android:title="@string/delete_words_list"
android:layout="@layout/pref_category" />
</PreferenceScreen>

View file

@ -35,7 +35,14 @@
<Preference
app:key="dictionary_export_custom"
app:layout="@layout/pref_text"
app:title="@string/dictionary_export_custom_words_button" />
app:title="@string/dictionary_export_custom_words" />
<Preference
app:fragment="io.github.sspanak.tt9.preferences.DeleteWordsScreen"
app:key="screen_delete_words"
app:layout="@layout/pref_text"
app:title="@string/delete_words_link"
app:summary="@string/delete_words_link_summary"/>
</PreferenceCategory>