<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:layout_marginTop="20dp"
android:background="@color/whiteblack"
android:gravity="center_vertical"
>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/white"
android:layout_margin="20dp"
>
<Gallery
android:gravity="left"
android:id="@+id/recommendList"
android:layout_width="match_parent"
android:layout_height="200dip"
android:animationDuration="1000"
android:spacing="5dip" />
</LinearLayout>
</LinearLayout>
앞쪽으로 배치하고 싶은데 가운데에서 시작합니다.