How to Set the Color of Link Text (URLs) in a TextView/EditText
added in API Level 1Color of link text (URLs)
1. Create an Android project, if you don't already have one.
3. Open the layout, main.xml and add the following highlighted code.
Highlighted color will be red.
<EditText
....
android:textColorLink="#FF0000"
/>
4. Determine the Hex value for the color you would like.
5. Compile and run!
Related Articles
use android:textAppearance in TextView
Set the Background Color for a TextView, using Background
Add Shadow Color Behind Text in TextView/EditText
Use colorRadius in a Text Shadow in a TextView/EditText
Use colorDy in a Text Shadow in a TextView/EditText
Use colorDx in a Text Shadow in a TextView/EditText
Resources: