How To Get Default Typeface Of Android Device?
I have an Api class in my application. Inside the Api class there is a custom font that has been setup as static. For example: public static Typeface fontShort; public Api(Context
Solution 1:
You can get the default Typeface using:
if (keep_curren) {
font_title = Typeface.DEFAULT;
}
You can also get the default Typeface based on specified style: Typeface.defaultFromStyle(int style)
.
Post a Comment for "How To Get Default Typeface Of Android Device?"