added a new screen, in the Settings, for deleting added words
This commit is contained in:
parent
5a43fba3d5
commit
322774ab45
30 changed files with 477 additions and 26 deletions
13
app/src/main/res/xml/prefs_screen_delete_words.xml
Normal file
13
app/src/main/res/xml/prefs_screen_delete_words.xml
Normal 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>
|
||||
|
|
@ -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>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue