Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
FaceAI authored Mar 26, 2019
1 parent 6c47cb5 commit 698ac9f
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#How to use
# How to use
```
<anylife.scrolltextview.ScrollTextView
android:id="@+id/textView2"
Expand All @@ -17,6 +17,14 @@
customAttr:times="567" />
```

或者在代码中

```
scrollText = findViewById(R.id.scrollText);
scrollText.setSpeed(4);
scrollText.setText("new text"); //已经修改setText() 没能动态生效的问题
```


# Gradle 集成使用
```
Expand Down

0 comments on commit 698ac9f

Please sign in to comment.