Tweaking the scroll indicators with new assets and sizing.

- Showing the scroll indicators when changing between workspace/apps customize

Change-Id: I791c09b76deb00108c466f08ae3c29b19d77c4d8
This commit is contained in:
Winson Chung
2011-06-30 17:39:37 -07:00
parent 04dc2bc613
commit 3ac74c55cf
12 changed files with 93 additions and 15 deletions

View File

@@ -152,6 +152,12 @@ public class AppsCustomizeTabHost extends TabHost implements LauncherTransitiona
ObjectAnimator anim = ObjectAnimator.ofFloat(mAppsCustomizePane, "alpha", 1f);
anim.setDuration(duration);
anim.addListener(new AnimatorListenerAdapter() {
@Override
public void onAnimationEnd(android.animation.Animator animation) {
mAppsCustomizePane.flashScrollingIndicator();
}
});
anim.start();
}
});
@@ -212,5 +218,7 @@ public class AppsCustomizeTabHost extends TabHost implements LauncherTransitiona
if (animation != null) {
setLayerType(LAYER_TYPE_NONE, null);
}
mAppsCustomizePane.flashScrollingIndicator();
}
}