Android: Fix for TextView.setTypeFace() not working on Android 5.x+ (Lollipop/Marshmallow)

This is one of the latest quirks I've had the displeasure of running into while upgrading an old app to the latest Android 6/Marshmallow.

The problem happens when the font fails to apply onto a TextView even though it loaded via Typeface.createFromAsset() without any errors.

Because I haven't worked on this app in many years, the problem has gone unnoticed until now.

Fortunately it's quite an easy fix and there is no need to change any code. What you actually have to do is pass the font file through the converter at http://www.freefontconverter.com and update the font file.

Easy. So, so easy.

Sources

Firefox 43: Disable check for "unverified" add-ons

This is a bit of a temporary fix because it won't work for Firefox 44, but for the time being you can simply change a setting in your config editor.
  • Open up a new tab and go to "about:config"
  • Paste in xpinstall.signatures.required and set it to false
Restart the browser so the disabled addons are re-enabled.

I'll update this post with methods to self-sign the addons once Open Live Writer is patched to work with Blogger's OAuth2 sign-in API.

Source 

Firefox 43: Disable the useless "Visit" in awesomebar autocomplete dropdown

This has got to be one of the most useless features in Firefox as of yet. Apart from disabling unsigned addons that is.



Fortunately, easy enough to disable.
  • Open a new tab
  • Type in "about:config"
  • Paste "browser.urlbar.unifiedcomplete" into the filter
  • Double click to toggle it to false
  • Done!

Source

 
Copyright © Twig's Tech Tips
Theme by BloggerThemes & TopWPThemes Sponsored by iBlogtoBlog