Fixed the text size on the Settings screen (#132)
* readjusted the font size of the suggestions and on the Settings screen * moved the keypad shortcuts to a separate screen * added bold+italic visual hint when fuzzy word filtering is on * updated documentation
This commit is contained in:
parent
6d1420dd09
commit
9ee31005b5
35 changed files with 495 additions and 189 deletions
|
|
@ -1,12 +1,13 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
app:layout="@layout/pref_text"
|
||||
app:orderingFromXml="true">
|
||||
|
||||
|
||||
<Preference
|
||||
app:iconSpaceReserved="false"
|
||||
app:key="help"
|
||||
app:layout="@layout/pref_text"
|
||||
app:summary="github.com/sspanak/tt9"
|
||||
app:title="@string/pref_help">
|
||||
<intent
|
||||
|
|
@ -17,19 +18,19 @@
|
|||
|
||||
<PreferenceCategory
|
||||
android:title="@string/pref_category_appearance"
|
||||
app:iconSpaceReserved="false"
|
||||
app:layout="@layout/pref_category"
|
||||
app:singleLineTitle="true">
|
||||
|
||||
<SwitchPreferenceCompat
|
||||
app:defaultValue="true"
|
||||
app:iconSpaceReserved="false"
|
||||
app:key="pref_dark_theme"
|
||||
app:layout="@layout/pref_switch"
|
||||
app:title="@string/pref_dark_theme" />
|
||||
|
||||
<SwitchPreferenceCompat
|
||||
app:defaultValue="true"
|
||||
app:iconSpaceReserved="false"
|
||||
app:key="pref_show_soft_keys"
|
||||
app:layout="@layout/pref_switch"
|
||||
app:title="@string/pref_show_soft_function_keys" />
|
||||
|
||||
</PreferenceCategory>
|
||||
|
|
@ -37,92 +38,63 @@
|
|||
|
||||
<PreferenceCategory
|
||||
android:title="@string/pref_category_dictionaries"
|
||||
app:iconSpaceReserved="false"
|
||||
app:layout="@layout/pref_category"
|
||||
app:singleLineTitle="true">
|
||||
|
||||
<MultiSelectListPreference
|
||||
app:iconSpaceReserved="false"
|
||||
app:key="pref_languages"
|
||||
app:layout="@layout/pref_text"
|
||||
app:title="@string/pref_choose_languages" />
|
||||
|
||||
<Preference
|
||||
app:iconSpaceReserved="false"
|
||||
app:key="dictionary_load"
|
||||
app:layout="@layout/pref_text"
|
||||
app:title="@string/dictionary_load_title" />
|
||||
|
||||
<Preference
|
||||
app:iconSpaceReserved="false"
|
||||
app:key="dictionary_truncate"
|
||||
app:layout="@layout/pref_text"
|
||||
app:title="@string/dictionary_truncate_title" />
|
||||
|
||||
</PreferenceCategory>
|
||||
|
||||
<PreferenceCategory
|
||||
android:title="@string/pref_category_predictive_mode"
|
||||
app:iconSpaceReserved="false"
|
||||
app:layout="@layout/pref_category"
|
||||
app:singleLineTitle="true">
|
||||
|
||||
<SwitchPreferenceCompat
|
||||
app:iconSpaceReserved="false"
|
||||
app:key="auto_space"
|
||||
app:layout="@layout/pref_switch"
|
||||
app:title="@string/pref_auto_space"
|
||||
app:summary="@string/pref_auto_space_summary" />
|
||||
|
||||
<SwitchPreferenceCompat
|
||||
app:defaultValue="true"
|
||||
app:iconSpaceReserved="false"
|
||||
app:key="auto_text_case"
|
||||
app:layout="@layout/pref_switch"
|
||||
app:summary="@string/pref_auto_text_case_summary"
|
||||
app:title="@string/pref_auto_text_case" />
|
||||
|
||||
</PreferenceCategory>
|
||||
|
||||
|
||||
<PreferenceCategory
|
||||
android:title="@string/pref_category_function_keys"
|
||||
app:iconSpaceReserved="false"
|
||||
app:singleLineTitle="true">
|
||||
|
||||
<DropDownPreference
|
||||
app:iconSpaceReserved="false"
|
||||
app:key="key_add_word"
|
||||
app:title="@string/function_add_word_key" />
|
||||
|
||||
<DropDownPreference
|
||||
app:iconSpaceReserved="false"
|
||||
app:key="key_backspace"
|
||||
app:title="@string/function_backspace_key" />
|
||||
|
||||
<DropDownPreference
|
||||
app:iconSpaceReserved="false"
|
||||
app:key="key_next_language"
|
||||
app:title="@string/function_next_language_key" />
|
||||
|
||||
<DropDownPreference
|
||||
app:iconSpaceReserved="false"
|
||||
app:key="key_next_input_mode"
|
||||
app:title="@string/function_next_mode_key" />
|
||||
|
||||
<DropDownPreference
|
||||
app:iconSpaceReserved="false"
|
||||
app:key="key_show_settings"
|
||||
app:title="@string/function_show_settings_key" />
|
||||
|
||||
android:title="@string/pref_category_keypad"
|
||||
app:layout="@layout/pref_category">
|
||||
<Preference
|
||||
app:iconSpaceReserved="false"
|
||||
app:key="reset_keys"
|
||||
app:title="@string/function_reset_keys_title" />
|
||||
|
||||
app:fragment="io.github.sspanak.tt9.preferences.PreferencesHotkeysFragment"
|
||||
app:key="screen_hotkeys"
|
||||
app:layout="@layout/pref_text"
|
||||
app:title="@string/pref_category_function_keys" />
|
||||
</PreferenceCategory>
|
||||
|
||||
|
||||
<PreferenceCategory
|
||||
android:title="@string/pref_category_about"
|
||||
app:iconSpaceReserved="false"
|
||||
app:layout="@layout/pref_category"
|
||||
app:singleLineTitle="true">
|
||||
<Preference
|
||||
app:iconSpaceReserved="false"
|
||||
app:key="version_info"
|
||||
app:layout="@layout/pref_text"
|
||||
app:title="@string/app_name" />
|
||||
</PreferenceCategory>
|
||||
|
||||
|
|
|
|||
41
res/xml/prefs_screen_hotkeys.xml
Normal file
41
res/xml/prefs_screen_hotkeys.xml
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<PreferenceScreen xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
app:orderingFromXml="true">
|
||||
|
||||
<DropDownPreference
|
||||
app:iconSpaceReserved="false"
|
||||
app:key="key_add_word"
|
||||
app:layout="@layout/pref_dropdown"
|
||||
app:title="@string/function_add_word_key" />
|
||||
|
||||
<DropDownPreference
|
||||
app:iconSpaceReserved="false"
|
||||
app:key="key_backspace"
|
||||
app:layout="@layout/pref_dropdown"
|
||||
app:title="@string/function_backspace_key" />
|
||||
|
||||
<DropDownPreference
|
||||
app:iconSpaceReserved="false"
|
||||
app:key="key_next_language"
|
||||
app:layout="@layout/pref_dropdown"
|
||||
app:title="@string/function_next_language_key" />
|
||||
|
||||
<DropDownPreference
|
||||
app:iconSpaceReserved="false"
|
||||
app:key="key_next_input_mode"
|
||||
app:layout="@layout/pref_dropdown"
|
||||
app:title="@string/function_next_mode_key" />
|
||||
|
||||
<DropDownPreference
|
||||
app:iconSpaceReserved="false"
|
||||
app:key="key_show_settings"
|
||||
app:layout="@layout/pref_dropdown"
|
||||
app:title="@string/function_show_settings_key" />
|
||||
|
||||
<Preference
|
||||
app:iconSpaceReserved="false"
|
||||
app:key="reset_keys"
|
||||
app:layout="@layout/pref_text"
|
||||
app:title="@string/function_reset_keys_title" />
|
||||
|
||||
</PreferenceScreen>
|
||||
Loading…
Add table
Add a link
Reference in a new issue