TextView.SetLineSpacing(Single, Single) 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.
Sets line spacing for this TextView.
[Android.Runtime.Register("setLineSpacing", "(FF)V", "GetSetLineSpacing_FFHandler")]
public virtual void SetLineSpacing (float add, float mult);
[<Android.Runtime.Register("setLineSpacing", "(FF)V", "GetSetLineSpacing_FFHandler")>]
abstract member SetLineSpacing : single * single -> unit
override this.SetLineSpacing : single * single -> unit
Parameters
- add
- Single
The value in pixels that should be added to each line other than the last line. This will be applied after the multiplier
- mult
- Single
The value by which each line height other than the last line will be multiplied by
- Attributes
Remarks
Sets line spacing for this TextView. Each line other than the last line will have its height multiplied by mult
and have add
added to it.
Java documentation for android.widget.TextView.setLineSpacing(float, 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.