Robot-Scouter
Robot-Scouter copied to clipboard
Use the new Material Design components
https://github.com/material-components/material-components-android/tree/master/material-theme-builder
- Use no parent themes for performance (since less overwrites)
- Use closest context for resources to get overridden themes
- Use default styles so you don't have to remember to apply the same style over and over
- Always tint drawables with full (no alpha) color. Use hot green (for example) as a way to make sure everything is tinted.
- Use fake background and apply background tint instead of background color
- Make sure colors have literal names and no implicit semantic meaning
- Use implicit inheritance
- Consider this architecture (seems a tad complicated)
- Group definitions by feature, not type