diff options
author | Winson Chung <winsonc@google.com> | 2011-07-13 12:23:11 -0700 |
---|---|---|
committer | Winson Chung <winsonc@google.com> | 2011-07-13 12:23:34 -0700 |
commit | 69eb7206dc43c90ef0ca128cd5507230197fa6cd (patch) | |
tree | 9a63527db60f14229e58d57ffe466ee5bee0a149 /res | |
parent | fe63476a2d0b12dfc692c425d1c6cdbb41774ef0 (diff) | |
download | android_packages_apps_Trebuchet-69eb7206dc43c90ef0ca128cd5507230197fa6cd.tar.gz android_packages_apps_Trebuchet-69eb7206dc43c90ef0ca128cd5507230197fa6cd.tar.bz2 android_packages_apps_Trebuchet-69eb7206dc43c90ef0ca128cd5507230197fa6cd.zip |
Making the search bar span the available space on the phone ui in portrait.
Change-Id: Idd1082414c460c632de891336a0be90eada51178
Diffstat (limited to 'res')
-rw-r--r-- | res/layout-port/search_bar.xml | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/res/layout-port/search_bar.xml b/res/layout-port/search_bar.xml index 7e7673726..f9a202ae0 100644 --- a/res/layout-port/search_bar.xml +++ b/res/layout-port/search_bar.xml @@ -20,19 +20,24 @@ android:layout_width="match_parent" android:layout_height="@dimen/qsb_bar_height"> <!-- Global search icon --> - <ImageView + <LinearLayout style="@style/SearchButton" - android:id="@+id/search_button" android:layout_width="wrap_content" android:layout_height="match_parent" android:layout_alignParentLeft="true" android:layout_alignParentTop="true" - android:src="@drawable/ic_search_normal_holo" + android:layout_toLeftOf="@+id/voice_button" android:background="@drawable/button_bg" android:onClick="onClickSearchButton" android:focusable="true" android:clickable="true" - android:contentDescription="@string/accessibility_search_button" /> + android:contentDescription="@string/accessibility_search_button"> + <ImageView + android:id="@+id/search_button" + android:layout_width="wrap_content" + android:layout_height="match_parent" + android:src="@drawable/ic_search_normal_holo" /> + </LinearLayout> <!-- Voice search icon --> <ImageView |