I want the user to be able to press a button and add a certain character such as "<", and after the character is added in the position the cursor is, I want the cursor to move to after the added character, like he presses it on his keyboard.
If I just save the current content of the EditText and add a character it will just add it to the end, and will reset the position of the cursor.