For example, in a EditText, if you write a word like HELP and you put the cursor in the midle, like HE_LP, I need to obtain the coordinates x,y of the cursor at this moment (The coordinates x,y at position _).
I know that its posible obtain the position in a EditText (character 1,2,3,4,...) but I need the coordinates x,y.
If you are not touching the editbox the cursor is automaticaly at the end. So editbox.left + editbox.text.measuretextwidth.
When the user change the cursor manualy the x will change to the touch gesture x.
I dont know if I explained correctely.
If you are not touching the editbox the cursor is automaticaly at the end. So editbox.left + editbox.text.measuretextwidth.
When the user change the cursor manualy the x will change to the touch gesture x.
I dont know if I explained correctely.
The object is EmojiEditText and it has not all the methods of EditText. @DonManfred wrapped the library, but for any reason, the inheritance in the library is incomplete.
I want to catch the position of the cursor and simulate a click when I insert an new icon.