본문 바로가기

# 02/Android

[Android] ConstraintLayout 12 - Baseline Constraint layout_constraintBaseline_toBaselineOf 추가
[Android] ConstraintLayout 11 - layout_constraintVertical_weight layout_constraintVertical_weight
[Android] ConstraintLayout 10 - layout_constraintVertical_bias layout_constraintVertical_bias- 세 뷰중 한개만 속성 정해주면 됨! 1. 0 2. 0.25 3. 0.5 4. 0.75 5. 1
[Android] ConstraintLayout 9 - layout_constraintVertical_chainStyle layout_constraintVertical_chainStyle- 세 뷰중 한개만 속성 정해주면 됨! 1. spread (default) 2. spread_inside 3. packed
[Android] ConstraintLayout 8 - 세로 3개 배치 xml version="1.0" encoding="utf-8"?>xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" tools:context=".MainActivity"> android:id="@+id/text1" android:layout_width="wrap_content" ..
[Android] ConstraintLayout 7 - 세로 2개 배치 xml version="1.0" encoding="utf-8"?>xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" tools:context=".MainActivity"> android:id="@+id/text1" android:layout_width="wrap_content" ..
[Android] ConstraintLayout 6 - layout_constraintHorizontal_weight layout_constraintHorizontal_weight
[Android] ConstraintLayout 5 - layout_constraintHorizontal_bias layout_constraintHorizontal_bias- 세 뷰중 한개만 속성 정해주면 됨! 1. 0 2. 0.25 3. 0.5 4. 0.75 5. 1