我有一個編輯文本,它的行爲與面書中的提要類似。因此,無論何時我發佈像「www.google.com」這樣的內容,它都會顯示爲超鏈接,但同時我只要發佈類似「abcd.abcd」的內容,它也會顯示爲超鏈接。我只想在添加「http」或「www」時將鏈接顯示爲鏈接,如何實現此目的。如果在此先感謝顯示爲超鏈接的點的文本
<EditText
android:id="@+id/etFeedsText"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:minHeight="50dp"
android:maxLength="2000"
android:layout_marginBottom="25.8dp"
android:layout_marginLeft="14dp"
android:layout_marginTop="8.3dp"
android:hint="@string/enter_your_post"
android:background="@color/white"
android:inputType="textMultiLine|textNoSuggestions"
android:textColor="@color/feeds_text"
android:textSize="13.3sp" />
嘿謝謝威爾遜。我會盡力讓你知道。再次感謝 –