Stay organized with collections
Save and categorize content based on your preferences.
WrapTogetherSpan
public
interface
WrapTogetherSpan
implements
ParagraphStyle
android.text.style.WrapTogetherSpan
|
Known indirect subclasses
|
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# WrapTogetherSpan\n\nAdded in [API level 1](/guide/topics/manifest/uses-sdk-element#ApiLevels) \nSummary: \n\nWrapTogetherSpan\n================\n\n*** ** * ** ***\n\n[Kotlin](/reference/kotlin/android/text/style/WrapTogetherSpan \"View this page in Kotlin\") \\|Java\n\n\n`\npublic\n\n\ninterface\nWrapTogetherSpan\n`\n\n\n`\n\n\nimplements\n\n`[ParagraphStyle](/reference/android/text/style/ParagraphStyle)`\n\n\n`\n\n|-------------------------------------|\n| android.text.style.WrapTogetherSpan |\n\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Known indirect subclasses [DrawableMarginSpan](/reference/android/text/style/DrawableMarginSpan), [IconMarginSpan](/reference/android/text/style/IconMarginSpan), [LeadingMarginSpan.LeadingMarginSpan2](/reference/android/text/style/LeadingMarginSpan.LeadingMarginSpan2), [LineHeightSpan](/reference/android/text/style/LineHeightSpan), [LineHeightSpan.Standard](/reference/android/text/style/LineHeightSpan.Standard), [LineHeightSpan.WithDensity](/reference/android/text/style/LineHeightSpan.WithDensity) |------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | [DrawableMarginSpan](/reference/android/text/style/DrawableMarginSpan) | A span which adds a drawable and a padding to the paragraph it's attached to. | | [IconMarginSpan](/reference/android/text/style/IconMarginSpan) | Paragraph affecting span, that draws a bitmap at the beginning of a text. | | [LeadingMarginSpan.LeadingMarginSpan2](/reference/android/text/style/LeadingMarginSpan.LeadingMarginSpan2) | An extended version of [LeadingMarginSpan](/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. | | [LineHeightSpan](/reference/android/text/style/LineHeightSpan) | The classes that affect the line height of paragraph should implement this interface. | | [LineHeightSpan.Standard](/reference/android/text/style/LineHeightSpan.Standard) | Default implementation of the [LineHeightSpan](/reference/android/text/style/LineHeightSpan), which changes the line height of the attached paragraph. | | [LineHeightSpan.WithDensity](/reference/android/text/style/LineHeightSpan.WithDensity) | The classes that affect the line height of paragraph with respect to density, should implement this interface. | |\n\n\u003cbr /\u003e\n\n*** ** * ** ***"]]