Adjustable Settings font size (#500)
This commit is contained in:
parent
c9e5707803
commit
b609178976
51 changed files with 481 additions and 157 deletions
|
|
@ -1,12 +1,10 @@
|
|||
<?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:key="help"
|
||||
app:layout="@layout/pref_text"
|
||||
app:summary="github.com/sspanak/tt9"
|
||||
app:title="@string/pref_help">
|
||||
<intent
|
||||
|
|
@ -17,35 +15,29 @@
|
|||
<Preference
|
||||
app:fragment="io.github.sspanak.tt9.preferences.AppearanceScreen"
|
||||
app:key="screen_appearance"
|
||||
app:layout="@layout/pref_text"
|
||||
app:title="@string/pref_category_appearance" />
|
||||
|
||||
<Preference
|
||||
app:fragment="io.github.sspanak.tt9.preferences.LanguagesScreen"
|
||||
app:key="screen_languages"
|
||||
app:layout="@layout/pref_text"
|
||||
app:title="@string/pref_choose_languages" />
|
||||
|
||||
<Preference
|
||||
app:fragment="io.github.sspanak.tt9.preferences.KeyPadScreen"
|
||||
app:key="screen_keypad"
|
||||
app:layout="@layout/pref_text"
|
||||
app:title="@string/pref_category_keypad" />
|
||||
|
||||
<Preference
|
||||
app:fragment="io.github.sspanak.tt9.preferences.SetupScreen"
|
||||
app:key="screen_setup"
|
||||
app:layout="@layout/pref_text"
|
||||
app:title="@string/pref_category_setup" />
|
||||
|
||||
<PreferenceCategory
|
||||
android:title="@string/pref_category_about"
|
||||
app:layout="@layout/pref_category"
|
||||
app:singleLineTitle="true">
|
||||
|
||||
<Preference
|
||||
app:key="donate_link"
|
||||
app:layout="@layout/pref_text"
|
||||
app:title="@string/donate_title"
|
||||
app:summary="@string/donate_summary">
|
||||
<intent
|
||||
|
|
@ -56,7 +48,6 @@
|
|||
<Preference
|
||||
app:fragment="io.github.sspanak.tt9.preferences.DebugScreen"
|
||||
app:key="version_info"
|
||||
app:layout="@layout/pref_text"
|
||||
app:title="@string/app_name" />
|
||||
|
||||
</PreferenceCategory>
|
||||
|
|
|
|||
|
|
@ -3,22 +3,20 @@
|
|||
|
||||
<DropDownPreference
|
||||
app:defaultValue="-1"
|
||||
app:iconSpaceReserved="false"
|
||||
app:key="pref_theme"
|
||||
app:layout="@layout/pref_dropdown"
|
||||
app:title="@string/pref_dark_theme" />
|
||||
|
||||
<DropDownPreference
|
||||
app:iconSpaceReserved="false"
|
||||
app:key="pref_layout_type"
|
||||
app:layout="@layout/pref_dropdown"
|
||||
app:title="@string/pref_layout" />
|
||||
|
||||
|
||||
<SwitchPreferenceCompat
|
||||
app:key="pref_status_icon"
|
||||
app:layout="@layout/pref_switch"
|
||||
app:title="@string/pref_status_icon"
|
||||
app:summary="@string/pref_status_icon_summary" />
|
||||
|
||||
<DropDownPreference
|
||||
app:key="pref_font_size"
|
||||
app:title="@string/pref_font_size" />
|
||||
|
||||
</PreferenceScreen>
|
||||
|
|
|
|||
|
|
@ -3,47 +3,37 @@
|
|||
|
||||
<Preference
|
||||
app:key="pref_device_info"
|
||||
app:layout="@layout/pref_text"
|
||||
app:title="Device Info" />
|
||||
|
||||
<DropDownPreference
|
||||
app:iconSpaceReserved="false"
|
||||
app:key="pref_input_handling_mode"
|
||||
app:layout="@layout/pref_dropdown"
|
||||
app:title="Keypad Handling Mode" />
|
||||
|
||||
<SwitchPreferenceCompat
|
||||
<Preference
|
||||
app:fragment="io.github.sspanak.tt9.preferences.UsageStatsScreen"
|
||||
app:key="pref_slow_queries"
|
||||
app:layout="@layout/pref_text"
|
||||
app:title="@string/pref_category_usage_stats" />
|
||||
|
||||
<DropDownPreference
|
||||
app:iconSpaceReserved="false"
|
||||
app:key="pref_log_level"
|
||||
app:layout="@layout/pref_dropdown"
|
||||
app:title="Log Level" />
|
||||
|
||||
<SwitchPreferenceCompat
|
||||
app:defaultValue="false"
|
||||
app:key="pref_enable_system_logs"
|
||||
app:layout="@layout/pref_switch"
|
||||
app:title="System Logs" />
|
||||
|
||||
<Preference
|
||||
app:key="pref_export_logcat"
|
||||
app:layout="@layout/pref_text"
|
||||
app:title="Export Logs" />
|
||||
|
||||
<PreferenceCategory
|
||||
app:title="Recent Log Messages"
|
||||
app:layout="@layout/pref_category"
|
||||
app:singleLineTitle="true">
|
||||
<Preference
|
||||
<io.github.sspanak.tt9.preferences.custom.PreferencePlainText
|
||||
app:key="debug_logs_container"
|
||||
app:summary="--"
|
||||
app:layout="@layout/pref_plain_text">
|
||||
</Preference>
|
||||
app:summary="--">
|
||||
</io.github.sspanak.tt9.preferences.custom.PreferencePlainText>
|
||||
</PreferenceCategory>
|
||||
|
||||
</PreferenceScreen>
|
||||
|
|
|
|||
|
|
@ -2,12 +2,10 @@
|
|||
<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" />
|
||||
android:title="@string/delete_words_list" />
|
||||
</PreferenceScreen>
|
||||
|
|
|
|||
|
|
@ -3,69 +3,47 @@
|
|||
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_filter_clear"
|
||||
app:layout="@layout/pref_dropdown"
|
||||
app:title="@string/function_filter_clear_key" />
|
||||
|
||||
<DropDownPreference
|
||||
app:iconSpaceReserved="false"
|
||||
app:key="key_filter_suggestions"
|
||||
app:layout="@layout/pref_dropdown"
|
||||
app:title="@string/function_filter_suggestions_key" />
|
||||
|
||||
<DropDownPreference
|
||||
app:iconSpaceReserved="false"
|
||||
app:key="key_previous_suggestion"
|
||||
app:layout="@layout/pref_dropdown"
|
||||
app:title="@string/function_previous_suggestion_key" />
|
||||
|
||||
<DropDownPreference
|
||||
app:iconSpaceReserved="false"
|
||||
app:key="key_next_suggestion"
|
||||
app:layout="@layout/pref_dropdown"
|
||||
app:title="@string/function_next_suggestion_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_change_keyboard"
|
||||
app:layout="@layout/pref_dropdown"
|
||||
app:title="@string/function_change_keyboard_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>
|
||||
|
|
|
|||
|
|
@ -7,32 +7,27 @@
|
|||
<Preference
|
||||
app:fragment="io.github.sspanak.tt9.preferences.HotkeysScreen"
|
||||
app:key="screen_hotkeys"
|
||||
app:layout="@layout/pref_text"
|
||||
app:title="@string/pref_category_function_keys" />
|
||||
|
||||
<SwitchPreferenceCompat
|
||||
app:defaultValue="false"
|
||||
app:key="pref_upside_down_keys"
|
||||
app:layout="@layout/pref_switch"
|
||||
app:summary="@string/pref_upside_down_keys_summary"
|
||||
app:title="@string/pref_upside_down_keys" />
|
||||
|
||||
<PreferenceCategory
|
||||
android:title="@string/pref_category_predictive_mode"
|
||||
app:layout="@layout/pref_category"
|
||||
app:singleLineTitle="true">
|
||||
|
||||
<SwitchPreferenceCompat
|
||||
app:defaultValue="true"
|
||||
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:key="auto_text_case"
|
||||
app:layout="@layout/pref_switch"
|
||||
app:summary="@string/pref_auto_text_case_summary"
|
||||
app:title="@string/pref_auto_text_case" />
|
||||
|
||||
|
|
@ -40,16 +35,13 @@
|
|||
app:defaultValue="false"
|
||||
app:dependency="auto_text_case"
|
||||
app:key="auto_capitals_after_newline"
|
||||
app:layout="@layout/pref_switch"
|
||||
app:summary="@string/pref_auto_capitals_after_newline_summary"
|
||||
app:title="@string/pref_auto_capitals_after_newline" />
|
||||
|
||||
|
||||
<DropDownPreference
|
||||
app:defaultValue="."
|
||||
app:iconSpaceReserved="false"
|
||||
app:key="pref_double_zero_char"
|
||||
app:layout="@layout/pref_dropdown"
|
||||
app:title="@string/pref_double_zero_char" />
|
||||
|
||||
</PreferenceCategory>
|
||||
|
|
@ -57,13 +49,11 @@
|
|||
|
||||
<PreferenceCategory
|
||||
android:title="@string/pref_category_abc_mode"
|
||||
app:layout="@layout/pref_category"
|
||||
app:singleLineTitle="true">
|
||||
|
||||
<DropDownPreference
|
||||
app:defaultValue="800"
|
||||
app:key="pref_abc_auto_accept_time"
|
||||
app:layout="@layout/pref_dropdown"
|
||||
app:title="@string/pref_abc_auto_accept" />
|
||||
</PreferenceCategory>
|
||||
|
||||
|
|
|
|||
|
|
@ -3,51 +3,42 @@
|
|||
|
||||
<MultiSelectListPreference
|
||||
app:key="pref_languages"
|
||||
app:layout="@layout/pref_text"
|
||||
app:title="@string/pref_choose_languages" />
|
||||
|
||||
<SwitchPreferenceCompat
|
||||
app:isPreferenceVisible="false"
|
||||
app:key="dictionary_notifications"
|
||||
app:layout="@layout/pref_switch"
|
||||
app:title="@string/dictionary_no_notifications"
|
||||
app:summary="@string/dictionary_no_notifications_summary"/>
|
||||
|
||||
<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" />
|
||||
|
||||
<Preference
|
||||
app:fragment="io.github.sspanak.tt9.preferences.DeleteWordsScreen"
|
||||
app:key="screen_delete_words"
|
||||
app:layout="@layout/pref_text"
|
||||
app:title="@string/delete_words_delete"
|
||||
app:summary="@string/delete_words_link_summary"/>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,46 +1,37 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<PreferenceScreen xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
app:layout="@layout/pref_text"
|
||||
app:orderingFromXml="true">
|
||||
<Preference
|
||||
app:key="global_tt9_status"
|
||||
app:layout="@layout/pref_text"
|
||||
app:title="@string/setup_keyboard_status" />
|
||||
|
||||
<Preference
|
||||
app:key="global_default_keyboard"
|
||||
app:layout="@layout/pref_text"
|
||||
app:title="@string/setup_default_keyboard" />
|
||||
|
||||
<PreferenceCategory
|
||||
app:title="@string/pref_category_hacks"
|
||||
app:layout="@layout/pref_category"
|
||||
app:singleLineTitle="true">
|
||||
|
||||
<SwitchPreferenceCompat
|
||||
app:key="pref_alternative_suggestion_scrolling"
|
||||
app:layout="@layout/pref_switch"
|
||||
app:title="@string/pref_alternative_suggestion_scrolling"
|
||||
app:summary="@string/pref_alternative_suggestion_scrolling_summary"/>
|
||||
<SwitchPreferenceCompat
|
||||
app:key="pref_alternative_suggestion_scrolling"
|
||||
app:title="@string/pref_alternative_suggestion_scrolling"
|
||||
app:summary="@string/pref_alternative_suggestion_scrolling_summary"/>
|
||||
|
||||
<SwitchPreferenceCompat
|
||||
app:defaultValue="false"
|
||||
app:key="pref_hack_google_chat"
|
||||
app:layout="@layout/pref_switch"
|
||||
app:title="@string/pref_hack_google_chat"
|
||||
app:summary="(BETA)"/>
|
||||
<SwitchPreferenceCompat
|
||||
app:defaultValue="false"
|
||||
app:key="pref_hack_google_chat"
|
||||
app:title="@string/pref_hack_google_chat"
|
||||
app:summary="(BETA)"/>
|
||||
|
||||
<SwitchPreferenceCompat
|
||||
app:defaultValue="false"
|
||||
app:key="pref_hack_fb_messenger"
|
||||
app:layout="@layout/pref_switch"
|
||||
app:title="@string/pref_hack_fb_messenger"/>
|
||||
<SwitchPreferenceCompat
|
||||
app:defaultValue="false"
|
||||
app:key="pref_hack_fb_messenger"
|
||||
app:title="@string/pref_hack_fb_messenger"/>
|
||||
|
||||
<DropDownPreference
|
||||
app:iconSpaceReserved="false"
|
||||
app:key="pref_key_pad_debounce_time"
|
||||
app:layout="@layout/pref_dropdown"
|
||||
app:title="@string/pref_hack_key_pad_debounce_time" />
|
||||
<DropDownPreference
|
||||
app:key="pref_key_pad_debounce_time"
|
||||
app:title="@string/pref_hack_key_pad_debounce_time" />
|
||||
|
||||
</PreferenceCategory>
|
||||
</PreferenceScreen>
|
||||
|
|
|
|||
|
|
@ -3,29 +3,24 @@
|
|||
|
||||
<SwitchPreferenceCompat
|
||||
app:key="pref_slow_queries_reset_stats"
|
||||
app:layout="@layout/pref_text"
|
||||
app:title="Clear DB Cache" />
|
||||
|
||||
<PreferenceCategory
|
||||
app:title="Summary"
|
||||
app:layout="@layout/pref_category"
|
||||
app:singleLineTitle="true">
|
||||
<Preference
|
||||
<io.github.sspanak.tt9.preferences.custom.PreferencePlainText
|
||||
app:key="summary_container"
|
||||
app:summary="--"
|
||||
app:layout="@layout/pref_plain_text">
|
||||
</Preference>
|
||||
app:summary="--">
|
||||
</io.github.sspanak.tt9.preferences.custom.PreferencePlainText>
|
||||
</PreferenceCategory>
|
||||
|
||||
<PreferenceCategory
|
||||
app:title="Slow Queries"
|
||||
app:layout="@layout/pref_category"
|
||||
app:singleLineTitle="true">
|
||||
<Preference
|
||||
<io.github.sspanak.tt9.preferences.custom.PreferencePlainText
|
||||
app:key="query_list_container"
|
||||
app:summary="--"
|
||||
app:layout="@layout/pref_plain_text">
|
||||
</Preference>
|
||||
app:summary="--">
|
||||
</io.github.sspanak.tt9.preferences.custom.PreferencePlainText>
|
||||
</PreferenceCategory>
|
||||
|
||||
</PreferenceScreen>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue