Android Question scrollable text field

No, that's what I need. I have a test file when I upload it so that it can be read completely with scrolls if the height is not enough, it was scrolled down and up as a ScrollView. If there is any way to find out the height of the full text I can add it to ScrollView

    Dim ScrollView1 As ScrollView
    Dim Text1 As Label
    Text1.SingleLine = False
    Text1.Text = File.ReadString(File.DirAssets,"1.txt")
    Text1.Color = Colors.White
    Text1.TextColor = Colors.Black
    Text1.Gravity = Gravity.LEFT
    Text1.TextSize = 18
    Text1.Typeface = Typeface.DEFAULT
    [ScrollView1.Initialize(100%y) >' here you need to add the desired text height[/B]
    Activity.AddView(ScrollView1, 0, 0, 100%x, 100%y)
Upvote 0