简体   繁体   中英

Android GalleryView that contains scrollable views, e.g. ListView

I managed to implement a GalleryView, create a custom Adapter that returns a ListView for each item of the gallery but now the the problem:

I while I can scroll the listview vertially, I can no longer scroll the GalleryView horizontally.

What I am aiming at is a UI similar to the Google Weather/News application. While you can click a 'tab-like' gallery item on the top, you can also horizontally scroll the list views that represent the news items.

How can I implement this?

我不了解Google Weather / News应用程序,但是如果我对您的理解正确,ViewFlipper / ViewAnimator可以为您提供帮助。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM