Android Linkify how to set custom link color?
You should convert it to a Color. Try:
mText.setLinkTextColor(Color.parseColor("#2f6699"));
Try something like this:
noteView.setLinkTextColor(Color.green);
If you want to set an hexadecimal color:
noteView.setLinkTextColor(Color.argb(int alpha, int red, int green, int blue));
Replacing alpha/red/green/blue with the desired values. The documentation on the Color class can be found here
You can use also android:textColorLink="#2f6699"
in xml.