I've initialized a label via code to show the timer and use a nine patch image for its background. The 9 patch image is showing properly. However, the text is not update or rather invisible.
In the update timer sub I have
How can show updating label text when used in conjunction with a nine patch image for its background?
B4X:
If lblTimerText.IsInitialized Then lblTimerText.RemoveView
lblTimerText.Initialize("lblTimerText")
Activity.AddView(lblTimerText, 0, pnlBarBottom.top - 30dip, 50dip, 30dip)
lblTimerText.Gravity = Gravity.CENTER
lblTimerText.Color = Colors.Transparent
lblTimerText.TextColor = Colors.Black
lblTimerText.TextSize = 14
lblTimerText.Typeface = Main.fontStyle
lblTimerText.Visible = True
lblTimerText.BringToFront
SetNinePatchDrawable(lblTimerText, "timer")
In the update timer sub I have
B4X:
lblTimerText.Text = matchcode.ConvertTicksToMinutes(TimerService.TimeLimit)
How can show updating label text when used in conjunction with a nine patch image for its background?