Sub Activity_Create(FirstTime As Boolean)
Panel1.Initialize("")
Activity.AddView(Panel1,50dip,50dip,600dip,100dip)
Label1.Initialize("")
Label1.Color = Colors.White
Label1.TextColor = Colors.Black
Label1.TextSize = 30
Panel1.AddView(Label1,0,0,600dip,400dip)
Dim myText As String
myText = $"Lorem Ipsum is simply dummy text of the printing and typesetting industry.
Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer
took a galley of type and scrambled it to make a type specimen book."$
Dim tempStr()As String
Dim newStr As String
tempStr = Regex.Split("\s", myText)
Dim nstart As Int = 0
Dim nwords As Int = 6 'words per line Note .. This should be a 'string size / length' factor
Dim lst As List
lst.Initialize
Do While nstart < tempStr.Length
For i = nstart To nstart + nwords 'build new sentence
newStr = newStr & " " & tempStr(i)
Next
lst.Add(newStr) 'add sentence to list
nstart = i
If i + nwords > tempStr.Length - 1 Then 'set next loop size and adjust if needed
nwords = (tempStr.Length -1) - i
End If
newStr = "" 'reset sentence
Loop
'display
For i = 0 To lst.Size -1
Label1.Text = Label1.Text & lst.Get(i) & CRLF
Next
a.InitializeTranslate("Animation",0,0,0,-Label1.Height + 180dip)
a.Duration= 8000 'This could be calculation n * lst.Size ?
a.start(Label1)
End Sub
Sub Animation_AnimationEnd
Label1.Text = " The End ..."
End Sub[code]