Bug 790448 - Center search rows in AwesomeScreen. r=mfinkle
authorBrian Nicholson <bnicholson@mozilla.com>
Tue, 25 Sep 2012 15:06:47 -0700
changeset 108179 b3e493a66d853878eeb4e89e9770219373a46999
parent 108178 4a255d82170729d86e01be6c02ef5ac25795e738
child 108180 c88496e8454fdcf57b9c69282cecc89aefb57ee1
push id82
push usershu@rfrn.org
push dateFri, 05 Oct 2012 13:20:22 +0000
reviewersmfinkle
bugs790448
milestone18.0a1
Bug 790448 - Center search rows in AwesomeScreen. r=mfinkle
mobile/android/base/resources/layout/awesomebar_suggestion_row.xml
--- a/mobile/android/base/resources/layout/awesomebar_suggestion_row.xml
+++ b/mobile/android/base/resources/layout/awesomebar_suggestion_row.xml
@@ -2,16 +2,17 @@
 <!-- This Source Code Form is subject to the terms of the Mozilla Public
    - License, v. 2.0. If a copy of the MPL was not distributed with this
    - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
 
 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
                 android:layout_width="fill_parent"
                 android:layout_height="wrap_content"
                 android:minHeight="@dimen/awesomebar_row_height"
+                android:gravity="center_vertical"
                 android:padding="6dip">
 
     <ImageView android:id="@+id/suggestion_icon"
                android:layout_width="32dip"
                android:layout_height="32dip"
                android:layout_marginLeft="6dip"
                android:layout_marginRight="6dip"
                android:minWidth="32dip"