In my app, I have an edit text with properties:
android:inputType="none"
and android:textIsSelectable="true"
.
It's because I have defined my own buttons to enter input (buttons, not custom keyboard). I have used
editText.requestFocus()
to make the cursor visible. Upto to android 4.0.4, the cursor is visible and not in phones running Jelly Bean. The cursor isn't visible but I'm able touch and enter text between characters ( using editText.getSelectionStart()
).
What has changed in Jelly Bean? How do I make the cursor visible?
Edit:
android:cursorVisible="true"
isn't helping.
null
above forces it to use theandroid:textColor
– Carollcarolle