Java代码动态生成的EditText的光标有时显示,有时不显示,有时虽然显示但是不闪,肯定是有焦点的,软键盘可以输入文字,在xml布局设置了android:textCursorDrawable="@null"
ringa_lee
When there is a cursor, it means that EditText is currently focused
EditText
The original android:textCursorDrawable should be an animation effect, but you overwrote it
When there is a cursor, it means that
EditText
is currently focusedThe original android:textCursorDrawable should be an animation effect, but you overwrote it