Change the color of the cursor of an EditText in Android across all the sdk

前端 未结 5 2378
半阙折子戏
半阙折子戏 2021-02-19 08:30

Want to change the android\'s edittext cursor color, that has to be worked on across all the devices

5条回答
  •  心在旅途
    2021-02-19 09:22

    Assign android:textCursorDrawable attribute to @null and set android:textColor as the cursor color.

提交回复
热议问题