简体   繁体   中英

Creating a new activity after clicking a link in android?

I was trying to style my list items in list view. I thought it would be great if I could create links like HTML links but instead of opening a browser it should open a new intent. I could not find any tutorial with my first search on google so dropping my question here. Please suggest me what to look for.

Regards, Lalith

You probably want to stick with the "standard" look and feel for the system. That is, users expect to be able to tap on a row and it do it's thing (no link looking text).

If you just want the items to look like links then underline them and make them blue. If your question is how to launch a new intent after a user taps a "link" take a peek at this post on anddev.org .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM