sephiroth74 / android-target-tooltip

Create Toast like tooltips, but targets can be specified, plus custom properties and features
MIT License
1.49k stars 278 forks source link

Ripple effect is not animated in release build #152

Open elfifo4 opened 3 years ago

elfifo4 commented 3 years ago

That happens when shrinkResources is true and minifyEnabled is true. How can this be fixed?

https://user-images.githubusercontent.com/13766004/120435781-d1edf900-c386-11eb-8c89-56206af9944f.mp4

DorBSoft commented 1 year ago

same here. did not resolve it yet, but the solution, seems to be in this link.

DorBSoft commented 1 year ago

Yes. The following code in proguard-rules.pro solves it.

-keep class it.sephiroth.android.library.xtooltip.TooltipOverlayDrawable { *; }

I guess it can be narrowed to keep as less as possible.