Hi, I use BBCodeView in combination with BCTextEngine. It is awesome for my "About..."-Screen.
But now I tried to add a text line with an URL and an E-Mail-Adress and now I can see strange behaviors:
Screenshot of Galaxy S10
As you see, the lines of the URs are above the adresses. (The link works still perfect and forwards to the homepage.)
This is my code:
As long as I do not use the tag [vertical=30] the lines are below the text.
Is this a bug?
But now I tried to add a text line with an URL and an E-Mail-Adress and now I can see strange behaviors:
Screenshot of Galaxy S10
As you see, the lines of the URs are above the adresses. (The link works still perfect and forwards to the homepage.)
This is my code:
B4X:
Sub Globals
Dim AboutLabel As BBCodeView
Private TextEngine As BCTextEngine
End Sub
Sub ShowAbout
Dim t ,v As String
v= $"[url="https://www.20tracks.org"]www.20track.org[/url]"$
t= "[vertical=30]" & "Homepage = " & v & CRLF& CRLF
v= $"[url="mailto:[email protected]"][email protected][/url]"$
t=t & "E-Mail " & v & CRLF& CRLF
t=t & "[/vertical]" & CRLF & CRLF
AboutLabel.Text=t
End Sub
Sub Aboutlabel_LinkClicked (URL As String)
Dim p As PhoneIntents
StartActivity(p.OpenBrowser( URL))
End Sub
As long as I do not use the tag [vertical=30] the lines are below the text.
Is this a bug?