Bug 701994: Tab counter animation should show overlap of numbers [r=mfinkle]
authorSriram Ramasubramanian <sriram@mozilla.com>
Sat, 12 Nov 2011 01:15:19 -0800
changeset 81810 859ecdfe0168
parent 81809 86108accd337
child 81811 1c92e36629f5
push idunknown
push userunknown
push dateunknown
reviewersmfinkle
bugs701994
milestone10.0a1
Bug 701994: Tab counter animation should show overlap of numbers [r=mfinkle]
embedding/android/BrowserToolbar.java
--- a/embedding/android/BrowserToolbar.java
+++ b/embedding/android/BrowserToolbar.java
@@ -117,20 +117,20 @@ public class BrowserToolbar extends Line
         });
         mCount = 0;
         mTabsCount.setText("0");
 
         mFavicon = (ImageButton) findViewById(R.id.favicon);
         mProgressSpinner = (AnimationDrawable) context.getResources().getDrawable(R.drawable.progress_spinner);
 
         mHandler = new Handler();
-        mSlideUpIn = new TranslateAnimation(0, 0, 100, 0);
-        mSlideUpOut = new TranslateAnimation(0, 0, 0, -100);
-        mSlideDownIn = new TranslateAnimation(0, 0, -100, 0);
-        mSlideDownOut = new TranslateAnimation(0, 0, 0, 100);
+        mSlideUpIn = new TranslateAnimation(0, 0, 30, 0);
+        mSlideUpOut = new TranslateAnimation(0, 0, 0, -30);
+        mSlideDownIn = new TranslateAnimation(0, 0, -30, 0);
+        mSlideDownOut = new TranslateAnimation(0, 0, 0, 30);
 
         mSlideUpIn.setDuration(750);
         mSlideUpOut.setDuration(750);
         mSlideDownIn.setDuration(750);
         mSlideDownOut.setDuration(750);
     }
 
     private void onAwesomeBarSearch() {