Android Drawable color runtime
问题 I am developing an android app. I have two different text view with different text view as shown in below two images: Text view one: Text view Two: I have a question, should I create two different drawable files with different colors or should I create a single drawable file and change the color runtime? What's the standard way to achieve this? If I should create a single drawable file then how should I change to color programmatically? 回答1: try this simple example public class MainActivity