<ConstraintSet>
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
모션 시퀀스의 한 지점에서 모든 뷰의 위치와 속성을 지정합니다. 일반적으로 <Transition>
요소는 두 개의 <ConstraintSet>
요소를 가리킵니다. 하나는 모션 시퀀스의 시작을 정의하고 다른 하나는 끝을 정의합니다.
문법
<ConstraintSet
id="@id/name">
[ deriveConstraintsFrom="id" ]
...
</ConstraintSet>
속성
deriveConstraintsFrom
- (선택) 다른
ConstraintSet
의 ID입니다. 지정하면 이 제약 조건 세트가 특별히 제약 조건을 재정의하지 않는 한 이 집합의 모든 제약 조건이 이 ConstraintSet
에 적용됩니다.
android:id
- 이 제약 조건 세트의 고유 식별자입니다.
<Transition>
는 모션 시퀀스의 시작 및 종료 지점을 식별하는 데 이 ID가 필요합니다.
포함해야 하는 요소
포함된 요소
이 페이지에 나와 있는 콘텐츠와 코드 샘플에는 콘텐츠 라이선스에서 설명하는 라이선스가 적용됩니다. 자바 및 OpenJDK는 Oracle 및 Oracle 계열사의 상표 또는 등록 상표입니다.
최종 업데이트: 2024-02-15(UTC)
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"필요한 정보가 없음"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"너무 복잡함/단계 수가 너무 많음"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"오래됨"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"번역 문제"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"샘플/코드 문제"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"기타"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"이해하기 쉬움"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"문제가 해결됨"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"기타"
}]