I have given email link to TextView in xml, but as I am clicking on the TextView its showing unsupported action error, How can I put the active link on email in textview?
Here is my code of string.xml file:
<resources>
<string name="emailLink"><a href="mailto:info@knowledgewoods.in">info@knowledgewoods.in</a></string>
<resources>
And mylayout.xml
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:textSize="15dp"
android:textColor="@color/text_color"
android:layout_marginTop="10dp"
android:id="@+id/text_email"
android:autoLink="email"
android:text="@string/emailLink"/>
I am running my app in android 2.2 and later versions.
Please help me... Thanks