Layoutjava.lang.Object
android.view.View
android.widget.ViewGroup
android.widget.LinearLayout
android.widget.TableLayout
android.widget.RelativeLayout
android.widget.FrameLayout
android.widget.GridLayout
자주 사용되는 속성
orientation // 수직, 수평(default는 수평)
gravity // 위젯의 정렬(가운데정렬, 오른쪽 정렬 등)
padding // 띄움
layout_weight // 비중
baselineAligned // 위젯을 놓는위치의 기준
Linear layoutRelative layout
Table layout
Grid layout
Frame layout
<LinearLayout xmlns:andoid="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
----- 위젯 -----
</LinearLayout>
orientation horizontal, vertical
gravity right, center, left right|bottom과 같이 동시에 지정도 가능
baseAligned는 default로 true로 지정, 글자의 중심 높이를 맞춰줌(중앙을 기준으로 맞춤)