Understanding Android Themes
summary
Argues that Android themes are poorly documented and gives concrete fixes: uses Android Studio, edits styles.xml and AndroidManifest, builds example layouts and buttons, shows style inheritance both via a parent tag and dot-naming, and demonstrates the single-style limit with the textAppearance exception. Shows attribute lookup like ?attr/colorPrimary, using Android:buttonStyle and actionBarSize, explains precedence (theme < style < layout < code), offers a values-v21 trick for Material on old devices, and warns where this approach breaks.
AI-written summary · about
chapters (16)
- 0:00Intro
- 0:19Why Talk about Themes?
- 5:44Styles also...
- 7:18Example
- 8:56styles.xml
- 9:44Another way of doing style inheritance
- 10:57Overriding attributes
- 14:37Limitation of styles
- 14:50Wait! You can!
- 16:52Colors.xml
- 21:48Customize themes
- 22:30Using styles with themes
- 23:13Accessing theme from styles and layout
- 24:27AppCompat and themes
- 25:53Lots of themes..
- 27:32Material.Light
related talks
49mThemes, styles & more: from zero to hero
49mThemes, styles & more: from zero to hero
42mStyles, Themes, Material Theming, Oh My!
46mDeveloping Themes with Style
23mBest practices for themes and styles
43mCustomizing Theme and Style for Material Design
49mAndroid Development for Designers
39mStyles, Themes, Material Theming, Oh My!
