EGHDK
EGHDK

Reputation: 18130

Remove underline from a string in Java/Android

I'm getting text input from an editText and setting it as a notification .setTitle, but when it shows in the notification, it shows up with an underline on certain words. I had no idea why, but when I went to test it, the android keyboard puts underlines under words it has auto completed. So, what would be the best method to remove this?

Upvotes: 3

Views: 1790

Answers (1)

slezadav
slezadav

Reputation: 6141

Use :

getText().toString() 

as described here

Upvotes: 2

Related Questions