From 690c06b2e0f67309f115db815022ca579231f4c9 Mon Sep 17 00:00:00 2001 From: Obieda <96258291+alex11111115@users.noreply.github.com> Date: Sat, 3 Aug 2024 19:53:07 +0300 Subject: [PATCH] Update README.md --- README.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 266deba..7b0061f 100644 --- a/README.md +++ b/README.md @@ -171,6 +171,16 @@ waveView.setPlaybackSpeed("1.5"); waveView.setWaveProperties(color1, wave1Width, color2, wave2Width, waveSpeed); ``` +> To set wave1 alpha +```java +waveView.setWave1Alpha(alpha1); +``` + +> To set wave2 alpha +```java +waveView.setWave2Alpha(alpha2); +``` + > To control the visibility of the second wave: ```java // Hide the second wave @@ -249,16 +259,6 @@ if (waveView != null) { } ``` -> To set wave1 alpha -```java -waveView.setWave1Alpha(alpha1); -``` - -> To set wave2 alpha -```java -waveView.setWave2Alpha(alpha2); -``` - ### Permissions > Add the following permissions to your `AndroidManifest.xml`: