diff options
author | Michael Kolb <kolby@google.com> | 2011-07-27 15:16:32 -0700 |
---|---|---|
committer | Michael Kolb <kolby@google.com> | 2011-07-27 15:42:55 -0700 |
commit | e76f7047c9f1cb0a6abb9afe1ce31c5dc4b30973 (patch) | |
tree | 81dfb857afb4b4ba8b7417978312eec45ca21697 /src/com/android/browser/NavScreen.java | |
parent | ff6a748ae78165cc2298f5120a4374b4ed6f836b (diff) | |
download | packages_apps_Browser-e76f7047c9f1cb0a6abb9afe1ce31c5dc4b30973.zip packages_apps_Browser-e76f7047c9f1cb0a6abb9afe1ce31c5dc4b30973.tar.gz packages_apps_Browser-e76f7047c9f1cb0a6abb9afe1ce31c5dc4b30973.tar.bz2 |
add collapse animation to tab switcher
Bug: 5087355
if the tab is not the last tab, the tabs collapse smoothly
use animation when close button is used
Change-Id: I5dabcbb30317ff634aafd21b6f1b0e2b902b767e
Diffstat (limited to 'src/com/android/browser/NavScreen.java')
-rw-r--r-- | src/com/android/browser/NavScreen.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/browser/NavScreen.java b/src/com/android/browser/NavScreen.java index f52ef88..a361136 100644 --- a/src/com/android/browser/NavScreen.java +++ b/src/com/android/browser/NavScreen.java @@ -247,7 +247,7 @@ public class NavScreen extends RelativeLayout @Override public void onClick(View v) { if (tabview.isClose(v)) { - onCloseTab(tab); + mScroller.animateOut(tabview); } else if (tabview.isTitle(v)) { mScroller.setSelection(position); switchToSelected(); |