TextView.SetAutoSizeTextTypeWithDefaults(AutoSizeTextType) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
[Android.Runtime.Register("setAutoSizeTextTypeWithDefaults", "(I)V", "GetSetAutoSizeTextTypeWithDefaults_IHandler", ApiSince=26)]
public virtual void SetAutoSizeTextTypeWithDefaults (Android.Widget.AutoSizeTextType autoSizeTextType);
[<Android.Runtime.Register("setAutoSizeTextTypeWithDefaults", "(I)V", "GetSetAutoSizeTextTypeWithDefaults_IHandler", ApiSince=26)>]
abstract member SetAutoSizeTextTypeWithDefaults : Android.Widget.AutoSizeTextType -> unit
override this.SetAutoSizeTextTypeWithDefaults : Android.Widget.AutoSizeTextType -> unit
Parameters
- autoSizeTextType
- AutoSizeTextType
the type of auto-size. Must be one of
TextView#AUTO_SIZE_TEXT_TYPE_NONE
or
TextView#AUTO_SIZE_TEXT_TYPE_UNIFORM
- Attributes
Remarks
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.
Java documentation for android.widget.TextView.setAutoSizeTextTypeWithDefaults(int)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.