Home » Android » Android UI – Android horizontal scroll view

Android UI – Android horizontal scroll view

Posted by: admin June 15, 2020 Leave a comment

Questions:

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

Enter image description here

How to&Answers:

Try to have a look at these:

Answer:

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!