upgraded Gradle 8.0.2 -> 8.2.2
This commit is contained in:
parent
041690f8bd
commit
140b8ced08
192 changed files with 162 additions and 187 deletions
26
app/src/main/res/xml/method.xml
Normal file
26
app/src/main/res/xml/method.xml
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
/**
|
||||
* Copyright (c) 2008, The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
-->
|
||||
|
||||
<!-- The attributes in this XML file provide configuration information -->
|
||||
<!-- for the Search Manager. -->
|
||||
|
||||
<input-method
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:settingsActivity="io.github.sspanak.tt9.preferences.PreferencesActivity">
|
||||
</input-method>
|
||||
64
app/src/main/res/xml/prefs.xml
Normal file
64
app/src/main/res/xml/prefs.xml
Normal file
|
|
@ -0,0 +1,64 @@
|
|||
<?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
|
||||
android:action="android.intent.action.VIEW"
|
||||
android:data="@string/help_url" />
|
||||
</Preference>
|
||||
|
||||
<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.DictionariesScreen"
|
||||
app:key="screen_dictionaries"
|
||||
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
|
||||
android:action="android.intent.action.VIEW"
|
||||
android:data="@string/donate_url" />
|
||||
</Preference>
|
||||
|
||||
<Preference
|
||||
app:fragment="io.github.sspanak.tt9.preferences.DebugScreen"
|
||||
app:key="version_info"
|
||||
app:layout="@layout/pref_text"
|
||||
app:title="@string/app_name" />
|
||||
|
||||
</PreferenceCategory>
|
||||
|
||||
</PreferenceScreen>
|
||||
25
app/src/main/res/xml/prefs_screen_appearance.xml
Normal file
25
app/src/main/res/xml/prefs_screen_appearance.xml
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<PreferenceScreen xmlns:app="http://schemas.android.com/apk/res-auto" app:orderingFromXml="true">
|
||||
|
||||
<DropDownPreference
|
||||
app:defaultValue="-1"
|
||||
app:iconSpaceReserved="false"
|
||||
app:key="pref_theme"
|
||||
app:layout="@layout/pref_dropdown"
|
||||
app:title="@string/pref_dark_theme" />
|
||||
|
||||
<SwitchPreferenceCompat
|
||||
app:defaultValue="true"
|
||||
app:key="pref_show_soft_keys"
|
||||
app:layout="@layout/pref_switch"
|
||||
app:title="@string/pref_show_soft_function_keys" />
|
||||
|
||||
<SwitchPreferenceCompat
|
||||
app:defaultValue="false"
|
||||
app:key="pref_show_soft_numpad"
|
||||
app:layout="@layout/pref_switch"
|
||||
app:title="@string/pref_show_soft_numpad"
|
||||
app:summary="@string/pref_show_soft_numpad_summary"
|
||||
app:dependency="pref_show_soft_keys" />
|
||||
|
||||
</PreferenceScreen>
|
||||
33
app/src/main/res/xml/prefs_screen_debug.xml
Normal file
33
app/src/main/res/xml/prefs_screen_debug.xml
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<PreferenceScreen xmlns:app="http://schemas.android.com/apk/res-auto" app:orderingFromXml="true">
|
||||
|
||||
<SwitchPreferenceCompat
|
||||
app:fragment="io.github.sspanak.tt9.preferences.SlowQueriesScreen"
|
||||
app:key="pref_slow_queries"
|
||||
app:layout="@layout/pref_text"
|
||||
app:title="@string/pref_category_usage_stats" />
|
||||
|
||||
<SwitchPreferenceCompat
|
||||
app:defaultValue="false"
|
||||
app:key="pref_enable_debug_logs"
|
||||
app:layout="@layout/pref_switch"
|
||||
app:title="Debug Logs" />
|
||||
|
||||
<SwitchPreferenceCompat
|
||||
app:defaultValue="false"
|
||||
app:key="pref_enable_system_logs"
|
||||
app:layout="@layout/pref_switch"
|
||||
app:title="System Logs" />
|
||||
|
||||
<PreferenceCategory
|
||||
app:title="Recent Log Messages"
|
||||
app:layout="@layout/pref_category"
|
||||
app:singleLineTitle="true">
|
||||
<Preference
|
||||
app:key="debug_logs_container"
|
||||
app:summary="--"
|
||||
app:layout="@layout/pref_plain_text">
|
||||
</Preference>
|
||||
</PreferenceCategory>
|
||||
|
||||
</PreferenceScreen>
|
||||
24
app/src/main/res/xml/prefs_screen_dictionaries.xml
Normal file
24
app/src/main/res/xml/prefs_screen_dictionaries.xml
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
<?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_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" />
|
||||
|
||||
</PreferenceScreen>
|
||||
71
app/src/main/res/xml/prefs_screen_hotkeys.xml
Normal file
71
app/src/main/res/xml/prefs_screen_hotkeys.xml
Normal file
|
|
@ -0,0 +1,71 @@
|
|||
<?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_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>
|
||||
62
app/src/main/res/xml/prefs_screen_keypad.xml
Normal file
62
app/src/main/res/xml/prefs_screen_keypad.xml
Normal file
|
|
@ -0,0 +1,62 @@
|
|||
<?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:orderingFromXml="true">
|
||||
|
||||
<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" />
|
||||
|
||||
<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>
|
||||
|
||||
|
||||
<PreferenceCategory
|
||||
android:title="@string/pref_category_abc_mode"
|
||||
app:layout="@layout/pref_category"
|
||||
app:singleLineTitle="true">
|
||||
|
||||
<SwitchPreferenceCompat
|
||||
app:defaultValue="true"
|
||||
app:key="abc_auto_accept"
|
||||
app:layout="@layout/pref_switch"
|
||||
app:summary="@string/pref_abc_auto_accept_summary"
|
||||
app:title="@string/pref_abc_auto_accept" />
|
||||
</PreferenceCategory>
|
||||
|
||||
</PreferenceScreen>
|
||||
35
app/src/main/res/xml/prefs_screen_setup.xml
Normal file
35
app/src/main/res/xml/prefs_screen_setup.xml
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
<?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:defaultValue="false"
|
||||
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:defaultValue="false"
|
||||
app:key="pref_hack_fb_messenger"
|
||||
app:layout="@layout/pref_switch"
|
||||
app:title="@string/pref_hack_fb_messenger"
|
||||
app:summary="@string/pref_hack_fb_messenger_summary"/>
|
||||
|
||||
</PreferenceCategory>
|
||||
</PreferenceScreen>
|
||||
31
app/src/main/res/xml/prefs_screen_usage_stats.xml
Normal file
31
app/src/main/res/xml/prefs_screen_usage_stats.xml
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<PreferenceScreen xmlns:app="http://schemas.android.com/apk/res-auto" app:orderingFromXml="true">
|
||||
|
||||
<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
|
||||
app:key="summary_container"
|
||||
app:summary="--"
|
||||
app:layout="@layout/pref_plain_text">
|
||||
</Preference>
|
||||
</PreferenceCategory>
|
||||
|
||||
<PreferenceCategory
|
||||
app:title="Slow Queries"
|
||||
app:layout="@layout/pref_category"
|
||||
app:singleLineTitle="true">
|
||||
<Preference
|
||||
app:key="query_list_container"
|
||||
app:summary="--"
|
||||
app:layout="@layout/pref_plain_text">
|
||||
</Preference>
|
||||
</PreferenceCategory>
|
||||
|
||||
</PreferenceScreen>
|
||||
Loading…
Add table
Add a link
Reference in a new issue