We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8eab30a commit edc35adCopy full SHA for edc35ad
2 files changed
library/src/main/java/com/q42/android/scrollingimageview/ScrollingImageView.java
@@ -63,9 +63,8 @@ public void onDraw(Canvas canvas) {
63
left += layerWidth;
64
}
65
66
- offset -= speed;
67
-
68
if (isStarted) {
+ offset -= speed;
69
postInvalidateOnAnimation();
70
71
library/src/main/res/values/attr.xml
@@ -1,8 +1,6 @@
1
<?xml version="1.0" encoding="utf-8"?>
2
<resources>
3
<declare-styleable name="ParallaxView">
4
- <attr name="accelerationDuration" format="integer" />
5
- <attr name="decelerationDuration" format="integer" />
6
<attr name="speed" format="dimension" />
7
<attr name="src" format="reference" />
8
</declare-styleable>
0 commit comments