Search code examples
androidandroid-edittextdirection

android EditText android:textDirection


I'd like to set an EditText to be LTR at all times, how do I do that? android:textDirection does seem to be the answer, i cant get the project to compile with that directive


Solution

  • Adding \u202D (LTR OVERRIDE) to the beginning of the string does the trick