mirror of
https://github.com/Helium314/HeliBoard.git
synced 2025-05-14 05:52:47 +00:00
fix issues with suggestions
This commit is contained in:
parent
d5902a7f2c
commit
cfa27dbb7f
4 changed files with 27 additions and 3 deletions
|
@ -105,7 +105,7 @@ public final class InputAttributes {
|
|||
|
||||
// TODO: Have a helper method in InputTypeUtils
|
||||
// Make sure that passwords are not displayed in {@link SuggestionStripView}.
|
||||
mShouldShowSuggestions = !(mIsPasswordField || flagNoSuggestions);
|
||||
mShouldShowSuggestions = !mIsPasswordField;
|
||||
|
||||
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>
|
||||
<!-- Symbols that separate words -->
|
||||
<!-- 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 -->
|
||||
<string name="symbols_word_connectors">\'-</string>
|
||||
<!-- The sentence separator code point, for capitalization and auto-insertion -->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue