SyntaxFix
Write A Post
Hire A Developer
Questions
Maybe you should try removing "new" keyword and see if works. Because last time I got this error when I tried creating Typeface something like this:
Typeface
Typeface typeface = new Typeface().create("Arial",Typeface.BOLD);