2

I am working on an application support RTL justification and its work fine, but I have tried many times to make text cursor following the end of text while typing but I did not figure it out, if I type in English or any LTR languages, but that does not work with RTL languages such as Arabic. Please take a look to screenshot below. I am working on AVD 4.0.3, my smartphone OS is 4.1.2.

enter image description here

Paebbels
  • 15,573
  • 13
  • 70
  • 139

1 Answers1

0

works for me

 <EditText
            android:id="@+id/edtName"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:ellipsize="end"
            android:gravity="right"
            />
Richa
  • 3,165
  • 1
  • 22
  • 26