Android Question EditText does not show cursor.

MitchBu

Well-Known Member
Licensed User
Longtime User
In another post, I was looking at a way to use a custom keyboard.

Erel pointed me to a solution with a custom keyboard, but when I set the EditText to keyboard None, I don't get the cursor.

I found this where different calls to Java should enable that cursor and even change the color, but still no luck:

I will appreciate any pointer.
TIA
 

MitchBu

Well-Known Member
Licensed User
Longtime User
You could try: EditText.RequestFocus and also make sure that: EditText.InputType=EditText.INPUT_TYPE_TEXT (and not INPUT_TYPE_NONE): Check your designer setting.

You do not understand. I cannot use the standard keyboards, because they are inadequate.

However, I was indeed able to set the EditField to numeric keyboard, and to use IME to prevent it to show. So now I get the cursor alright.

Thanks.
 
Upvote 0
Top