You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The snippet below will not update te text displayed on the TextView. It works fine using the LinkableEDITTEXT though
tv = (LinkableTextView) findViewById(R.id.heloworld);
Link linkHashtag = new Link(Pattern.compile("(#\\w+)"))
.setUnderlined(true)
.setTextStyle(Link.TextStyle.BOLD)
.setUnderlined(false)
.setTextColor(Color.DKGRAY);
tv.addLink(linkHashtag);
tv.setText("This does not get set at all");
The text was updated successfully, but these errors were encountered:
The snippet below will not update te text displayed on the TextView. It works fine using the LinkableEDITTEXT though
The text was updated successfully, but these errors were encountered: