Cannot implement swiping+scrolling behavior on swipe-panel with ListView on Android

Viewed 443

I have a kind of swipe-panel (which moves with help of gestures like status bar in Android) and an embedded ListView in it. The swipe-panel may be in two states:

  1. Its header is at the bottom of the screen with only general information about its content.
  2. The panel is fullscreened and a user sees both the header and the ListView.

Is it possible to implement the following behavior: the panel is in its 2th state, a user scrolls ListVIew with gestures, and when the ListView is scrolled to its top, next scroll makes the swipe-panel to move to its 1st state (the panel follows user's touch, which goes to the bottom of the screen)?

Similar behavior is implemented in organization's information card in Google Maps application on Android.

1 Answers
Related