diff options
author | Winson Chung <winsonc@google.com> | 2011-06-30 17:39:37 -0700 |
---|---|---|
committer | Winson Chung <winsonc@google.com> | 2011-06-30 17:43:39 -0700 |
commit | 3ac74c55cf8baef29db80e8c67ab4ab033b04417 (patch) | |
tree | c97c29872343f8de147e3190e954067dcbfe172b /src/com/android/launcher2/AppsCustomizeTabHost.java | |
parent | 04dc2bc6139ff414e49fc423d28edbd5801cdc03 (diff) | |
download | android_packages_apps_Trebuchet-3ac74c55cf8baef29db80e8c67ab4ab033b04417.tar.gz android_packages_apps_Trebuchet-3ac74c55cf8baef29db80e8c67ab4ab033b04417.tar.bz2 android_packages_apps_Trebuchet-3ac74c55cf8baef29db80e8c67ab4ab033b04417.zip |
Tweaking the scroll indicators with new assets and sizing.
- Showing the scroll indicators when changing between workspace/apps customize
Change-Id: I791c09b76deb00108c466f08ae3c29b19d77c4d8
Diffstat (limited to 'src/com/android/launcher2/AppsCustomizeTabHost.java')
-rw-r--r-- | src/com/android/launcher2/AppsCustomizeTabHost.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/com/android/launcher2/AppsCustomizeTabHost.java b/src/com/android/launcher2/AppsCustomizeTabHost.java index 587a3eb5f..262358600 100644 --- a/src/com/android/launcher2/AppsCustomizeTabHost.java +++ b/src/com/android/launcher2/AppsCustomizeTabHost.java @@ -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(); } } |