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/PhoneUi.java b/src/com/android/browser/PhoneUi.java
index 01488e1..5aefc92 100644
--- a/src/com/android/browser/PhoneUi.java
+++ b/src/com/android/browser/PhoneUi.java
@@ -234,16 +234,15 @@
@Override
public void onActionModeStarted(ActionMode mode) {
+ super.onActionModeStarted(mode);
if (!isEditingUrl()) {
hideTitleBar();
- } else {
- mTitleBar.animate().translationY(mActionBarHeight);
}
}
@Override
public void onActionModeFinished(boolean inLoad) {
- mTitleBar.animate().translationY(0);
+ super.onActionModeFinished(inLoad);
if (inLoad) {
if (mUseQuickControls) {
mTitleBar.setShowProgressOnly(true);