I'd like to change the color of the (blue) buttons that are used to position the cursor inside an EditText. Any ideas how this can be done?
Asked
Active
Viewed 2,785 times
3 Answers
2
Thanks for your support. What I was looking for is answered at this SO question: How to change color / appearance of EditText select handle / anchor?

Community
- 1
- 1

user2779473
- 131
- 4
- 9
1
<item name="android:editTextStyle">@style/myEditText</item>
<style name="myEditText" parent="@android:style/Widget.Holo.Light.EditText">
<item name="android:background">@android:drawable/editbox_background_normal</item>
<item name="android:textCursorDrawable">@android:drawable/my_cursor_drawable</item>
<item name="android:height">40sp</item> </style>
should work...

hoss24
- 556
- 9
- 22
1
You can try to set the text_select_handle
drawable (here: Other Drawables Resources at the bottom) to your style as @user2383106 said (see also: Change the color of the cursor of an EditText in Android 3.0).
Hope this helps.