Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable predictive input on TextViews #86

Closed
GoogleCodeExporter opened this issue Mar 19, 2015 · 4 comments
Closed

Disable predictive input on TextViews #86

GoogleCodeExporter opened this issue Mar 19, 2015 · 4 comments
Labels

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Edit a profile
2. Click on "Basic"
3. Use the "Server Address:" field

What is the expected output? What do you see instead?

My Keyboard tries to predict and correct the ip-adress/hostname I enter. My 
keyboard is the swiftkey X keyboard which automatically tries to correct input 
text.

What mobile phone are you using?
Galaxy Nexus + Nexus 7

Which Android Version and stock ROM or aftermarket like cyanogenmod?
Stock

Please provide any additional information below.

The automatic correction, spellchecking and others can be disabled using 
'inputType=text|textNoSuggestions' in the Android Layout. One should carefully 
inspect the text-fields and check for which the predictions should be disabled. 
The make sense for some fields (i.e. 'Profile Name'). Especially when entering 
IP-Adresses it does not make a lot of sense.

Original issue reported on code.google.com by [email protected] on 3 Sep 2012 at 10:25

@GoogleCodeExporter
Copy link
Author

I will look through the field to see where it makes sense and where not. But I 
think it makes sense for the address name field for two reasons:

a) often the url consists of string that are in your dictionary.
b) the lazy excuse: androids own text inputs which require a host name act in 
the same way.

For the pure IP (like DNS) field I will definitely change it.

Original comment by [email protected] on 3 Sep 2012 at 10:47

@GoogleCodeExporter
Copy link
Author

Also also checked some apps and have a different conclusion that it might not 
make sense to have autocorrection here. For example, the EMail Application 
(Stock Jelly Bean) has its server address fields without auto correction. It 
depends on the keyboard application you are using how big the differences are: 
The SwiftkeyX Keyboard automatically ads a space after each dot which makes 
entering a adress like 'openvpn.server.net' quite timeconsuming because you 
have to delete the spaces afterwards.

But, I understand your reasons, I'm fine with that.

Original comment by [email protected] on 3 Sep 2012 at 10:51

@GoogleCodeExporter
Copy link
Author

I think I will flag the input with TEXT_VARIATION_URI that should give you 
sensible input in your keyboard but keeps auto complementation. If not your 
Input method may be broken :)

Original comment by [email protected] on 3 Sep 2012 at 11:05

@GoogleCodeExporter
Copy link
Author

This issue was closed by revision 4f4892ea90a6.

Original comment by [email protected] on 4 Sep 2012 at 9:59

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant