How to Have Clickable Email Address in a TextView, in XML
android:autoLink was added in API Level 1android:autoLink: Controls links such as urls and email addresses are automatically found and converted to clickable links.
1. Create an Android project, if you don't already have one.
2. Add a TextView.
3. In the main.xml file, add the below lines (the android:text change is for testing purposes only)
<TextView
....
android:text="youremail@gmail.com"
android:autoLink = "email"
/>
4. Compile and run!
5. Click on the TextView and the link should open your default email app.
Related Articles:
Resources:
http://developer.android.com/reference/android/widget/TextView.html#attr_android:autoLink