Skip to content

Commit 3059848

Browse files
authored
Update README.md
1 parent 9f1b87c commit 3059848

File tree

1 file changed

+16
-15
lines changed

1 file changed

+16
-15
lines changed

README.md

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -28,23 +28,24 @@ dependencies {
2828

2929
## Code example
3030

31-
Settle the wave somewhere in your XML like this:
31+
Settle the ToothyProgress somewhere in your XML like this:
3232

3333
```xml
34-
<rm.com.audiowave.AudioWaveView
35-
android:id="@+id/wave"
36-
android:layout_width="match_parent"
37-
android:layout_height="32dp"
38-
android:layout_margin="16dp"
39-
app:animateExpansion="false"
40-
app:chunkWidth="3dp"
41-
app:chunkHeight="24dp"
42-
app:minChunkHeight="2dp"
43-
app:chunkSpacing="1dp"
44-
app:chunkRadius="1dp"
45-
app:touchable="true"
46-
app:waveColor="@android:color/white"
47-
/>
34+
<com.goodayapps.widget.ToothyProgress
35+
android:id="@+id/toothyProgress"
36+
android:layout_width="match_parent"
37+
android:layout_height="80dp"
38+
app:progress=".5"
39+
app:progressColor="#ffffff"
40+
app:progressBackgroundColor="#959595"
41+
app:progressWidth="3dp"
42+
app:trackWidth="3dp"
43+
app:trackColor="#959595"
44+
app:strokeLineCapProgress="round"
45+
app:strokeLineCapProgressBackground="square"
46+
app:strokeLineCapTrack="square"
47+
app:progressBackgroundWidth="3dp"
48+
/>
4849
```
4950
Seekbar-like listener:
5051
```kotlin

0 commit comments

Comments
 (0)