Stay organized with collections
Save and categorize content based on your preferences.
@RequiresSchemaVersion(major = 1, minor = 0)
@ExperimentalProtoLayoutExtensionApi
public interface DimensionBuilders.ExtensionDimension
Interface defining a dimension that can be applied to a element.
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-05-15 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-05-15 UTC."],[],[],null,["# DimensionBuilders.ExtensionDimension\n====================================\n\nArtifact: [androidx.wear.protolayout:protolayout](/jetpack/androidx/releases/wear-protolayout) \n[View Source](https://cs.android.com/search?q=file:androidx/wear/protolayout/DimensionBuilders.java+class:androidx.wear.protolayout.DimensionBuilders.ExtensionDimension) \nAdded in [1.0.0](/jetpack/androidx/releases/wear-protolayout#1.0.0)\n\n*** ** * ** ***\n\n[Kotlin](/reference/kotlin/androidx/wear/protolayout/DimensionBuilders.ExtensionDimension \"View this page in Kotlin\") \\|Java\n\n\n```\n@RequiresSchemaVersion(major = 1, minor = 0)\n@ExperimentalProtoLayoutExtensionApi\npublic interface DimensionBuilders.ExtensionDimension\n```\n\n\u003cbr /\u003e\n\nKnown direct subclasses \n[DimensionBuilders.DpProp](/reference/androidx/wear/protolayout/DimensionBuilders.DpProp) \n\n|-------------------------------------------------------------------------------------------|-----------------------------------------------|\n| [DimensionBuilders.DpProp](/reference/androidx/wear/protolayout/DimensionBuilders.DpProp) | A type for linear dimensions, measured in dp. |\n\n*** ** * ** ***\n\nInterface defining a dimension that can be applied to a element."]]