Title Options
Overview
Creating TitleOption
Using Builder
val titleOption = TitleOption.Builder()
.showFeedTitle(true)
.feedTitleTextColor(Color.BLACK)
.feedTitleBackgroundColor(Color.WHITE)
.feedTitleTextSize(18)
.build()Using DSL (Recommended)
Properties
showFeedTitle
feedTitleTextColor
feedTitleBackgroundColor
feedTitleBackgroundDrawable
feedTitleTextSize
feedTitleTextNumberOfLines
feedTitleTextPadding
feedTitleTextTypeface
Default Values
Property
Default Value
Complete Examples
Simple Title Configuration
Styled Title with Custom Font
Gradient Background Title
Title Positioning
Nested Position
Stacked Position
Important Notes
See Also
Last updated
Was this helpful?