I have a TextView that displays texts retrieved from db and some parts of the texts are marked as comment.
Here is sample.....
// CREATE A VARIABLE AT THE CLASS LIKE THIS...
private static int delay = 4000; //4Secs
/*NOW THE DELAY METHOD*/
new Handler().postDelayed(new Runnable() {
@Override
public void run() {
// DECLARE ACTIONS TO BE DELAYED HERE...
}
}, delay);
Now i want all the single and multi line comment texts to have a different textColor. How do i go about this?