TextView.SetElegantTextHeight(Boolean) 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.
Set the TextView's elegant height metrics flag.
[Android.Runtime.Register("setElegantTextHeight", "(Z)V", "GetSetElegantTextHeight_ZHandler")]
public virtual void SetElegantTextHeight (bool elegant);
[<Android.Runtime.Register("setElegantTextHeight", "(Z)V", "GetSetElegantTextHeight_ZHandler")>]
abstract member SetElegantTextHeight : bool -> unit
override this.SetElegantTextHeight : bool -> unit
Parameters
- elegant
- Boolean
set the paint's elegant metrics flag.
- Attributes
Remarks
Set the TextView's elegant height metrics flag. This setting selects font variants that have not been compacted to fit Latin-based vertical metrics, and also increases top and bottom bounds to provide more space.
Java documentation for android.widget.TextView.setElegantTextHeight(boolean)
.
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.