-1

Have any of you tried out any Horizontal Scrolls/Gridviews to display Images similar to the Facebook mobile image viewer that allows the user to scroll images horizontal one after the other. The android gallery is another example.

I tried to implement this using THIS tutorial but I didn't get the desired output. Any other codes and layouts you guys have tried?

EDITED: What I basically want is to implement a horizontal scrolling of images as seen on THIS image. As you can see the gridview displays image one after the other. That tutorial caused some errors therefore I didn't continue with it.

I tried the following layout

XML Layout:

<android.support.v4.view.ViewPager
 android:id="@+id/pager"
 android:layout_width="match_parent"
 android:layout_height="0px"
 android:layout_weight="1">
 </android.support.v4.view.ViewPager>
Pjayness
  • 365
  • 1
  • 6
  • 22

1 Answers1

0

You can do something like that with Viewpager:

As for horizontal scroll in GridView here're some links:

Community
  • 1
  • 1
QArea
  • 4,955
  • 1
  • 12
  • 22