From a53d8e12eb5398ec0102c8a0d4d427d9f72704fc Mon Sep 17 00:00:00 2001 From: Margaret Leibovic Date: Tue, 29 Jul 2014 14:56:06 -0700 Subject: [PATCH] Bug 1045819 - Specify gravity on fragments for margin to take effect on gingerbread. r=eedens --- .../android/search/res/layout/search_activity_main.xml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/mobile/android/search/res/layout/search_activity_main.xml b/mobile/android/search/res/layout/search_activity_main.xml index 47a6bcdcf71..3995a19dd70 100644 --- a/mobile/android/search/res/layout/search_activity_main.xml +++ b/mobile/android/search/res/layout/search_activity_main.xml @@ -15,18 +15,21 @@ android:name="org.mozilla.search.PostSearchFragment" android:layout_width="match_parent" android:layout_height="match_parent" - android:layout_marginTop="@dimen/search_bar_height"/> + android:layout_marginTop="@dimen/search_bar_height" + android:layout_gravity="top"/> + android:layout_marginTop="@dimen/search_bar_height" + android:layout_gravity="top"/> + android:layout_height="match_parent" + android:layout_gravity="top"/>