Skip to content
This repository has been archived by the owner on Nov 20, 2019. It is now read-only.

add proguard config for circular progress button #42

Open
iceberg1369 opened this issue May 3, 2015 · 5 comments
Open

add proguard config for circular progress button #42

iceberg1369 opened this issue May 3, 2015 · 5 comments

Comments

@iceberg1369
Copy link

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

@krschultz
Copy link
Owner

Are you referring to this library? https://github.com/dmytrodanylyk/circular-progress-button

@iceberg1369
Copy link
Author

yes exactly

@HugeTimor
Copy link

I have the same problem!

@Knexis
Copy link

Knexis commented Aug 26, 2016

@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>

@Szczypiorek44
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants