• 카테고리

    질문 & 답변
  • 세부 분야

    모바일 앱 개발

  • 해결 여부

    미해결

Intro layout에서 RelativeLayout이 아닌 ConstraintLayout을 쓰는 이유

23.09.08 15:56 작성 조회수 111

0

<ConstraintLayout 
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    tools:context=".auth.IntroActivity">
    
    <RelativeLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent">
    </RelativeLayout>

</ConstraintLayout>

결국 실질적 최상단 레이아웃은 RelativeLayout인데 가장 큰테두리를 ConstraintLayout로 쓰는 이유가 궁금합니다!

답변 1

답변을 작성해보세요.

0

안녕하세요.

혹시 강의 어느부분을 보고 말씀주신 것일까요?

레이아웃은 편의상 여러가지 방법으로 구현하기 때문에 절대적인 룰이 있는 것은 아닙니다만

강의 어떤 부분을 보고 말씀하셨는지 알려주시면 의도를 좀 더 설명드릴 수 있을 것 같습니다.