-
Notifications
You must be signed in to change notification settings - Fork 137
I tried to use it but it's not changing the text color. #31
Copy link
Copy link
Closed
Description
JAVA
content.addAutoLinkMode(
AutoLinkMode.MODE_HASHTAG,
AutoLinkMode.MODE_PHONE,
AutoLinkMode.MODE_URL,
AutoLinkMode.MODE_EMAIL,
AutoLinkMode.MODE_MENTION);
content.setHashtagModeColor(ContextCompat.getColor(this, R.color.colorBlueType1));
content.setEmailModeColor(ContextCompat.getColor(this, R.color.colorBlueType1));
content.setMentionModeColor(ContextCompat.getColor(this, R.color.colorBlueType1));
content.setUrlModeColor(ContextCompat.getColor(this, R.color.colorBlueType1));
content.setText("Enter Content www.gmail.com @the #hkjhs thor.jane@gmail.com");
XML
<LinearLayout
android:id="@+id/editPart"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/headPart">
<com.luseen.autolinklibrary.AutoLinkTextView
android:padding="8dp"
android:id="@+id/body"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:maxLength="280"/>
</LinearLayout>
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
