Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
public static interface

LeadingMarginSpan.LeadingMarginSpan2

implements LeadingMarginSpan WrapTogetherSpan
android.text.style.LeadingMarginSpan.LeadingMarginSpan2

Class Overview

An extended version of LeadingMarginSpan , which allows the implementor to specify the number of lines of text to which this object is attached that the "first line of paragraph" margin width will be applied to.

Summary

Public Methods
abstract int getLeadingMarginLineCount ()
Returns the number of lines of text to which this object is attached that the "first line" margin will apply to.
[Expand]
Inherited Methods
From interface android.text.style.LeadingMarginSpan

Public Methods

public abstract int getLeadingMarginLineCount ()

Added in API level 8

Returns the number of lines of text to which this object is attached that the "first line" margin will apply to. Note that if this returns N, the first N lines of the region, not the first N lines of each paragraph, will be given the special margin width.