Bug 1124711 - Site identity popup overlaps the URL Bar on phone.r=margaret
authorAllison Naaktgeboren <ally@mozilla.com>
Wed, 11 Feb 2015 12:07:56 -0800
changeset 228860 9e88eb0cb0d28bd6cbbf7e937bbbdbaaeae56c25
parent 228859 ba0c52229c09d6c76a578d1de0ea4f0ad5256dd8
child 228861 61623ff5e751555d3c5d82717c2d9624b1e8d5be
push idunknown
push userunknown
push dateunknown
reviewersmargaret
bugs1124711
milestone38.0a1
Bug 1124711 - Site identity popup overlaps the URL Bar on phone.r=margaret
mobile/android/base/toolbar/ToolbarDisplayLayout.java
--- a/mobile/android/base/toolbar/ToolbarDisplayLayout.java
+++ b/mobile/android/base/toolbar/ToolbarDisplayLayout.java
@@ -186,17 +186,17 @@ public class ToolbarDisplayLayout extend
                 mFavicon.setImportantForAccessibility(View.IMPORTANT_FOR_ACCESSIBILITY_NO);
             }
             mFaviconSize = Math.round(Favicons.browserToolbarFaviconSize);
         }
 
         mSiteSecurityVisible = (mSiteSecurity.getVisibility() == View.VISIBLE);
 
         mSiteIdentityPopup = new SiteIdentityPopup(mActivity);
-        mSiteIdentityPopup.setAnchor(mSiteSecurity);
+        mSiteIdentityPopup.setAnchor(mTitle);
 
         mStop = (ImageButton) findViewById(R.id.stop);
         mPageActionLayout = (PageActionLayout) findViewById(R.id.page_action_layout);
     }
 
     @Override
     public void onAttachedToWindow() {
         mIsAttached = true;