File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ Add AutoLinkTextView to your layout
3535AutoLinkTextView autoLinkTextView = (AutoLinkTextView ) findViewById(R . id. active);
3636```
3737
38- Set up modes
38+ Set up mode or modes
3939``` java
4040autoLinkTextView. 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+ -------------------------
9395You can also change text color for autoLink mode
9496``` java
9597autoLinkTextView. setHashtagModeColor(ContextCompat . getColor(this , R . color. yourColor));
@@ -99,11 +101,12 @@ autoLinkTextView.setUrlModeColor(ContextCompat.getColor(this, R.color.yourColor)
99101autoLinkTextView. setMentionModeColor(ContextCompat . getColor(this , R . color. yourColor));
100102autoLinkTextView. setEmailModeColor(ContextCompat . getColor(this , R . color. yourColor));
101103```
104+ -------------------------
102105And also autoLink text pressed state color
103106``` java
104107autoLinkTextView. setSelectedStateColor(ContextCompat . getColor(this , R . color. yourColor));
105108```
106-
109+ -------------------------
107110## Contact
108111
109112Pull requests are more than welcome.
You can’t perform that action at this time.
0 commit comments