注:本项目使用Android Studio开发
1.仿照新浪微博Android客户端个人中心的ScrollView,下拉背景伸缩回弹效果。
2.ScrollView仿IOS回弹效果。
本项目采用 GPL 授权协议,欢迎大家在这个基础上进行改进,并与大家分享。
mScrollView = (PullScrollView) findViewById(R.id.scroll_view);
mHeadImg = (ImageView) findViewById(R.id.background_img);
mScrollView.setOnTurnListener(this);
mScrollView.init(mHeadImg);