~/talk

Understanding Android Themes

Talkat 360|AnDev 2017 · 2017-07-13..07-14· [android]
links:none on file
slides:none on file

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

  1. 0:00Intro
  2. 0:19Why Talk about Themes?
  3. 5:44Styles also...
  4. 7:18Example
  5. 8:56styles.xml
  6. 9:44Another way of doing style inheritance
  7. 10:57Overriding attributes
  8. 14:37Limitation of styles
  9. 14:50Wait! You can!
  10. 16:52Colors.xml
  11. 21:48Customize themes
  12. 22:30Using styles with themes
  13. 23:13Accessing theme from styles and layout
  14. 24:27AppCompat and themes
  15. 25:53Lots of themes..
  16. 27:32Material.Light
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.