diff options
Diffstat (limited to 'src/com/android/launcher2/PagedViewWidget.java')
-rw-r--r-- | src/com/android/launcher2/PagedViewWidget.java | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/com/android/launcher2/PagedViewWidget.java b/src/com/android/launcher2/PagedViewWidget.java index 18fa2490c..9e668fd3c 100644 --- a/src/com/android/launcher2/PagedViewWidget.java +++ b/src/com/android/launcher2/PagedViewWidget.java @@ -156,12 +156,8 @@ public class PagedViewWidget extends LinearLayout implements Checkable { if (preview != null) { image.mAllowRequestLayout = false; image.setImageDrawable(preview); + image.setAlpha(1f); image.mAllowRequestLayout = true; - image.setAlpha(0f); - image.animate() - .alpha(1f) - .setDuration(sPreviewFadeInDuration + (index * sPreviewFadeInStaggerDuration)) - .start(); } } |