medyo / Fancybuttons

Icons, Borders, Radius ... for Android buttons
1.77k stars 397 forks source link

Using fonts with Android Studio 3 #103

Open usernotnull opened 7 years ago

usernotnull commented 7 years ago

fb_textFont accepts a string which points to a font in the asset folder. With AS3, we can now use fonts in fontFamily attribute.

Add this feature please :) (which saves a lot of space by removing the custom fonts from asset folder)

dreamteryst commented 6 years ago

+1

NayMak commented 6 years ago

+1

kishan2612 commented 6 years ago

+1

medyo commented 6 years ago

Hi @RJFares, Are you referring to Downloadable fonts? https://developer.android.com/guide/topics/ui/look-and-feel/downloadable-fonts.html

kishan2612 commented 6 years ago

@RJFares Not Downloadable fonts .Android allows to use Fonts from Resource directory without saving it in assets. path : res/fonts/pacifico.tff.

usernotnull commented 6 years ago

Hi @RJFares, Are you referring to Downloadable fonts? https://developer.android.com/guide/topics/ui/look-and-feel/downloadable-fonts.html

@medyo yea that's the one. Basically to be able to use fonts without having them inside assets. Any workaround would greatly benefit being added into this lib's readme.