I try to set the typeface for a listview to the default SERIF font, style normal:
The invalidate, I read, can be used to force the listview to redraw itself. Anyhow, it stubbornly keeps its SANS_SERIF typeface.
How to go about it?
Thanks! Regards,
B4X:
Dim tface As Typeface
tface = Typeface.CreateNew(Typeface.SERIF, Typeface.STYLE_NORMAL)
Dim formload_listview As ListView
formload_listview.Initialize("formload_listview")
formload_listview.SingleLineLayout.Label.Typeface = tface
formload_listview.Invalidate
The invalidate, I read, can be used to force the listview to redraw itself. Anyhow, it stubbornly keeps its SANS_SERIF typeface.
How to go about it?
Thanks! Regards,