Three methods to solve the problem that EditText does not display the cursor (summary)

There are three solutions

1. Add the following attributes to EditText

2. Add the following attributes to EditText

3. If the above has no effect, please use this

Explicitly specify the inputtype property value of EditText textapsentences in the inputtype property

Don't use this. It seems that domestic mobile phones don't use this. It's just personal confirmation. Use text or textmultiline

The above three methods (summary) to solve the problem that EditText does not display the cursor are all the contents shared by Xiaobian. I hope to give you a reference and support more programming tips.

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>