AutoSizeableTextView
Interface which allows a android.widget.TextView to receive background auto-sizing calls from TextViewCompat when running on API v26 devices or lower.
When used on a View annotated with androidx.resourceinspection.annotation.AppCompatShadowedAttributes, this interface implies that AppCompat shadows the platform's auto-size attributes. See androidx.resourceinspection.processor for more details and a full mapping of attributes.
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Returns the type of auto-size set for this widget.
Link copied to clipboard
abstract fun setAutoSizeTextTypeUniformWithConfiguration(autoSizeMinTextSize: Int, autoSizeMaxTextSize: Int, autoSizeStepGranularity: Int, unit: Int)
Specify whether this widget should automatically scale the text to try to perfectly fit within the layout bounds.
Link copied to clipboard
Specify whether this widget should automatically scale the text to try to perfectly fit within the layout bounds.
Link copied to clipboard
Specify whether this widget should automatically scale the text to try to perfectly fit within the layout bounds by using the default auto-size configuration.