Android Question How Change Color and Style for Clickable Text in CSBuilder

sn_nn

Member
Licensed User
Hi, everybody!
In Tutorials dedicated to CSBuilder was example:

B4X:
Dim cs As CSBuilder
TextView1.Editable = False
cs.Initialize.Font(Font.CreateNew(25)).Append("Some ").Link("somevalue").Append("words").Pop
cs.Append(" are ").Link("anothervalue").Append("clickable").PopAll
TextView1.AttributedText = cs

Sub TextView1_LinkClick (URL As String)
Log(URL)
End Sub
SS-2017-05-04_17.27.32.png


But, is it possible change the color and textStyle of clickable Link?
 
Last edited:

Similar Threads

Replies
5
Views
2K
  • Article
Android Code Snippet Theme Colors
Replies
3
Views
20K
Replies
49
Views
43K
Top