针对此问题的修改方案: 在xml的EditText布局中添加如下参数: android:cursorVisible="true"、 android:textCursorDrawable="@drawable/weibo_cursor_color" 切记:textCursorDrawable不能用color来代替,否则会导致光标不闪烁。