ticker
ticker copied to clipboard
Support for android:fontFamily
I mainly use the setTypeface()
method as was pointed out in a previous closed issue. With downloadable fonts getting great support, it would be great if we can add a font attribute to TickerView
.
Something like : android:fontFamily="@font/lato
It would probably mean that there would be a dependency on the support library but that could be fine since almost all developers use the support library anyway.
Would be happy to take a stab at it!
Great suggestion, and would love to see a PR for it if you want to take a stab! Otherwise it'll be on my back burner once I get more free time from work.
Awesome! Will do
You can use your font.
Typeface fontFace = ResourcesCompat.getFont(this, R.font.nanumpen);
yourTicker.setTypeface(fontFace);