Underline that occurs when you type in Android EditText

Asked 2 years ago, Updated 2 years ago, 93 views

Hello, we are currently making EditText, which is like a word processor. You must specify StyleSpan for each letter, so you should not apply the same Span for letters that are entered consecutively after one letter is entered. It's because when you erase the span, the span of other letters is erased, too

In order to prevent the occurrence of consecutive characters, I thought it was necessary to eliminate the underline when typing, so I did textNoSuggestions on Android:inputType, but it seems to work in English, but it doesn't work in Korean

Does anyone know?

edittext spannable span

2022-09-22 14:15

1 Answers

android:background="@android:color/transparent"

Try applying the option.


2022-09-22 14:15

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.