How do I position the cursor on the right in EditText

前端 未结 5 725
我在风中等你
我在风中等你 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:23

    You might want to look into the native RTL support that was introduced in Android 4.2 Jelly Bean.

    http://developer.android.com/about/versions/jelly-bean.html

    Android 4.2 introduces full native support for RTL (right-to-left) layouts, including layout mirroring. With native RTL support, you can deliver the same great app experience to all of your users, whether their language uses a script that reads right-to-left or one that reads left-to-right.

提交回复
热议问题