getLabelHeight
fun getLabelHeight(context: MeasureContext, availableWidth: Float, iconPaddingDp: Float, iconSizeDp: Float): Float
Measures the height of the label.
Parameters
context
the MeasureContext used to measure the height.
availableWidth
the available width for the item.
iconPaddingDp
the padding between the icon and the label.
iconSizeDp
the size of the icon.