Fix no resources for create BitmapDrawable
This commit is contained in:
1 parent
ef967102eb
commit
44c9c66952
1 file changed
+1
-1
@@ -100,7 +100,7 @@ public class UnikeryDrawable extends WrapDrawable implements Unikery<Bitmap> {
|
||||
removeDrawableAndHolder();
|
||||
|
||||
mHolder = holder;
|
||||
Drawable drawable = new BitmapDrawable(holder.getValue());
|
||||
Drawable drawable = new BitmapDrawable(mTextView.getResources(), holder.getValue());
|
||||
|
||||
setDrawable(drawable);
|
||||
|
||||
|
||||
Reference in new issue
Block a user