如何更改 edittext 文本选择手柄的颜色?

how to change the color of the edittext text selection handles?

我知道这个问题已经得到解答,但我找不到有效的解决方案。

on android > lolipop (21) 有什么方法可以更改我的文本选择手柄的颜色(无需上传新的 png 图像)?

我定义了这个风格

<?xml version="1.0" encoding="utf-8"?>
<resources>

  <style name="AppEditTextStyle" parent="@android:style/Widget.Material.Light.EditText">
    <item name="android:background">@null</item>    
    <item name="android:textCursorDrawable">@null</item> 
    <item name="android:drawableTint">#00ffffff</item>           
  </style>

  <style name="AppTheme" parent="@android:style/Theme.Material.Light.NoActionBar"> 
    <item name="android:editTextStyle">@style/AppEditTextStyle</item>
  </style>

</resources>

但这行不通,我收到: 错误:找不到与给定名称匹配的资源:attr 'android:drawableTint'.

但在文档 (https://developer.android.com/reference/android/widget/TextView.html#attr_android:drawableTint) 中明确指出 android:drawableTint 存在 :( 所以我不明白为什么我错过了?

在 android lolipop 和后来的手柄颜色是强调色。

我建议阅读这个:

Selection - Patterns - Material design guidelines

这是样式行:

<item name="colorAccent">@color/colorAccent</item>

并像这样设置选择颜色:

android:textColorHighlight="@color/colorAccent"