Skip to content
This repository was archived by the owner on Apr 7, 2026. It is now read-only.

Commit edc35ad

Browse files
committed
Removed obsolete attributes
1 parent 8eab30a commit edc35ad

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

library/src/main/java/com/q42/android/scrollingimageview/ScrollingImageView.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,8 @@ public void onDraw(Canvas canvas) {
6363
left += layerWidth;
6464
}
6565

66-
offset -= speed;
67-
6866
if (isStarted) {
67+
offset -= speed;
6968
postInvalidateOnAnimation();
7069
}
7170
}

library/src/main/res/values/attr.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<resources>
33
<declare-styleable name="ParallaxView">
4-
<attr name="accelerationDuration" format="integer" />
5-
<attr name="decelerationDuration" format="integer" />
64
<attr name="speed" format="dimension" />
75
<attr name="src" format="reference" />
86
</declare-styleable>

0 commit comments

Comments
 (0)