V
V
Vladimir Korotenko2020-06-10 14:57:39
Android
Vladimir Korotenko, 2020-06-10 14:57:39

Miracles with fonts how to overcome?

There is a plug-in font in the assets

Control.Typeface = Typeface.CreateFromAsset(Android.App.Application.Context.Assets, "Fonts/FontAwesome.ttf");


And at different intervals, the debugger reports that it does not find the font in the Asset, making changes to the manifest helps, so that the apk would be re-uploaded to the emulator, but I would like a more predictable solution. That is, at some point, for no apparent reason, the project crashes with an error.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question