Linkify TextView clickable phone number url adress

android:autoLink=”all”

 <!-- text1 automatically linkifies things like URLs and phone numbers. -->
  <TextView
            android:id="@+id/text1"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:autoLink="all"
            android:text="@string/link_text_auto"
            />
This entry was posted in Android Examples Code and tagged , . Bookmark the permalink.


Comments are closed.



2,908 views