0

I'm creating a kids math app for android but I want the user to be able to enter the numbers in from right to left as if they were solving a problem on paper that has one number on top and one on the bottom and the user would solve one column at a time from the right side and type it in underneath the problem.

I've tried the solutions on this post except for the first one because I want it to be able to do it dynamically as the user types. How to make the text direction from right to left

I have the text shifted to the right and by using android:textDirection="rtl" the cursor will go the the left of the last number typed but when typing the next number it appends to the right.

Ex. What it is currently doing is user inputs 5 cursor is to the left of 5. User types 6 the number 6 goes to the right of 5 giving the answer of 56. What I want is if user types 5 then 6 I want it to say 65 (The input is being put in an "EditText")

BrocH
  • 1

0 Answers0