mirror of
https://github.com/Helium314/HeliBoard.git
synced 2025-05-14 14:02:44 +00:00
fix issues with suggestions
This commit is contained in:
parent
d5902a7f2c
commit
cfa27dbb7f
4 changed files with 27 additions and 3 deletions
|
@ -12,7 +12,7 @@ Plan / to do:
|
||||||
* ~user-selectable dictionaries, https://github.com/openboard-team/openboard/pull/578~
|
* ~user-selectable dictionaries, https://github.com/openboard-team/openboard/pull/578~
|
||||||
* ~make additional dictionaries available for download (from OpenBoard PRs)~
|
* ~make additional dictionaries available for download (from OpenBoard PRs)~
|
||||||
* multi-lingual typing, https://github.com/openboard-team/openboard/pull/593
|
* multi-lingual typing, https://github.com/openboard-team/openboard/pull/593
|
||||||
* suggestion fixes, https://github.com/openboard-team/openboard/pull/694, https://github.com/openboard-team/openboard/issues/795, https://github.com/openboard-team/openboard/issues/660
|
* ~suggestion fixes, https://github.com/openboard-team/openboard/pull/694, https://github.com/openboard-team/openboard/issues/795, https://github.com/openboard-team/openboard/issues/660~
|
||||||
* improve auto-space insertion, https://github.com/openboard-team/openboard/pull/576
|
* improve auto-space insertion, https://github.com/openboard-team/openboard/pull/576
|
||||||
* emoji prediction/search, either https://github.com/openboard-team/openboard/pull/749 or use dictionaries
|
* emoji prediction/search, either https://github.com/openboard-team/openboard/pull/749 or use dictionaries
|
||||||
* theming, https://github.com/openboard-team/openboard/issues/124
|
* theming, https://github.com/openboard-team/openboard/issues/124
|
||||||
|
@ -30,6 +30,8 @@ Changes:
|
||||||
* add Arabic dictionary for download, from https://github.com/remi0s/aosp-dictionary-tools/blob/master/dictsCreated/WikiAndOpenSubtitles/ar_wordlist.combined / https://github.com/openboard-team/openboard/pull/450
|
* add Arabic dictionary for download, from https://github.com/remi0s/aosp-dictionary-tools/blob/master/dictsCreated/WikiAndOpenSubtitles/ar_wordlist.combined / https://github.com/openboard-team/openboard/pull/450
|
||||||
* add Hebrew dictionary for download, from https://github.com/Hananel-Hazan/aosp-dictionary-tools/blob/master/hebrew-hspell.txt.combined.new / https://github.com/openboard-team/openboard/pull/300
|
* add Hebrew dictionary for download, from https://github.com/Hananel-Hazan/aosp-dictionary-tools/blob/master/hebrew-hspell.txt.combined.new / https://github.com/openboard-team/openboard/pull/300
|
||||||
* add Galician dictionary for download, from https://github.com/chavaone/openboard/blob/master/dictionaries/es_GL_wordlist.combined.gz / https://github.com/openboard-team/openboard/pull/291
|
* add Galician dictionary for download, from https://github.com/chavaone/openboard/blob/master/dictionaries/es_GL_wordlist.combined.gz / https://github.com/openboard-team/openboard/pull/291
|
||||||
|
* fix suggestions after some characters, https://github.com/openboard-team/openboard/pull/694, https://github.com/openboard-team/openboard/issues/795
|
||||||
|
* fix suggestions sometimes not being shown, https://github.com/openboard-team/openboard/pull/709
|
||||||
|
|
||||||
-----
|
-----
|
||||||
|
|
||||||
|
|
|
@ -105,7 +105,7 @@ public final class InputAttributes {
|
||||||
|
|
||||||
// TODO: Have a helper method in InputTypeUtils
|
// TODO: Have a helper method in InputTypeUtils
|
||||||
// Make sure that passwords are not displayed in {@link SuggestionStripView}.
|
// Make sure that passwords are not displayed in {@link SuggestionStripView}.
|
||||||
mShouldShowSuggestions = !(mIsPasswordField || flagNoSuggestions);
|
mShouldShowSuggestions = !mIsPasswordField;
|
||||||
|
|
||||||
mShouldInsertSpacesAutomatically = InputTypeUtils.isAutoSpaceFriendlyType(inputType);
|
mShouldInsertSpacesAutomatically = InputTypeUtils.isAutoSpaceFriendlyType(inputType);
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,22 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!--
|
||||||
|
/*
|
||||||
|
**
|
||||||
|
** Copyright 2009, 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.
|
||||||
|
*/
|
||||||
|
-->
|
||||||
|
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||||
|
<string name="symbols_word_separators">"	 
 "()[]{}*&<>+=|.,;:!?¡¿/_\"</string>
|
||||||
|
</resources>
|
|
@ -30,7 +30,7 @@
|
||||||
<string name="symbols_clustering_together"></string>
|
<string name="symbols_clustering_together"></string>
|
||||||
<!-- Symbols that separate words -->
|
<!-- Symbols that separate words -->
|
||||||
<!-- Don't remove the enclosing double quotes, they protect whitespace (not just U+0020) -->
|
<!-- Don't remove the enclosing double quotes, they protect whitespace (not just U+0020) -->
|
||||||
<string name="symbols_word_separators">"	 
 "()[]{}*&<>+=|.,;:!?/_\"</string>
|
<string name="symbols_word_separators">"	 
 "()[]{}*&<>+=|.,;:!?/_\"„“</string>
|
||||||
<!-- Word connectors -->
|
<!-- Word connectors -->
|
||||||
<string name="symbols_word_connectors">\'-</string>
|
<string name="symbols_word_connectors">\'-</string>
|
||||||
<!-- The sentence separator code point, for capitalization and auto-insertion -->
|
<!-- The sentence separator code point, for capitalization and auto-insertion -->
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue