Add this attribute to your textview component within the XML layout file like this:
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:autoLink="phone"
android:text="123 123 1234" />
More Related Contents:
- onMeasure custom view explanation
- Invalidate cache in Picasso
- Android OnClickListener – identify a button
- How set Spannable object font with custom font
- Accessing SharedPreferences through static methods
- Service not available while calling geoCoder.getFromLocation()
- Android ADB device offline, can’t issue commands
- Compile with Proguard gives SimException: “local variable type mismatch”
- What are the differences between LinearLayout, RelativeLayout, and AbsoluteLayout?
- Place ImageView over Button android
- How to access localhost from a Genymotion android emulator?
- Download Manger not working in Android Pie 9.0 NetworkSecurityConfig: No Network Security Config specified, using platform default
- Making a database backup to SDCard on Android
- How to use data-binding with Fragment
- java.lang.SecurityException: !@Too many alarms (500) registered from pid 10790 uid 10206
- Dynamically add textViews to a linearLayout
- Android disable screen timeout while app is running
- How to use Roboto font in android Project [duplicate]
- Stuck with Gradle Build Running
- How can I create an Android application in Android Studio that uses the Google Maps Api v2?
- Android WebView onReceivedError()
- Android Volley ImageLoader – BitmapLruCache parameter?
- Dismiss Ongoing Android Notification Via Action Button Without Opening App
- View pager and fragment lifecycle
- Android – How Do I Set A Preference In Code
- Why Android Studio doesn’t allow me to create Java Classes?
- How to write custom ExpandableListAdapter
- Example of how to download JSON from server?
- Accessing webserver running within Eclipse from outside the workstation
- How to animate a view in Android and have it stay in the new position/size?