Skip to content

Commit 7d05b33

Browse files
authored
Update README.md
1 parent a12df67 commit 7d05b33

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,11 @@ implementation 'com.cj.videoprogressview:progressview:1.0.0'
4242
app:vpv_halo_width="2dp"
4343
/>
4444
```
45+
```
46+
//Set progress to control animation
47+
(LightProgressView)findViewById(R.id.lpv).setProgress(0.5f);
48+
(VolumeProgressView)findViewById(R.id.vpv).setProgress(0.6f);
49+
```
4550

4651
## Styleable
4752

@@ -80,11 +85,6 @@ implementation 'com.cj.videoprogressview:progressview:1.0.0'
8085
<attr format="color" name="vpv_halo_color"/>
8186
</declare-styleable>
8287
```
83-
```
84-
//Set progress to control animation
85-
(LightProgressView)findViewById(R.id.lpv).setProgress(0.5f);
86-
(VolumeProgressView)findViewById(R.id.vpv).setProgress(0.6f);
87-
```
8888

8989

9090
## Deductive Reasoning

0 commit comments

Comments
 (0)