Class ShadowDrawable

    • Constructor Detail

      • ShadowDrawable

        public ShadowDrawable()
    • Method Detail

      • createFromResourceId

        @Deprecated
        public static Drawable createFromResourceId​(int resourceId)
        Deprecated.
        use ContextCompat.getDrawable(context, resourceId)
        Returns an invalid Drawable with the given the resource id.
      • setCreatedFromResId

        protected void setCreatedFromResId​(int createdFromResId,
                                           String resourceName)
      • invalidateSelf

        @Implementation
        protected void invalidateSelf()
      • getCreatedFromResId

        public int getCreatedFromResId()
      • wasInvalidated

        public boolean wasInvalidated()
      • validate

        public void validate()