chrisjenx / Calligraphy

Custom fonts in Android the easy way...
Apache License 2.0
8.59k stars 1.09k forks source link

Fix EditText hint not getting Typeface set #57

Closed chrisjenx closed 10 years ago

chrisjenx commented 10 years ago

Typeface is not set on the EditText hint/label.

FaizVisram commented 10 years ago

Hi Chris,

Any ETA on this? Or are there any possible workarounds?

P.S. Great library; really fantastic work.

chrisjenx commented 10 years ago

@FaizVisram I know what the issue is already, just yet to fix it.

Just call setTypeface on your edit text pragmatically for now. setTypeface(TypefaceUtils.getTypeface(getAssets(),"fonts/FontName.ttf");

Sorry that its a pain, I knew the move to Spannable would be a bit dodgy.

FaizVisram commented 10 years ago

Thanks, Chris. It's not a big deal, I'm just working on a release and I was just wondering if I'd have to implement a workaround temporarily. Thanks again!

AndroidDeveloperLB commented 9 years ago

Does the library have support for EditText?

chrisjenx commented 9 years ago

Everything that extends from TextView. Yes.

AndroidDeveloperLB commented 9 years ago

@chrisjenx Thank you.