summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2011-07-13 13:51:29 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-07-13 13:51:29 -0700
commit33f3703e6a85c2d5fa6ba5cf5c06e69b657c1c4e (patch)
tree6981759ff948b019188b498db41a4b087a229c8e /res
parent06b9ecaf6f8903e90d18fb4c3a0dac6a35df6759 (diff)
parent69eb7206dc43c90ef0ca128cd5507230197fa6cd (diff)
downloadandroid_packages_apps_Trebuchet-33f3703e6a85c2d5fa6ba5cf5c06e69b657c1c4e.tar.gz
android_packages_apps_Trebuchet-33f3703e6a85c2d5fa6ba5cf5c06e69b657c1c4e.tar.bz2
android_packages_apps_Trebuchet-33f3703e6a85c2d5fa6ba5cf5c06e69b657c1c4e.zip
Merge "Making the search bar span the available space on the phone ui in portrait."
Diffstat (limited to 'res')
-rw-r--r--res/layout-port/search_bar.xml13
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