Hi,
does anyone have any idea why setting text colours on labels would have stopped working in Android 5? All other versions this test code works:
B4X:
Sub Globals
Dim lab As Label
End Sub
Sub Activity_Create(FirstTime As Boolean)
lab.Initialize("")
Activity.AddView(lab, 0, 0, 800dip, 400dip)
lab.Text = "the quick brown fox"
lab.TextSize = 80
lab.TextColor = Colors.Red
lab.Color = Colors.Green
lab.Typeface = Typeface.DEFAULT
End Sub
in Android 5 the text has a white outline and black fill.
Thanks, my version is 5.0.2 on a generic tablet (BTC Flame) but I wouldn't have thought that would have made the difference. I've looked through all of the settings but can't find anything that looks like it would cause the problem!
The red on green is as it shows on kitkat, Jellybean, ICS etc. on other tablets/ phones.
Thanks - it's beginning to look like the tablet then! Though it seems like an odd thing for it to do!
I would attach a screenshot but I don't know how to attach an image from my pc.
Just in case anyone comes across the same problem:
The tablet has now been re-flashed, supposedly to the same build as it originally was, and the problem has been solved. The display shows exactly as given in eurojam's picture, above, i.e. as it should.