Skip to content
This repository has been archived by the owner on Mar 23, 2020. It is now read-only.

rippleStrokeWidth not used in Stroken Ripple Type #24

Open
tudoubudou opened this issue May 9, 2016 · 5 comments
Open

rippleStrokeWidth not used in Stroken Ripple Type #24

tudoubudou opened this issue May 9, 2016 · 5 comments

Comments

@tudoubudou
Copy link

tudoubudou commented May 9, 2016

@@ -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);
@ghost
Copy link

ghost commented Jun 13, 2016

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.

@drorGlucome
Copy link

hey do you have an update relating the stroke width issue?

@tudoubudou
Copy link
Author

@drorGlucome check out my modification
"-" means remove the current line

@drorGlucome
Copy link

Thank you for the answer.
So only way is to download the code modify and use as static lib?

@tudoubudou
Copy link
Author

Thank you for the answer.
So only way is to download the code modify and use as static lib?

yes

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

2 participants