Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.
How to remove underline for Powered by Dark Sky TextView?
I figured that textColorLink will change the color of the TextView caused by assigning a link but cannot figure out how to remove the underline that indicates the text has an anchor. Stackoverflows tells some ways but I don't know why it has to be such complicated for the seemingly easy task of writing a few tags to set the style.
Hi. May I ask why you would want to remove the underline? It is here to signal the user that there's a hyperlink attached to the text and clicking on it takes them to the website.
If you do not want to go with that, just remove the hyperlink from the string resource, make your Powered by Dark Sky TextView clickable and create an intent that opens up the given webpage into a browser.
Hope that helps :)