안드로이드 앱개발 기초반 - 2주차

연어는결국강으로·2022년 8월 16일
0

1. XMl로 레이아웃 다뤄보기

  • 자동정렬 단축키 - ctrl alt l
  • 필요할 때마다 검색해서 사용한다.

2. 퀴즈


3. 자주 쓰이는 LayoutView 연습하기

1) ConstraintLayout

  • 연습할 것들
    app:layout_constraintEnd_toEndOf
    app:layout_constraintStart_toStartOf
    app:layout_constraintBottom_toBottomOf
    app:layout_constraintBottom_toTopOf
    app:layout_constraintTop_toBottomOf
    app:layout_constraintBottom_toBottomOf

2) LinearLayout, ScrollView

  • 연습할 것들
    LinearLayout, ScrollView

4.Quiz

  • 내가한거

  • 모범답안

5. Quiz

  • linear-vertical 안에 linear-horizontal 을 감싸는 구조
  • 그것을 scrollview가 감싸고, scrollView의 높이를 0으로 설정해야 한다. wrap_content로 했더니 크기를 잡아먹었음.

6. 새로운 화면 추가

  • mainActivity 에 있는 intent-filter 는 처음 로딩할때 관련된 설정이다.

7. 숙제




0개의 댓글