Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
nuclearfog authored May 5, 2020
1 parent a013385 commit 86744db
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,17 @@ Project Integration:


Usage:

```xml
<TextView
android:id="@+id/text"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:linksClickable="true"
android:scrollbars="vertical"
android:fadeScrollbars="false"
android:maxLines="10" />
```
```java
TextView textview = findViewById(R.id.text);
textview.setMovementMethod(LinkAndScrollMovement.getInstance());
Expand Down

0 comments on commit 86744db

Please sign in to comment.