Move the find dialog to the top of the screen.
Adjust the animations for the new location, and remove
the browser bar when Find is showing.
Bug 2667046
Change-Id: I565106b6c7e02200ed45ae145033447a8931af62
diff --git a/src/com/android/browser/Tab.java b/src/com/android/browser/Tab.java
index 12f0cf6..921ecb3 100644
--- a/src/com/android/browser/Tab.java
+++ b/src/com/android/browser/Tab.java
@@ -1963,7 +1963,7 @@
container = mContainer;
}
dialog.show();
- container.addView(dialog, new LinearLayout.LayoutParams(
+ container.addView(dialog, 0, new LinearLayout.LayoutParams(
ViewGroup.LayoutParams.MATCH_PARENT,
ViewGroup.LayoutParams.WRAP_CONTENT));
dialog.setWebView(view);