AviranAbady / CookieBar2

Android library for displaying text messages, notifications and alerts at the top or bottom of the screen. A great alternative for toast and snackbar alerts.
Apache License 2.0
667 stars 74 forks source link

how to set font Programmatically #34

Closed ModirGithub closed 4 months ago

ModirGithub commented 2 years ago

how to set font Programmatically? please Help

AviranAbady commented 2 years ago

Hello @ModirGithub Currently the only way to set fonts is with a custom layout. A PR that utilizes the styles system would be welcome <item name="cookieTitleFont">@font/font_name</item>