Horizontal ListView like Google Catalogs

后端 未结 2 1797
灰色年华
灰色年华 2020-12-30 17:29

how do I make a horizontal list view like the one seen in Google Catalogs?

The large main area is a viewpager, but the bottom row is a horizontal scrollview with a li

2条回答
  •  渐次进展
    2020-12-30 18:00

    I'm not sure, but i think it's a Gallery ( http://developer.android.com/reference/android/widget/Gallery.html ) that sends callbacks to the ViewPager.

    You can find a sample code here: http://www.androidpeople.com/android-gallery-example

    Instead of the toast you need to callback the viewpager and set the page you want.

    I think it will do want you want! :-)

提交回复
热议问题