From 465b08cf4df1be5692488eeacfb5238402d6e5d1 Mon Sep 17 00:00:00 2001 From: Amith Yamasani Date: Tue, 16 Aug 2011 15:38:42 -0700 Subject: [PATCH] Move the padding to the text field in SearchView. Side padding/margins were being applied to both the iconified and the expanded view. This moves the margin to just the expanded view. Bug: 5081112 Change-Id: I08c8cd97db2c893a0404065555d2770a6ab902ec --- core/res/res/layout/search_view.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/res/res/layout/search_view.xml b/core/res/res/layout/search_view.xml index 53f0cffdd730b..0ffd571ce1e29 100644 --- a/core/res/res/layout/search_view.xml +++ b/core/res/res/layout/search_view.xml @@ -22,8 +22,6 @@ android:id="@+id/search_bar" android:layout_width="match_parent" android:layout_height="match_parent" - android:paddingLeft="8dip" - android:paddingRight="8dip" android:orientation="horizontal" > @@ -59,6 +57,8 @@ android:layout_gravity="center_vertical" android:layout_marginTop="4dip" android:layout_marginBottom="4dip" + android:layout_marginLeft="8dip" + android:layout_marginRight="8dip" android:orientation="horizontal">