Modified title bar to show concurrently with copy/paste menu
The title bar will now move down below the copy/paste menu
when initiated, making it so that the URL is viewable
while performing a copy/cut/paste function.
Change-Id: I4fb114ab25fde91bececaf5d3335d89466da96de
diff --git a/src/com/android/browser/TitleBar.java b/src/com/android/browser/TitleBar.java
index e33a05c..1f9ec23 100644
--- a/src/com/android/browser/TitleBar.java
+++ b/src/com/android/browser/TitleBar.java
@@ -115,7 +115,8 @@
super.onMeasure(widthMeasureSpec, heightMeasureSpec);
if (mIsFixedTitleBar) {
int margin = getMeasuredHeight() - calculateEmbeddedHeight();
- mBaseUi.setContentViewMarginTop(-margin);
+ if (!isEditingUrl())
+ mBaseUi.setContentViewMarginTop(-margin);
} else {
mBaseUi.setContentViewMarginTop(0);
}