File tree Expand file tree Collapse file tree 1 file changed +16
-15
lines changed
Expand file tree Collapse file tree 1 file changed +16
-15
lines changed Original file line number Diff line number Diff 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```
4950Seekbar-like listener:
5051``` kotlin
You can’t perform that action at this time.
0 commit comments