# bounceScrollView **Repository Path**: junwei12/bounceScrollView ## Basic Information - **Project Name**: bounceScrollView - **Description**: No description available - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-03-10 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # bounceScrollView ## 介绍 ## 本项目实现了 ScrollView 头部和底部拉动的回弹效果,如下图所示: 嵌套子 View 超过 ScrollVeiw 高度 ![嵌套子 View 超过 ScrollVeiw 高度](http://i.imgur.com/CTxcB5L.gif) 嵌套子 View 未超过 ScrollVeiw 高度 ![嵌套子 View 未超过 ScrollVeiw 高度](http://i.imgur.com/Sz8o6cu.gif) ## 使用方法 ## **在build.gradle中添加:** compile 'com.dalu9527:bounceScrollView:0.0.1' **在布局中使用:** 其中 ScrollView 的原有属性没有变化,照常使用即可 ## Introduce ## This project make the ScrollView bounce when move to top and bottom. As shown in the figure below: the inner view's height is higher than the scrollView's height ![](http://i.imgur.com/CTxcB5L.gif) the inner view's height is not higher than the scrollView's height ![](http://i.imgur.com/Sz8o6cu.gif) ## Usage ## **In build.gradle add:** compile 'com.dalu9527:bounceScrollView:0.0.1' **In Your Layout:** the scrollView's attr is not change, just use as normal.