Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change color of wave #46

Open
ghost opened this issue Sep 9, 2020 · 2 comments
Open

Change color of wave #46

ghost opened this issue Sep 9, 2020 · 2 comments

Comments

@ghost
Copy link

ghost commented Sep 9, 2020

How can I use this color as that (a, r, g, b)

#7b4bff

@theablemo
Copy link

I'll work on this issue.

@theablemo
Copy link

I have added a new function called setWaveHexColor(String hexColor) and overloaded setWaveColor(String hexColor). Now if you want to set the color of wave with hex value (e.g #7b4bff as you said), you can just simply use the following code:

WaveSwipeRefreshLayout mWaveSwipeRefreshLayout;
Stirng hexValue = "7b4bff" //you can use any hex value
mWaveSwipeRefreshLayout.setWaveColor(hexValue);

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

No branches or pull requests

1 participant