I need this to position a custom keyboard.
This post suggest it can be done easily:
but it doesn't compile.
RBS
This post suggest it can be done easily:
How to get EditText cursor position x,y?
Hi, I have found some Java code that will give the x,y coordinates of the cursor in an EditText view. int pos = editText.getSelectionStart(); Layout layout = editText.getLayout(); int line = layout.getLineForOffset(pos); int baseline = layout.getLineBaseline(line); int ascent =...
www.b4x.com
RBS