You can use a transparent ColorDrawable
:
Drawable transparentDrawable = new ColorDrawable(Color.TRANSPARENT);
That’s a Drawable
that represents the transparent color and doesn’t have an intrinsic size.
You can use a transparent ColorDrawable
:
Drawable transparentDrawable = new ColorDrawable(Color.TRANSPARENT);
That’s a Drawable
that represents the transparent color and doesn’t have an intrinsic size.