# ParagraphStyle

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  
Summary:  

# ParagraphStyle

*** ** * ** ***

[Kotlin](https://developer.android.com/reference/kotlin/android/text/style/ParagraphStyle "View this page in Kotlin")\|Java

`
public


interface
ParagraphStyle
`  
`


`

|-----------------------------------|
| android.text.style.ParagraphStyle |

|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Known indirect subclasses [AlignmentSpan](https://developer.android.com/reference/android/text/style/AlignmentSpan),[AlignmentSpan.Standard](https://developer.android.com/reference/android/text/style/AlignmentSpan.Standard),[BulletSpan](https://developer.android.com/reference/android/text/style/BulletSpan),[DrawableMarginSpan](https://developer.android.com/reference/android/text/style/DrawableMarginSpan),[IconMarginSpan](https://developer.android.com/reference/android/text/style/IconMarginSpan),[LeadingMarginSpan](https://developer.android.com/reference/android/text/style/LeadingMarginSpan),[LeadingMarginSpan.LeadingMarginSpan2](https://developer.android.com/reference/android/text/style/LeadingMarginSpan.LeadingMarginSpan2),[LeadingMarginSpan.Standard](https://developer.android.com/reference/android/text/style/LeadingMarginSpan.Standard),[LineBackgroundSpan](https://developer.android.com/reference/android/text/style/LineBackgroundSpan),[LineBackgroundSpan.Standard](https://developer.android.com/reference/android/text/style/LineBackgroundSpan.Standard),[LineHeightSpan](https://developer.android.com/reference/android/text/style/LineHeightSpan),[LineHeightSpan.Standard](https://developer.android.com/reference/android/text/style/LineHeightSpan.Standard),[LineHeightSpan.WithDensity](https://developer.android.com/reference/android/text/style/LineHeightSpan.WithDensity),[QuoteSpan](https://developer.android.com/reference/android/text/style/QuoteSpan),[TabStopSpan](https://developer.android.com/reference/android/text/style/TabStopSpan),[TabStopSpan.Standard](https://developer.android.com/reference/android/text/style/TabStopSpan.Standard),[WrapTogetherSpan](https://developer.android.com/reference/android/text/style/WrapTogetherSpan) |-----------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | [AlignmentSpan](https://developer.android.com/reference/android/text/style/AlignmentSpan)                                               | Span that allows defining the alignment of text at the paragraph level.                                                                                                                                                                                                                                    | | [AlignmentSpan.Standard](https://developer.android.com/reference/android/text/style/AlignmentSpan.Standard)                             | Default implementation of the[AlignmentSpan](https://developer.android.com/reference/android/text/style/AlignmentSpan).                                                                                                                                                                                    | | [BulletSpan](https://developer.android.com/reference/android/text/style/BulletSpan)                                                     | A span which styles paragraphs as bullet points (respecting layout direction).                                                                                                                                                                                                                             | | [DrawableMarginSpan](https://developer.android.com/reference/android/text/style/DrawableMarginSpan)                                     | A span which adds a drawable and a padding to the paragraph it's attached to.                                                                                                                                                                                                                              | | [IconMarginSpan](https://developer.android.com/reference/android/text/style/IconMarginSpan)                                             | Paragraph affecting span, that draws a bitmap at the beginning of a text.                                                                                                                                                                                                                                  | | [LeadingMarginSpan](https://developer.android.com/reference/android/text/style/LeadingMarginSpan)                                       | A paragraph style affecting the leading margin.                                                                                                                                                                                                                                                            | | [LeadingMarginSpan.LeadingMarginSpan2](https://developer.android.com/reference/android/text/style/LeadingMarginSpan.LeadingMarginSpan2) | An extended version of[LeadingMarginSpan](https://developer.android.com/reference/android/text/style/LeadingMarginSpan), which allows the implementor to specify the number of lines of the paragraph to which this object is attached that the "first line of paragraph" margin width will be applied to. | | [LeadingMarginSpan.Standard](https://developer.android.com/reference/android/text/style/LeadingMarginSpan.Standard)                     | The standard implementation of LeadingMarginSpan, which adjusts the margin but does not do any rendering.                                                                                                                                                                                                  | | [LineBackgroundSpan](https://developer.android.com/reference/android/text/style/LineBackgroundSpan)                                     | Used to change the background of lines where the span is attached to.                                                                                                                                                                                                                                      | | [LineBackgroundSpan.Standard](https://developer.android.com/reference/android/text/style/LineBackgroundSpan.Standard)                   | Default implementation of the[LineBackgroundSpan](https://developer.android.com/reference/android/text/style/LineBackgroundSpan), which changes the background color of the lines to which the span is attached.                                                                                           | | [LineHeightSpan](https://developer.android.com/reference/android/text/style/LineHeightSpan)                                             | The classes that affect the line height of paragraph should implement this interface.                                                                                                                                                                                                                      | | [LineHeightSpan.Standard](https://developer.android.com/reference/android/text/style/LineHeightSpan.Standard)                           | Default implementation of the[LineHeightSpan](https://developer.android.com/reference/android/text/style/LineHeightSpan), which changes the line height of the attached paragraph.                                                                                                                         | | [LineHeightSpan.WithDensity](https://developer.android.com/reference/android/text/style/LineHeightSpan.WithDensity)                     | The classes that affect the line height of paragraph with respect to density, should implement this interface.                                                                                                                                                                                             | | [QuoteSpan](https://developer.android.com/reference/android/text/style/QuoteSpan)                                                       | A span which styles paragraphs by adding a vertical stripe at the beginning of the text (respecting layout direction).                                                                                                                                                                                     | | [TabStopSpan](https://developer.android.com/reference/android/text/style/TabStopSpan)                                                   | Paragraph affecting span that changes the position of the tab with respect to the leading margin of the line.                                                                                                                                                                                              | | [TabStopSpan.Standard](https://developer.android.com/reference/android/text/style/TabStopSpan.Standard)                                 | The default implementation of TabStopSpan that allows setting the offset of the tab stop from the leading margin of the first line of text.                                                                                                                                                                | | [WrapTogetherSpan](https://developer.android.com/reference/android/text/style/WrapTogetherSpan)                                         |                                                                                                                                                                                                                                                                                                            | |

<br />

*** ** * ** ***

The classes that affect paragraph-level text formatting implement this interface.