The Android styling system offers a powerful way to specify your app's visual design, but it can be easy to misuse… Specifically we recommended using theme attributes to provide a point of indirection to resources, so that you can vary them (e.g. in dark theme). That is, if you find yourself writing a direct resource reference (or worse yet, a hardcoded value 😱) in a layout or style, consider if
![Android styling: common theme attributes](https://cdn-ak-scissors.b.st-hatena.com/image/square/3ccf7a9422d330b8325a56b9204bd9d521d359f4/height=288;version=1;width=512/https%3A%2F%2Fmiro.medium.com%2Fv2%2Fresize%3Afit%3A1200%2F1%2A_oRkdiiwzxsiEKUW-KSRXg.png)