Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.
I have a textview where i display an EULA URL. The user must be able to click this link to display the EULA if he/she wants. How can I do that? I simply put the URL into the TextView but after that it is not clickable..
Proudly supporting Android
- Junior Developer
- Posts: 22
- Joined: Thu Mar 13, 2008 9:39 pm
use the following piece of code to linkify emails, phonenumbers or URLs in a TextView:
Using java Syntax Highlighting
// mask can be 'ALL' or 'EMAIL_ADDRESSES' or 'PHONE_NUMBERS' or 'WEB_URLS'
Parsed in 0.029 seconds, using GeSHi
More info can be found here:
http://code.google.com/android/referenc ... nkify.html
| Android Development Community / Tutorials
- Site Admin
- Posts: 2688
- Joined: Wed Nov 14, 2007 8:37 pm
- Location: Schriesheim, Germany
Return to View, Layout & Resource Problems
Who is online
Users browsing this forum: No registered users and 12 guests