summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeon Scroggins <scroggo@google.com>2010-04-15 08:10:25 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2010-04-15 08:10:25 -0700
commitf389da90dfc28064b63d40bbb3091f102ca5f44d (patch)
treedf3093b26c2cf71d2880d7584f467427b19c023a
parent965a65f43b8528e11df56366541f57de603a0c7d (diff)
parent7fb1a353c94736dfcde690d8379e3bfd853362dd (diff)
downloadpackages_apps_Browser-f389da90dfc28064b63d40bbb3091f102ca5f44d.zip
packages_apps_Browser-f389da90dfc28064b63d40bbb3091f102ca5f44d.tar.gz
packages_apps_Browser-f389da90dfc28064b63d40bbb3091f102ca5f44d.tar.bz2
Merge "Use the green box's padding, and not the TitleBar's padding." into froyo
-rw-r--r--src/com/android/browser/TitleBar.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/browser/TitleBar.java b/src/com/android/browser/TitleBar.java
index fc39f36..dc4979b 100644
--- a/src/com/android/browser/TitleBar.java
+++ b/src/com/android/browser/TitleBar.java
@@ -281,8 +281,8 @@ public class TitleBar extends LinearLayout {
mRtButton.setVisibility(View.VISIBLE);
mStopButton.setVisibility(View.GONE);
mTitleBg.setBackgroundDrawable(titleDrawable);
- mTitleBg.setPadding(mLeftMargin, getPaddingTop(), mRightMargin,
- getPaddingBottom());
+ mTitleBg.setPadding(mLeftMargin, mTitleBg.getPaddingTop(),
+ mRightMargin, mTitleBg.getPaddingBottom());
} else {
if (mInLoad) {
titleDrawable = mLoadingBackground;