我有一个编辑文本,它的行为与面书中的提要类似。因此,无论何时我发布像“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" />
嘿谢谢威尔逊。我会尽力让你知道。再次感谢 –