Stay organized with collections
Save and categorize content based on your preferences.
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,["# ConstraintSetParser.DesignElement\n=================================\n\nArtifact: [androidx.constraintlayout:constraintlayout-core](/jetpack/androidx/releases/constraintlayout) \n[View Source](https://cs.android.com/search?q=file:androidx/constraintlayout/core/state/ConstraintSetParser.java+class:androidx.constraintlayout.core.state.ConstraintSetParser.DesignElement) \nAdded in [1.1.1](/jetpack/androidx/releases/constraintlayout#1.1.1)\n\n*** ** * ** ***\n\n[Kotlin](/reference/kotlin/androidx/constraintlayout/core/state/ConstraintSetParser.DesignElement \"View this page in Kotlin\") \\|Java\n\n\n```\npublic class ConstraintSetParser.DesignElement\n```\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nSummary\n-------\n\n| ### Public methods |\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------|\n| [String](https://developer.android.com/reference/java/lang/String.html) | [getId](/reference/androidx/constraintlayout/core/state/ConstraintSetParser.DesignElement#getId())`()` |\n| [HashMap](https://developer.android.com/reference/java/util/HashMap.html)`\u003c`[String](https://developer.android.com/reference/java/lang/String.html)`, `[String](https://developer.android.com/reference/java/lang/String.html)`\u003e` | [getParams](/reference/androidx/constraintlayout/core/state/ConstraintSetParser.DesignElement#getParams())`()` |\n| [String](https://developer.android.com/reference/java/lang/String.html) | [getType](/reference/androidx/constraintlayout/core/state/ConstraintSetParser.DesignElement#getType())`()` |\n\nPublic methods\n--------------\n\n### getId\n\nAdded in [1.1.1](/jetpack/androidx/releases/constraintlayout#1.1.1) \n\n```\npublic String getId()\n``` \n\n### getParams\n\nAdded in [1.1.1](/jetpack/androidx/releases/constraintlayout#1.1.1) \n\n```\npublic HashMap\u003cString, String\u003e getParams()\n``` \n\n### getType\n\nAdded in [1.1.1](/jetpack/androidx/releases/constraintlayout#1.1.1) \n\n```\npublic String getType()\n```"]]