Knife icon indicating copy to clipboard operation
Knife copied to clipboard

Underline

Open Kvazios opened this issue 7 years ago • 2 comments

Hello! Keyboard automatically underline last word (for suggestions), but Knife.toHtml() saves this underline. Any suggestions, how to solve this?

Kvazios avatar Apr 05 '17 12:04 Kvazios

Okay, after some research, I'm found this solution:

knife.setInputType(InputType.TYPE_TEXT_FLAG_NO_SUGGESTIONS);
knife.setSingleLine(false);

Kvazios avatar Apr 05 '17 14:04 Kvazios

I'm seeing underline of the first word, for some reason, setting the inputType and setSingleLine(false) didn't work for me 🤔

scottyab avatar Jun 29 '21 12:06 scottyab