Many logs with the message "setTypeface with style : 0"

Asked

Viewed 73 times

1

Log catI’m making a app in the android studio, and after spending a few activities the screen becomes black and the last record of the log cat is this message. I’ve looked at the other questions about it but none of them solved my problem. What?

1 answer

0

This happens when you make a call to the method view.setTypeface(Typeface.DEFAULT,0) or view.setTypeface(Typeface.DEFAULT,Typeface.NORMAL)

Switch to: view.setTypeface(Typeface.DEFAULT) (view being a TextView)

  • That’s the question, I wasn’t making any calls to this method. Even so I tried to use this solution, but the same thing keeps happening.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.