Hi everyone!
Im trying to use a custom font into an edittext.
Font file is called "Lunxbox Slab.otf" and I sync it in the left panel.
Then i use this code:
Sub Activity_Create(FirstTime As Boolean)
Activity.LoadLayout("aaa")
Dim fuente As Typeface
fuente.LoadFromAssets("Lunchbox Slab.otf")
EditText1.Typeface= fuente
End Sub
ERROR: Object should be first initialized (Typeface)
Any Idea? I saw examples in thus forum and they were like mine i think...
Thanks!
[DONE]
fuente.LoadFromAssets("Lunchbox Slab.otf")
Wrong
fuente= Typeface.LoadFromAssets("Lunchbox Slab.otf")
Right
OMG im a noob...