This approach makes sense as color change text rendering functionality provided settings for example

20 Myths About Change Text Color Android Xml: Busted