android-proguard-snippets
android-proguard-snippets copied to clipboard
add proguard config for circular progress button
I have included circular progress button to my project. The problem is that once i enable proguard animations does no work properly. I have all kind of proguard config but no success yet. So i would be very appreciated if you find some eay to work around this
Are you referring to this library? https://github.com/dmytrodanylyk/circular-progress-button
yes exactly
I have the same problem!
@HugeTimor proguard seems to strip the progress color set.
To resolve this I had to include the library manually and customize it from the library's color resource. With respect to my project, i just wanted a white in the progress bar. So I replaced most of the colors with white
<color name="cpb_grey">#ffdedede</color> <color name="cpb_blue">#ffffff</color> <color name="cpb_blue_dark">#ffffff</color> <color name="cpb_red">#ffff4444</color> <color name="cpb_red_dark">#ffcd3a3a</color> <color name="cpb_green">#ffffff</color> <color name="cpb_green_dark">#ffffff</color> <color name="cpb_white">@android:color/white</color>
Hello. Seems like a lot of people is using this library. I'll post my solution for that bug. Simply add: -keep class com.dd.** {*;} to your proguard-rules.pro file