Pattern pattern = Pattern.compile("[a-zA-Z]+&");
myCustomLink.setText("press Linkify& or on Android& to search it on google");
Linkify.addLinks(myCustomLink,pattern, "http://www.google.ie/search?q=");
此代碼完美工作,但我無法得到它如何模式的工作原理和轉換隻Linkfy和Android作爲一個鏈接?使用模式Linkify
當我把。 insted的&它沒有工作 – Parth 2011-06-15 10:57:48