Index: chrome/android/java/res/layout/infobar_wrapper.xml |
diff --git a/chrome/android/java/res/layout/infobar_wrapper.xml b/chrome/android/java/res/layout/infobar_wrapper.xml |
index 21b226470060d3afa1fd45528d45d8e2cf3785b6..86ee21e429690743e41cb76ad1e287693ea80d3b 100644 |
--- a/chrome/android/java/res/layout/infobar_wrapper.xml |
+++ b/chrome/android/java/res/layout/infobar_wrapper.xml |
@@ -3,13 +3,9 @@ |
Use of this source code is governed by a BSD-style license that can be |
found in the LICENSE file. --> |
-<!-- Use RelativeLayout because it has a gravity attribute, unlike FrameLayout. |
- During infobar swap animations, two child views are added to this infobar |
- wrapper, and gravity="top" ensures they're both aligned at the top. --> |
-<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" |
+<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" |
android:layout_width="match_parent" |
android:layout_height="wrap_content" |
android:background="@drawable/infobar_bg" |
- android:gravity="top" |
android:minHeight="@dimen/infobar_peeking_height_with_shadow" |
android:paddingTop="@dimen/infobar_shadow_height" /> |