Quantcast
Channel: How to set an empty drawable - Stack Overflow
Browsing all 3 articles
Browse latest View live

Answer by ABS for How to set an empty drawable

Empty Drawable with width and height can be made using a transparent ColorDrawable and the function setBounds(Rect) int left=0,top=0,right=32,bottom=32; Drawable transparentDrawable = new...

View Article



Answer by njzk2 for How to set an empty drawable

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.

View Article

How to set an empty drawable

I'm dealing with bugs in the Facebook SDK and so to remove the bugs I'll need to set a drawable to nothing not NULL just nothing or empty space or something. How can I do that...

View Article
Browsing all 3 articles
Browse latest View live




Latest Images