TextView.LetterSpacing Property

Definition

Gets the text letter-space value, which determines the spacing between characters. -or- Sets text letter-spacing in em units.

public virtual float LetterSpacing { [Android.Runtime.Register("getLetterSpacing", "()F", "GetGetLetterSpacingHandler")] get; [Android.Runtime.Register("setLetterSpacing", "(F)V", "GetSetLetterSpacing_FHandler")] set; }
[<get: Android.Runtime.Register("getLetterSpacing", "()F", "GetGetLetterSpacingHandler")>]
[<set: Android.Runtime.Register("setLetterSpacing", "(F)V", "GetSetLetterSpacing_FHandler")>]
member this.LetterSpacing : single with get, set

Property Value

The text letter-space value in ems.

Attributes

Remarks

Property getter documentation:

Gets the text letter-space value, which determines the spacing between characters. The value returned is in ems. Normally, this value is 0.0.

Java documentation for android.widget.TextView.getLetterSpacing().

Property setter documentation:

Sets text letter-spacing in em units. Typical values for slight expansion will be around 0.05. Negative values tighten text.

Java documentation for android.widget.TextView.setLetterSpacing(float).

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.

Applies to

See also