11# AutoLinkTextView
22
3- AutoLinkTextView is TextView drop-in replacement supporting Hashtags (#), Mentions (@) , URLs (http://), Phone and Email with click handling
3+ AutoLinkTextView is TextView that supports Hashtags (#), Mentions (@) , URLs (http://),
4+ Phone and Email by automatically detecting with click handling
45
56![ ] ( screens/gif1.gif )
67
@@ -10,16 +11,18 @@ The current minSDK version is API level 14 Android 4.0 (ICE CREAM SANDWICH).
1011
1112* Default support for ** Hashtag, Mention, Link, Phone number and Email**
1213* Support for ** custom types** via regex
13- * Ability to set type foreground color
14- * Ability to enable highlighting only for the desired types
14+ * Ability to set text color
15+ * Ability to set pressed state color
1516
1617![ ] ( screens/screen1.png )
1718
1819#Download
1920-----------------------
2021
2122Gradle:
22- coming soon
23+ ``` groovy
24+ compile 'com.github.armcha:AutoLinkTextView:0.1.0'
25+ ```
2326
2427## Setup and usage
2528
@@ -80,7 +83,7 @@ AutoLinkMode.MODE_CUSTOM
8083#![ ] ( screens/screen7.png )
8184if you use custom mode, you should also add custom regex,
8285``` java
83- autoLinkTextView. addCustomRegex(" \\ sGoogle \\ b" );
86+ autoLinkTextView. addCustomRegex(" \\ sAllo \\ b" );
8487```
8588Note: Otherwise ``` MODE_CUSTOM ``` will return ``` MODE_URL ```
8689-------------------------
@@ -122,7 +125,7 @@ License
122125
123126
124127 Space Navigation library for Android
125- Copyright (c) 2016 Arman Chatikyan (https://github.com/armcha/Space-Navigation-View ).
128+ Copyright (c) 2016 Arman Chatikyan (https://github.com/armcha/AutoLinkTextView ).
126129
127130 Licensed under the Apache License, Version 2.0 (the "License");
128131 you may not use this file except in compliance with the License.
0 commit comments