Bug 850154 - Fix alignment of find-in-page bar after bug 716403. r=sriram

Use the RelativeLayout.LayoutParams instead of LinearLayout.LayoutParams to
make sure the find-in-page bar is aligned to the bottom of the page.
This commit is contained in:
Chris Lord 2013-03-17 01:53:40 +00:00
parent 2ea639cdcb
commit c59a4feed2

View File

@ -26,8 +26,8 @@
<RelativeLayout android:id="@+id/gecko_layout"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_weight="1"
android:layout_below="@+id/toolbar_spacer">
android:layout_below="@+id/toolbar_spacer"
android:layout_above="@+id/find_in_page">
<include layout="@layout/shared_ui_components"/>
@ -41,7 +41,7 @@
<org.mozilla.gecko.FindInPageBar android:id="@+id/find_in_page"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom"
android:layout_alignParentBottom="true"
style="@style/FindBar"
android:visibility="gone"/>