tsengvn / typekit

148 stars 27 forks source link

Custom font not working on Lolipop #3

Closed oneenam closed 8 years ago

oneenam commented 9 years ago

Custom font not working on Android version 5.0.1

beczesz commented 9 years ago

Maybe it is a related issue. What I found is that the bold and normal fonts are always the same. I've tested with a Nexus 6 Android 5.1.1

beczesz commented 9 years ago

It happens beacause the TypeKitFactory's onViewCreated method is called twice for every TextField. First time the textfield has all the flags set right (bold, italic) but for some reason at the second time the flags are reset.