<制約>
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
モーション シーケンスの 1 つの要素の場所と属性を指定します。
構文
<Constraint
android:id="@id/view_id"
attributes
/>
親要素
属性
<Constraint>
要素は ConstraintLayout
の標準セットをサポートします。
属性です。詳細については、ConstraintLayout
デベロッパー サイトをご覧ください。
ガイドをご覧ください。
このページのコンテンツやコードサンプルは、コンテンツ ライセンスに記載のライセンスに従います。Java および OpenJDK は Oracle および関連会社の商標または登録商標です。
最終更新日 2025-07-27 UTC。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2025-07-27 UTC。"],[],[],null,["# <Constraint>\n\nSpecifies the location and attributes of one element of a motion sequence.\n\nSyntax\n------\n\n```xml\n\u003cConstraint\n android:id=\"@id/view_id\"\n attributes\n/\u003e\n```\n\nContained in\n------------\n\n- [`\u003cConstraintSet\u003e`](/training/constraint-layout/motionlayout/ref/constraintset)\n\nAttributes\n----------\n\nThe `\u003cConstraint\u003e` element supports the standard set of `ConstraintLayout`\nattributes. For full documentation, see the [`ConstraintLayout` developer\nguide](/reference/android/support/constraint/ConstraintLayout#developer-guide)."]]