Hi everybody.
I'm trying to use a custom Font in a widget using CSbuilder. I'm trying something like this:
What is it wrong? Is this not posible?
Thanks in advance.
I'm trying to use a custom Font in a widget using CSbuilder. I'm trying something like this:
B4X:
Dim CB As CSBuilder, RBtLigth As Typeface
RBtLigth = Typeface.LoadFromAssets("Roboto-Light.ttf")
rv.SetText("lbl1", CB.Initialize.Typeface(RBtLigth).Append("Text").PopAll)
But it doesn't work. What is it wrong? Is this not posible?
Thanks in advance.