I want to change the appearance of cursor/marker in an EditText. In general the cursor looks like this: | and is flashing. I want it to look like a black rectangle (the size of 1 character) that is flashing. Like the standard cursor used in a unix terminal. Is this 开发者_JAVA技巧possible?
This question may help you... Set EditText cursor color
This talks about the similar things you want to achieve.
There is no way to change the appearance of the cursor, without re-implementing TextView and android.text.Layout. The cursor's appearance is hardcoded in getCursorPath() method.
精彩评论