progressbutton
progressbutton copied to clipboard
Remove shadow
Tried this shadowDrawable="@android:color/transparent" but couldnt remove shadow. Is it possible ?
Should be, https://github.com/f2prateek/progressbutton/blob/master/progressbutton/src/main/java/com/f2prateek/progressbutton/ProgressButton.java#L417 nothing fancy here.
I don't get it, so how does one remove the shadow drawable? (Instead of creating a transparent .png and setting that)
Could you show me screenshots of with the transparent drawable and without so I can visualize what the issue is?
There is no real issue, it's just that you can't set @android:color/transparent
as shadowDrawable
. The View
grew insanely large (sorry not at my development pc to show a screenshot).
Instead you can create a fully transparent .PNG of the same size as the other drawables and set that as the shadowDrawable
.