Comprehensive typography system for Android Agentforce components with multiple scales, weights, and semantic usage patterns.
Typography Classes
The Android Agentforce SDK provides a complete typography system with the following classes:
Base Typography Class
- AgentforceTypography - Base class for typography used in themes with 12 TextStyle properties for body and title font scales
Typography Implementation
- AgentforceTypography - Default typography implementation object that extends the Typography base class
Font Scaling
- AgentforceTypography -
copyWithFontFamily(...)sets a font family for the whole type scale
Typography System Overview
The typography system provides multiple font scales and weights for creating clear information hierarchy:
Body Text Styles
bodyFontScaleNeg1Regular- Smaller body text, regular weightbodyFontScaleBaseRegular- Standard body text, regular weightbodyFontScaleBaseSemibold- Standard body text, semibold weightbodyFontScale1Regular- Larger body text, regular weightbodyFontScale1Semibold- Larger body text, semibold weightbodyFontScale2Regular- Even larger body text, regular weightbodyFontScale2Semibold- Even larger body text, semibold weight
Title Text Styles
titlesFontScale3Regular- Medium titles, regular weighttitlesFontScale3Semibold- Medium titles, semibold weighttitlesFontScale4Regular- Large titles, regular weighttitlesFontScale4Semibold- Large titles, semibold weighttitlesFontScale5Regular- Extra large titles, regular weight
Related Documentation
- AgentforceThemeManager - Theme management with typography support
- AgentforceColors - Color theming system
- Android Theming Overview - Spacing, shapes, and dimensions