android path like header example

为君一笑 提交于 2019-12-23 19:07:22

问题


Hi I am trying to figure out how to make an expandable header that stretches when the user pulls the listview down. An example of this is path, when the user views their profile page, they are able to pull down the listview and the header or image at the top of the page stretched to expand. I have done research into this and cant find an example of how to do this. Could some one help please.

Thanks

EDIT

Basically what I am trying to do is get the following result:

So as you can see from the image above we have the path page, and the image at the to of the listview (in the header section) is partly shown. We then drag the listview down to get the next result:

As you can see the image has expanded on the listview drag, I am trying to replicate this.

Thanks

来源:https://stackoverflow.com/questions/17827891/android-path-like-header-example

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!