<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    >
<LinearLayout 
android:id="@+id/header"
android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
>
<TextView 
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="header"
/>
</LinearLayout>
<LinearLayout 
android:id="@+id/content"
android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_below="@+id/header"
android:layout_above="@+id/footer"
android:padding="@string/padding"
>
<ImageView 
android:id="@+id/image1"
android:layout_height="wrap_content" 
android:layout_width="wrap_content"
android:padding="@string/padding"
android:src="@drawable/icon" 
/>
<ImageView 
android:id="@+id/image2"
android:layout_height="wrap_content" 
android:layout_width="wrap_content"
android:src="@drawable/icon" 
/>
<ImageView 
android:id="@+id/image3"
android:layout_height="wrap_content" 
android:layout_width="wrap_content"
android:src="@drawable/icon" 
/>
<ImageView 
android:id="@+id/image4"
android:layout_height="wrap_content" 
android:layout_width="wrap_content"
android:src="@drawable/icon" 
/>
<ImageView 
android:id="@+id/image5"
android:layout_height="wrap_content" 
android:layout_width="wrap_content"
android:src="@drawable/icon" 
/>
<ImageView 
android:id="@+id/image6"
android:layout_height="wrap_content" 
android:layout_width="wrap_content"
android:src="@drawable/icon" 
/>
<ImageView 
android:id="@+id/image7"
android:layout_height="wrap_content" 
android:layout_width="wrap_content"
android:src="@drawable/icon" 
/>
<ImageView 
android:id="@+id/image8"
android:layout_height="wrap_content" 
android:layout_width="wrap_content"
android:src="@drawable/icon" 
/>
<ImageView 
android:id="@+id/image9"
android:layout_height="wrap_content" 
android:layout_width="wrap_content"
android:src="@drawable/icon" 
/>
</LinearLayout>
<LinearLayout
android:id="@+id/footer" 
android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
>
<TextView 
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="header"
/>
</LinearLayout>
</RelativeLayout>

주변 지인에게 물어보니 LinearLayout을 평행으로 놓으면 화면을 벗어나면 다음줄로 자동으로 가게 할수 있다는데
저는 아무리 해보고 찾아봐도 해결할수가 없네요.
답을 좀 주세요
그리고 이미지에 padding 값을 먹이면 자꾸 오류가 나서 꺼지네요.