Hi
I can't seem to set the label color for the Listview.TwoLinesLayout.Label or for the TwoLineLayout.SecondLabel.
I have tried everything I can think of...
I understand that you can't alter this once the ListView is up and running, but the COLOR property appears to be irrelevant.
Here's some code: First off is a bog standard label - this works fine, the label shows with a white background
lbllabel.Initialize("")
lbllabel.Color=Colors.White
lbllabel.TextColor=Colors.Red
lbllabel.Text="HI THERE"
activity.AddView(lbllabel,0,20,50%x,20%y)
And here's the ListView code:
Listview1.TwoLinesLayout.Color=colors.ARGB(255,0,0,53)
This makes no difference to the colour of the label inside the Listview layout.
Any clues? I have searched for this topic, but other topics mention TwoLines.TextColor, not .color
Thanks for any help.
Best regards
JMB
I can't seem to set the label color for the Listview.TwoLinesLayout.Label or for the TwoLineLayout.SecondLabel.
I have tried everything I can think of...
I understand that you can't alter this once the ListView is up and running, but the COLOR property appears to be irrelevant.
Here's some code: First off is a bog standard label - this works fine, the label shows with a white background
lbllabel.Initialize("")
lbllabel.Color=Colors.White
lbllabel.TextColor=Colors.Red
lbllabel.Text="HI THERE"
activity.AddView(lbllabel,0,20,50%x,20%y)
And here's the ListView code:
Listview1.TwoLinesLayout.Color=colors.ARGB(255,0,0,53)
This makes no difference to the colour of the label inside the Listview layout.
Any clues? I have searched for this topic, but other topics mention TwoLines.TextColor, not .color
Thanks for any help.
Best regards
JMB