[안드로이드] 레이아웃 제약조건 속성들
2022. 1. 20. 01:30ㆍStudy/안드로이드
반응형
레이아웃 제약조건의 속성은 다음 규칙
layout_constraint[소스 뷰의 연결점]_[타깃 뷰의 연결점]="[타깃 뷰의 id]"
layout_constraintTop_toTopOf | layout_constraintLeft_toLeftOf |
layout_constraintTop_toBottomOf | layout_constraintLeft_toRightOf |
layout_constraintBottom_toTopOf | layout_constraintRight_toTopOf |
layout_constraintBottom_toBottomOf | layout_constraintRight_toBottomOf |
layout_constraintLeft_toTopOf | layout_constraintRight_toLeftOf |
layout_constraintLeft_toBottomOf | layout_constraintRight_toRightOf |
Left 대신 Start
Right 대신 End 사용가능
반응형
'Study > 안드로이드' 카테고리의 다른 글
프래그먼트를 만들어 사용하는 과정 (0) | 2022.02.03 |
---|---|
[안드로이드] 액티비티를 만드는 과정 (0) | 2022.01.22 |
[안드로이드] 레이아웃 종류 (0) | 2022.01.19 |
[안드로이드] ardroid:id 속성의 역할 (0) | 2022.01.18 |
[안드로이드] xmlns: 접두어 (0) | 2021.11.17 |
이 글은 제품의 이용후기가 포함되었으며, 이에 따른 일정액의 수수료를 제공받습니다.