Computer Science, asked by tejasjagdishpatil23, 2 months ago

how to change the color of words in a sentence only in java programming

Answers

Answered by kalakondanithyapriya
1

Answer:

Set a text color in XML and Java – android:textColor and setTextColor() All we have to do to set text color in XML is to add one more attribute called android:textColor to TextView tag. As its value we could put #RGB, #ARGB, #RRGGBB, #AARRGGBB color value or reference to color saved in colors.

Hope it helps you.

MARK ME AS BRAINLIEST.

Similar questions