Set position of edit text cursor based on user touch position Android

I try to make some kind like note application in android xperia or samsung galaxy… What I wanna do is to set the cursor of edit text position follow the touch position from user.

In normal edit text whenever we touch the edit text area, cursor will always positioned at the end of our characters or between the characters.. So The notes is some kind like being appended with many characters so we can move the cursor wherever we want… I’ve tried to appended many blank spaces. but it wont help… Cursor only can move on 1 line only..

Is there any solution for this? Thanks before…..

Set cursor position in android Edit text [duplicate]

This question already has an answer here: Android EditText how to start cursor pointer at the end of all characters- not end of first line 1 answer How can i set the cursor position in android

Android Edit Text Cursor position issues

I am making a text editor in android, I am using a multi-line edit text that holds all the text and all the editing is done on the same edit text. I have one issue: When i started working on the appli

Android Edit Text – Cursor stays at the starting position

I am using an Edit Text in my project. The problem is that whenever I type anything into the text box, it shows up, but the cursor does not move from its starting position at all, regardless of how ma

Edit text cursor position

I want to place the cursor after 2 spaces in EditText. Can anybody tell me how to do that? I am trying to use et.setSelection(2); but its not working.

Set cursor position in edittext android

I have implemented a text editor type application in android, the issue is when i re-open the activity in which i have placed my multi-line edit text, the cursor is always set to the start position of

Android IME, set cursor position in EditText

I am working on soft keyboard where I need to set the cursor position in IME edit text. As shown in above image, I had created soft keyboard, as we can see some text is entered in edit text and curre

UITextField set cursor to start text position

I need to move cursor to start text position on set focus on the textfield. Is it possible tot do?

How to check if the cursor position in edit text is first or not?

I have an edit text in my layout. After some user operations, I want to check if the cursor position is the first position or at any other position. how to do that?

jQuery Set Cursor Position in Text Area

How do you set the cursor position in a text field using jQuery? I’ve got a text field with content, and I want the users cursor to be positioned at a certain offset when they focus on the field. The

Extract text from PDF based on user’s touch position

How to extract the text from PDF file Using Objective C ? Is there any code to parse the text position from the PDF file? Please help me. Thanks in advance.