Hi there
I thought I'd asked this question before but cannot find it. Old age creeping up on me..
Have a ScrollView with a panel on it. On that panel I have an EditText which I want to be of fixed size but it will more than likely have more text in it than it will show. I would like to be able to scroll through the text or step through it and have looked at the LongText example. Unfortunately that does not seem to work on my app as I have to have it on a ScrollView.. can any one advise how I can get what I want or suggest a different solution. My current code trying the LongText approach is below..
Kind regards,
Derek.
I thought I'd asked this question before but cannot find it. Old age creeping up on me..
Have a ScrollView with a panel on it. On that panel I have an EditText which I want to be of fixed size but it will more than likely have more text in it than it will show. I would like to be able to scroll through the text or step through it and have looked at the LongText example. Unfortunately that does not seem to work on my app as I have to have it on a ScrollView.. can any one advise how I can get what I want or suggest a different solution. My current code trying the LongText approach is below..
Kind regards,
Derek.
B4X:
SV1.Initialize(1000)
pnl.AddView(SV1, 1%x, 51%y , 95.5%x, 12%y)
aiedit.Initialize("aiedit")
SV1.Panel.AddView(aiedit, 1%x, 1%y , 95.5%x, 40%y)
aiedit.Text = ""
aiedit.TextSize = 1%y
aiedit.TextColor = Colors.DarkGray
aiedit.color = Colors.LightGray
aiedit.Gravity = Gravity.NO_GRAVITY