フェイスブックのフィードのように動作する編集テキストがあります。だから私が "www.google.com"のようなものを投稿するとハイパーリンクとして表示されますが、同時に "abcd.abcd"のようなものを投稿するたびにハイパーリンクとしても表示されます。私はリンクを "http"または "www"を追加するときにのみ私のポストを表示したい、これを達成する方法。テキストはURLは下から下線を削除されていない場合は、あなたのテキスト&を比較することができハイパーリンクとして表示されたドットのあるテキスト
<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" />
よろしくお願いします。私はあなたに知らせようとします。再度、感謝します –