summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeon Scroggins <scroggo@google.com>2010-04-15 10:55:02 -0400
committerLeon Scroggins <scroggo@google.com>2010-04-15 10:55:02 -0400
commit7fb1a353c94736dfcde690d8379e3bfd853362dd (patch)
tree92ca587f2fd688ff76c2244004eee5098a653883
parent13afdcaf76a60900f733e79a3698f400d96889ad (diff)
downloadpackages_apps_Browser-7fb1a353c94736dfcde690d8379e3bfd853362dd.zip
packages_apps_Browser-7fb1a353c94736dfcde690d8379e3bfd853362dd.tar.gz
packages_apps_Browser-7fb1a353c94736dfcde690d8379e3bfd853362dd.tar.bz2
Use the green box's padding, and not the TitleBar's padding.
Bug 2566133 Change-Id: Ia780bcc74ad7317dfeea3adfc9a8c5eb4609d1f2
-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;