Are there any samples similar to this? Android horizontal scroll view... Or how can I go about this?
Asked
Active
Viewed 2.0k times
2 Answers
14
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!

buley
- 28,032
- 17
- 85
- 106

Mark Mooibroek
- 7,636
- 3
- 32
- 53
0

Peter Mortensen
- 30,738
- 21
- 105
- 131

Hussain
- 5,552
- 4
- 40
- 50
-
Hmmmm....i have already seen this example..but this uses the Gallery class...which is better to use Gallery or HorizontalScrollView ? – Arun Abraham Apr 06 '11 at 12:10
-
According to me its better to use the `GalleryView` than `HorizontalScrollView`.. Its my suggestion.. U better go what suits for u arun. – Hussain Apr 06 '11 at 12:12
-
I'm really lost. What we can use in place of GalleryView? A GridView with custom numColumn based at screen size, inside of HorizontalScrollView? – Renan Franca Aug 10 '12 at 02:58