How to change EditText pointer color (not cursor)

前端 未结 3 672
陌清茗
陌清茗 2021-02-18 21:18

I\'m trying to make the pointer color of EditText to become blue.

I\'m able to make the underline and the cursor to become blue, but the droplet l

3条回答
  •  暖寄归人
    2021-02-18 21:45

    I recognize this is really late, but if all you want to do is change the color of the handle, you just need to add the following to your styles.xml file.

    
    

    Or if you want to set it app-wide, you can do the following:

    
    

    And then just set the theme on whatever activity is holding the EditText which you want to affect.

    Problem solved!

提交回复
热议问题