點擊textvie跳轉到activity 這裏使用到SpannableString類,主要用於在指定的字符串點擊觸發的事件(具體實現代碼如下) 在manifest.xml中添加兩個activtity tv1.