Resource: Droidcon NYC 2015 - Using Styles and Themes Without Going Crazy

video: https://www.youtube.com/watch?v=Jr8hJdVGHAk
slide: https://speakerdeck.com/dlew/using-styles-and-themes-without-going-crazy-1

Main points:

  1. When to style
  2. When NOT to style
  3. Parenting
  4. TextAppearance
  5. Themes vs. Styles
  6. Applying to View
  7. Use AppCompat
  8. Window Attributes
  9. Color Attributes
  10. Default Styles
  11. Resource Attributes
  12. Namespacing
  13. Finding Attributes
  14. Attributes in XML
  15. Debug Color Theme
  16. Dump Theme ( HierarchyViewer)
  17. Custom Attributes
  18. Dynamic Styles
  19. Dynamic Theming

Themes vs. Styles

  • Same thing!
  • Different scope
  • Different attributes