Can I customize font family for all the texts shown in UIKit (Chat and Social) ?
Good evening, Martin
On Android we do support TextStyle
customization on most of our components.
The customization can be done by overriding text style components on your styles.xml
.
Here are the available text style components
AmityTextStyleHeadline
AmityTextStyleTitle
AmityTextStyleTitleBold
AmityTextStyleBody
AmityTextStyleBodyBold
AmityTextStyleCaption
AmityTextStyleCaptionBold
Here’s an example of overriding a text style component
<style name="AmityTextStyleBody">
<item name="font">@font/your_font.ttf</item>
<item name="fontFamily">@font/your_font_family.xml</item>
<item name="android:textSize">@dimen/text_size_medium</item>
</style>
For more information regarding fonts customization on Android, please visit :