You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implemented w/ v0.5.1 but only fixes problem for api 19+. For lower versions the sunrise/sunset icons still fail to apply the colors (but the noon icon is fixed).
The sunrise/sunset icons are InsetDrawable (wrapping a GradientDrawable), while the noon icon is a plain GradientDrawable. Applying the colors to InsetDrawable requires getting a reference to the wrapped drawable, but (apparently) InsetDrawable.getDrawable() was added api19 (and for lower versions there is no access).
So there doesn't seem to be an easy fix w/out reworking the rise/set icons. Using a layer-list drawable instead might be a possible solution (or might suffer from same problem as InsetDrawable). needs research.
LayerDrawable (layer-list) does seem to be the solution. The recently added moon phase icons (using layer-list) are successfully themed on api15. ..needs more testing, especially later api versions.
The sunrise/sunset/noon icons aren't themeable (sunrise/sunset theme colors are ignored by icons). v0.5.0
The text was updated successfully, but these errors were encountered: