Android UI - Android horizontal scroll view

Arun Abraham picture Arun Abraham · Apr 6, 2011 · Viewed 20.2k times · Source

Are there any samples similar to this? Android horizontal scroll view... Or how can I go about this?

Enter image description here

Answer

Mark Mooibroek picture Mark Mooibroek · Apr 6, 2011

Pseudo:

<LinearLayout android:orientation="vertical">
    <HorizontalScrollView>
        <LinearLayout android:orientation="horizontal">
            <Image1 />
            <Image2 />
            <Image3 />
            <Image4 />
            <Image5 />
        </LinearLayout>
    </HorizontalScrollView>
    <LinearLayout android:orientation="horizontal">
        <Button1 android:layout_weight="1" />
        <Button2 android:layout_weight="1" />
        <Button3 android:layout_weight="1" />
        <Button4 android:layout_weight="1" />
    </LinearLayout >
</LinearLayout>

Have fun!