Calligraphy icon indicating copy to clipboard operation
Calligraphy copied to clipboard

Just default font applied

Open TonyHaddad91 opened this issue 9 years ago • 3 comments

Hey, i tried to set font for textview using fontpath but it doesn't works just default font s applied

TonyHaddad91 avatar Jul 30 '16 11:07 TonyHaddad91

Hey, your going to have to give me a bit more to work on then that.

How have you applied it to your project? What do your styles look like? What does your layout look like?

chrisjenx avatar Aug 01 '16 16:08 chrisjenx

@chrisjenx - i tried also to use it but it doesn't work well also on my project.. it still use the standard font. Here's the code

from my style <style name="txtView_NormalTxtCustomFont"> <item name="fontPath">fonts/BurgerFrog.otf</item> </style>

in my layout

<TextView android:id="@+id/txtView_JobDescription" style="@style/txtView_NormalTxtCustomFont" android:layout_width="match_parent" android:layout_height="wrap_content" android:text="Sample Job Description"/>

this is the dependecy

compile 'uk.co.chrisjenx:calligraphy:2.2.0'

ghost avatar Feb 14 '17 03:02 ghost

Code, implementation etc...

chrisjenx avatar Feb 14 '17 04:02 chrisjenx