splitwise / TokenAutoComplete

Gmail style MultiAutoCompleteTextView for Android
Apache License 2.0
1.3k stars 383 forks source link

How can i disable user input ? #141

Closed jagatappv closed 9 years ago

jagatappv commented 9 years ago

Can you help me to disable user input in auto completion view.

Thanks

mgod commented 9 years ago

Depending on exactly how you want it to work, this question on stack overflow should have some relevant answers: http://stackoverflow.com/questions/4297763/disabling-of-edittext-in-android

jagatappv commented 9 years ago

Thanks for replay I have use this library, its working fine. I am using this library with delete tokenizer style. and i want to prevent user from inputting text. I just want to display the tokenizer and need remove tokenizer. when i try to delete token the keyboard popups every time. I dont want tat keboard

How can i prevent that?

mgod commented 9 years ago

Hmmm, I don't think there's a way with this library to allow the user to select a token, but prevent the keyboard from appearing. You might try inputStyle=none in the layout Xml, but I'm not sure this would work properly.