I've rotated a Scrollview (with a simple label on the SV's panel) to do a Starwars text scroll effect:
The text is shown but when I start to scroll, it is hidden until I scroll down to the end. Invalidate doesn't help here. Any ideas?
B4X:
SV.Initialize(1000dip)
Activity.AddView(SV,0,0,100%x,100%y)
BigLabel.Initialize("")
BigLabel.Text="Long text....."
SV.Panel.AddView(BigLabel,0,0,100%x,300%y)
SetLabelTextSize(BigLabel,BigLabel.Text,70,50)
BigLabel.Textcolor=Colors.Yellow
SV.Panel.Height=BigLabel.Height
setRotationX(SV,30)
B4X:
Sub setRotationX(v As View, Angle As Float)
Dim jo = v As JavaObject
jo.RunMethod("setRotationX", Array As Object(Angle))
End Sub
The text is shown but when I start to scroll, it is hidden until I scroll down to the end. Invalidate doesn't help here. Any ideas?