简体   繁体   中英

Android UI: scrolling horizontal and vertical in coordination with top and lateral menu

I am trying to find a solution similar to this one but for an Android platform:

http://itunes.apple.com/us/app/hipmunk-flight-search/id419950680?mt=8

Have a look at that website. Basically the idea is to scroll laterally and vertically on the green content area (see the image below) and the two menus (red and blu) should scroll accordingly. If you scroll over the content area (green) left-right, the blu top menu should scroll as well. If you scroll up-down the red menu should scroll up-down as well.

The areas of the menu, is always there in the page.

在此处输入图像描述

does anyone have any suggestion?

You can try to put a Scrollview inside of a Horizontal Scrollview. Hope You can scroll in both direction.

Solution to this can be found here

that guy Pedro Loureiro explain it shortly although providing no extremely detailed source code. But that's how I sorted it out.

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