diff options
author | John Reck <jreck@google.com> | 2011-06-21 17:16:51 -0700 |
---|---|---|
committer | John Reck <jreck@google.com> | 2011-06-22 10:19:03 -0700 |
commit | 5d43ce897758b7cb5deadc1203717b965334784c (patch) | |
tree | 29b25c54d348ab26b816c02594329dcffb798b9f /src/com/android/browser/TabBar.java | |
parent | 1d9606b591f3c0f6ee7e51c27a5d0ac0f1d9d46a (diff) | |
download | packages_apps_Browser-5d43ce897758b7cb5deadc1203717b965334784c.zip packages_apps_Browser-5d43ce897758b7cb5deadc1203717b965334784c.tar.gz packages_apps_Browser-5d43ce897758b7cb5deadc1203717b965334784c.tar.bz2 |
Implement scroll up trigger titlebar
On phones, when scroll up show the title bar
Change-Id: I432bdddf693a351be9c6223e26804452b09d783f
Diffstat (limited to 'src/com/android/browser/TabBar.java')
-rw-r--r-- | src/com/android/browser/TabBar.java | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/com/android/browser/TabBar.java b/src/com/android/browser/TabBar.java index 6e84a40..1ea6071 100644 --- a/src/com/android/browser/TabBar.java +++ b/src/com/android/browser/TabBar.java @@ -111,7 +111,6 @@ public class TabBar extends LinearLayout mInactiveDrawable = res.getDrawable(R.drawable.browsertab_inactive); mTabMap = new HashMap<Tab, TabView>(); - Resources resources = activity.getResources(); LayoutInflater factory = LayoutInflater.from(activity); factory.inflate(R.layout.tab_bar, this); setPadding(0, (int) res.getDimension(R.dimen.tab_padding_top), 0, 0); |