Preferences cleanup
* DictionariesScreen -> LanguagesScreen * reorganized the Preference Items * removed unnecessary public access * Load Dictionary -> Load Selected
This commit is contained in:
parent
29b2ac2cb6
commit
5a43fba3d5
38 changed files with 100 additions and 97 deletions
42
app/src/main/res/xml/prefs_screen_languages.xml
Normal file
42
app/src/main/res/xml/prefs_screen_languages.xml
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<PreferenceScreen xmlns:app="http://schemas.android.com/apk/res-auto" app:orderingFromXml="true">
|
||||
|
||||
<MultiSelectListPreference
|
||||
app:key="pref_languages"
|
||||
app:layout="@layout/pref_text"
|
||||
app:title="@string/pref_choose_languages" />
|
||||
|
||||
<Preference
|
||||
app:key="dictionary_load"
|
||||
app:layout="@layout/pref_text"
|
||||
app:title="@string/dictionary_load_title" />
|
||||
|
||||
<Preference
|
||||
app:key="dictionary_export"
|
||||
app:layout="@layout/pref_text"
|
||||
app:title="@string/dictionary_export"
|
||||
app:isPreferenceVisible="false" />
|
||||
|
||||
<Preference
|
||||
app:key="dictionary_truncate_unselected"
|
||||
app:layout="@layout/pref_text"
|
||||
app:title="@string/dictionary_truncate_unselected" />
|
||||
|
||||
<Preference
|
||||
app:key="dictionary_truncate"
|
||||
app:layout="@layout/pref_text"
|
||||
app:title="@string/dictionary_truncate_title" />
|
||||
|
||||
<PreferenceCategory
|
||||
app:title="@string/pref_category_custom_words"
|
||||
app:layout="@layout/pref_category"
|
||||
app:singleLineTitle="true">
|
||||
|
||||
<Preference
|
||||
app:key="dictionary_export_custom"
|
||||
app:layout="@layout/pref_text"
|
||||
app:title="@string/dictionary_export_custom_words_button" />
|
||||
|
||||
</PreferenceCategory>
|
||||
|
||||
</PreferenceScreen>
|
||||
Loading…
Add table
Add a link
Reference in a new issue