Tasty Code Samples
I mentioned that I had some stuff that I'd open sourced to help with the Materialization of AllCast.
For lists and drawers, I needed ImageViews and TextViews that tinted properly upon activated/selected states. I imagine at some point state list tint support (via XML) will be rolled into v7-appcompat, but until then, some of you may find this handy.
The selectable behavior is to colorize the view with ?android:attr/textColorPrimary (dark grey in attached screenshot), and upon selection, it is colorized with ?attr/colorPrimary (red in attached screenshot).
TintedTextView and TintedImageView are more or less drop in replacements for their regular counterparts.
So, here ya go.https://github.com/koush/boilerplate/tree/master/src/com/koushikdutta/boilerplate/tint