In IPhone, scrollView.bounce is used to control the nice bouncing behavior for scrolling. Let's create the similar support in Android :) First, create a custom view public class BouncingHorizentalScrollView extends HorizontalScrollView { public static final int GAP = 100; public BouncingHorizentalScrollView(Context context) { super(context); init(); } public BouncingHorizentalScrollView( Con…
© 2022 Created by Daniel Leuck.
Powered by