android-components / mozilla.components.support.ktx.android.widget

Package mozilla.components.support.ktx.android.widget

Functions

Name Summary
adjustMaxTextSize fun <ERROR CLASS>.adjustMaxTextSize(heightMeasureSpec: Int, ascenderPadding: Int = DEFAULT_FONT_PADDING): Unit
Adjusts the text size of the TextView according to the height restriction given to the View.MeasureSpec given in the parameter.