How do I position the cursor on the right in EditText

前端 未结 5 729
我在风中等你
我在风中等你 2020-12-30 01:58

My application uses RTL language (right to left).

When the EditText field gets focus, the cursor appears on the left and only when the user starts to ty

5条回答
  •  清歌不尽
    2020-12-30 02:29

    Starting from API Level>=17

    We can use android:layoutDirection in edit text. Also android:gravity="end" should also works.

提交回复
热议问题