diff options
author | John Reck <jreck@google.com> | 2011-04-27 10:11:03 -0700 |
---|---|---|
committer | John Reck <jreck@google.com> | 2011-04-27 10:11:03 -0700 |
commit | adc921feeb327ed118711d4abddfaa421c841290 (patch) | |
tree | 832c46a6429f9e48bc60516023e5adde01676681 /src/com/android/browser/NavScreen.java | |
parent | 355f30adc34c4654a734a0e666aae420c0a55d82 (diff) | |
download | packages_apps_browser-adc921feeb327ed118711d4abddfaa421c841290.zip packages_apps_browser-adc921feeb327ed118711d4abddfaa421c841290.tar.gz packages_apps_browser-adc921feeb327ed118711d4abddfaa421c841290.tar.bz2 |
Smoother animations please
Change-Id: Ie27fef1678f758bdaf43f90d5baeabdeef3b9f83
Diffstat (limited to 'src/com/android/browser/NavScreen.java')
-rw-r--r-- | src/com/android/browser/NavScreen.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/com/android/browser/NavScreen.java b/src/com/android/browser/NavScreen.java index edbaa3b..c61c39f 100644 --- a/src/com/android/browser/NavScreen.java +++ b/src/com/android/browser/NavScreen.java @@ -100,6 +100,10 @@ public class NavScreen extends LinearLayout implements OnClickListener { mPopup = popup; } + protected float getToolbarHeight() { + return mActivity.getResources().getDimension(R.dimen.toolbar_height); + } + protected void dismissMenu() { if (mPopup != null) { mPopup.dismiss(); |