TextInputConfig and GBoard toolbar
When enableIMEPersonalizedLearning
is set to true
, the toolbar’s left-side button displays as a settings button with four squares; when set to false
, it displays as a privacy avatar.
enableSuggestions
: When set to true
, the suggestion toolbar is displayed. When set to false
, the toolbar is not displayed, but the HarmonyOS
secure keyboard
is used in the HarmonyOS
system. The specific relationship is as follows:
TextInputType | enableSuggestions | enableIMEPLearning | Harmony Secure kb | GBoard toolbar |
---|---|---|---|---|
text | false | - | yes | - |
multiline | false | - | yes | - |
url | false | - | yes | - |
visiblePassword | true | false | yes | - |
emailAddress | true | false | no | yes |
name | true | false | no | yes |
streetAddress | true | false | no | yes |