Reputation: 5969
I need to make a scrollable row in ListView's item. The row should behave similar to Gallery or ViewPager. It was designed to behave similarly to Facebook gallery.
I was planning to use Gallery but since it has been deprecated I'm not sure if it's a good choice. Although Fragment is recommend to be used to replace Gallery, it's not expected to be put inside a ListView.
Is there other options for available? Or should I implement my own custom view to calculate and handle the view transition? Has anyone try something similar?
Upvotes: 0
Views: 331
Reputation: 11817
Make the row item a HorizontalScrollView
with a LinearLayout
inside.
Make the LinearLayout
's oriantation horizontal
and add the things you need inside.
Upvotes: 1