Hi,
I am trying to use a ttf file in my app.
Apart from using it, I would also like the text to be bold.
So I have something like this
Thank you
I am trying to use a ttf file in my app.
Apart from using it, I would also like the text to be bold.
So I have something like this
B4X:
Dim Minya As Typeface
Minya = Typeface.LoadFromAssets("minya.ttf")
NameLbl.Initialize("")
NameLbl.Text = Name
NameLbl.TextColor = Colors.Black
NameLbl.Typeface = Typeface.CreateNew(Minya, Typeface.DEFAULT_BOLD) ' Errors out
Thank you