From edc35add8fabb0f649400726f79a5bf4e86bce88 Mon Sep 17 00:00:00 2001 From: Thijs Suijten Date: Tue, 4 Aug 2015 16:53:41 +0200 Subject: [PATCH] Removed obsolete attributes --- .../com/q42/android/scrollingimageview/ScrollingImageView.java | 3 +-- library/src/main/res/values/attr.xml | 2 -- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/library/src/main/java/com/q42/android/scrollingimageview/ScrollingImageView.java b/library/src/main/java/com/q42/android/scrollingimageview/ScrollingImageView.java index 552107a..f265783 100644 --- a/library/src/main/java/com/q42/android/scrollingimageview/ScrollingImageView.java +++ b/library/src/main/java/com/q42/android/scrollingimageview/ScrollingImageView.java @@ -63,9 +63,8 @@ public void onDraw(Canvas canvas) { left += layerWidth; } - offset -= speed; - if (isStarted) { + offset -= speed; postInvalidateOnAnimation(); } } diff --git a/library/src/main/res/values/attr.xml b/library/src/main/res/values/attr.xml index 9f548fd..0992281 100644 --- a/library/src/main/res/values/attr.xml +++ b/library/src/main/res/values/attr.xml @@ -1,8 +1,6 @@ - -