android:textColorHighlight - Set the Color of Highlighted Text in an EditText

How to Set the Color of Highlighted Text in an EditText

added in API Level 1

Color of highlighted text.

1. Create an Android project, if you don't already have one.

2. Add an EditText.

3. Open the layout, main.xml and add the following highlighted code.
Highlighted color will be red.

<EditText
     ....
     android:textColorHighlight="#FF0000"
/>