思路:自定义framelayout里初始化添加头部layout,初始layoutparam 的height为0。下拉时,touch up事件里,将头部layout的param的height慢慢增加为移动的Y轴长度