728x90
1. LinearLayout - 요소들을 수직, 수평으로 배치
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="wrap_content"
android:layout_height="fill_parent"
>
2. RelativeLayout - 각 요소들을 상대적 위치에 배치
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
>
3. FrameLayout - 각 요소들이 모두 왼쪽 상단에 포개지는 방식으로 배치
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
>
4. AbsoluteLayout - 각 요소들을 절대적 위치에 배치
<AbsoluteLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
>
5. TableLayout - 표 형태로 요소들을 정렬
<TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
6. ScrollView - 요소들이 화면을 넘어가면 스크롤 표시
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
댓글