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
When attempting to use a <layer-list> drawable xml file, I get an issue similar to #9. Which I believe is caused by this not being assignable to LayerDrawable.
Caused by: java.lang.ClassCastException: android.graphics.drawable.LayerDrawable cannot be cast to android.graphics.drawable.BitmapDrawable
at com.example.CrescentoImageView.init(CrescentoImageView.java:174)
at com.example.CrescentoImageView.<init>(CrescentoImageView.java:111)
... 46 more
A work around was to use CrescentoContainer with an ImageView inside instead.
The text was updated successfully, but these errors were encountered:
When attempting to use a
<layer-list>
drawable xml file, I get an issue similar to #9. Which I believe is caused by this not being assignable to LayerDrawable.A work around was to use
CrescentoContainer
with anImageView
inside instead.The text was updated successfully, but these errors were encountered: