Skip to content

Commit 2bf4650

Browse files
authored
Update README.md
1 parent 7e741c8 commit 2bf4650

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Add AutoLinkTextView to your layout
3535
AutoLinkTextView autoLinkTextView = (AutoLinkTextView) findViewById(R.id.active);
3636
```
3737

38-
Set up modes
38+
Set up mode or modes
3939
```java
4040
autoLinkTextView.setAutoLinkMode(
4141
AutoLinkMode.MODE_PHONE);
@@ -90,6 +90,8 @@ autoLinkTextView.setAutoLinkMode(
9090
AutoLinkMode.MODE_MENTION,
9191
AutoLinkMode.MODE_PHONE);
9292
```
93+
![](screens/screen1.png)
94+
-------------------------
9395
You can also change text color for autoLink mode
9496
```java
9597
autoLinkTextView.setHashtagModeColor(ContextCompat.getColor(this, R.color.yourColor));
@@ -99,11 +101,12 @@ autoLinkTextView.setUrlModeColor(ContextCompat.getColor(this, R.color.yourColor)
99101
autoLinkTextView.setMentionModeColor(ContextCompat.getColor(this, R.color.yourColor));
100102
autoLinkTextView.setEmailModeColor(ContextCompat.getColor(this, R.color.yourColor));
101103
```
104+
-------------------------
102105
And also autoLink text pressed state color
103106
```java
104107
autoLinkTextView.setSelectedStateColor(ContextCompat.getColor(this, R.color.yourColor));
105108
```
106-
109+
-------------------------
107110
## Contact
108111

109112
Pull requests are more than welcome.

0 commit comments

Comments
 (0)