Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
alex11111115 authored Aug 3, 2024
1 parent 95281fd commit 690c06b
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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`:
Expand Down

0 comments on commit 690c06b

Please sign in to comment.