android-ripple-background
android-ripple-background copied to clipboard
rippleStrokeWidth not used in Stroken Ripple Type
@@ -79,8 +79,10 @@ public class RippleBackground extends RelativeLayout{
if(rippleType==DEFAULT_FILL_TYPE){
rippleStrokeWidth=0;
paint.setStyle(Paint.Style.FILL);
- }else
- }else{
- paint.setStrokeWidth(rippleStrokeWidth);
paint.setStyle(Paint.Style.STROKE);
- }
paint.setColor(rippleColor);
Confirmed, I also spent time looking what I did wrong so the ripple is always 2dp but it seems that the issue is in the library.
hey do you have an update relating the stroke width issue?
@drorGlucome check out my modification "-" means remove the current line
Thank you for the answer. So only way is to download the code modify and use as static lib?
Thank you for the answer. So only way is to download the code modify and use as static lib?
yes