commit | e3b135743f8cbfe131f4db314f986ab76e5d0be9 | [log] [tgz] |
---|---|---|
author | Ashley Rose <ashleyrose@google.com> | Tue Aug 21 16:57:30 2018 -0400 |
committer | Ashley Rose <ashleyrose@google.com> | Wed Aug 22 14:08:30 2018 -0400 |
tree | 33d395463a894bb648f8b7e12f1da9b4d3353a75 | |
parent | 07ae651adf46b363c302dcf7e90f29998761a09a [diff] |
Create ColorStateListDrawable Previously, you could not use references to colors in places that expected a Drawable. This new class, ColorStateListDrawable bridges the gap by attaching a ColorStateList to a ColorDrawable, and hooks it into resource loading wherever you might expect a Drawable. Fixes: 18126411 Test: Unit tests to be added to CTS Change-Id: I0ff9a089669da96e6b22b214f04d6726bc278152