summaryrefslogtreecommitdiffstats
path: root/res/layout-port
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2011-09-29 13:44:30 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-09-29 13:44:30 -0700
commit2f6a86e9db6609fc96ccbe2e67438e52d93a2d78 (patch)
tree7b2ecc41cda45f87d89987cf76652a11b118feca /res/layout-port
parent1a540a83647dbf94941f78025eba73d114dc0b47 (diff)
parent5966da2e2547ecdfb5d59bfcda8f66b4e2847803 (diff)
downloadandroid_packages_apps_Trebuchet-2f6a86e9db6609fc96ccbe2e67438e52d93a2d78.tar.gz
android_packages_apps_Trebuchet-2f6a86e9db6609fc96ccbe2e67438e52d93a2d78.tar.bz2
android_packages_apps_Trebuchet-2f6a86e9db6609fc96ccbe2e67438e52d93a2d78.zip
Merge "Tweaking size of QSB and updating cling assets."
Diffstat (limited to 'res/layout-port')
-rw-r--r--res/layout-port/search_bar.xml20
1 files changed, 13 insertions, 7 deletions
diff --git a/res/layout-port/search_bar.xml b/res/layout-port/search_bar.xml
index 468e94508..dbacd3dc8 100644
--- a/res/layout-port/search_bar.xml
+++ b/res/layout-port/search_bar.xml
@@ -28,7 +28,7 @@
android:layout_height="match_parent"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true"
- android:layout_toLeftOf="@+id/voice_button"
+ android:layout_toLeftOf="@+id/voice_button_container"
android:background="?android:attr/selectableItemBackground"
android:onClick="onClickSearchButton"
android:focusable="true"
@@ -43,18 +43,24 @@
</LinearLayout>
<!-- Voice search icon -->
- <ImageView
+ <LinearLayout
style="@style/SearchButton.Voice"
- android:id="@+id/voice_button"
- android:layout_width="wrap_content"
+ android:id="@+id/voice_button_container"
+ android:layout_width="@dimen/search_bar_height"
android:layout_height="match_parent"
android:layout_alignParentRight="true"
android:layout_alignParentTop="true"
- android:src="@drawable/ic_home_voice_search_holo"
- android:adjustViewBounds="true"
+ android:gravity="right"
android:background="?android:attr/selectableItemBackground"
android:onClick="onClickVoiceButton"
android:focusable="true"
android:clickable="true"
- android:contentDescription="@string/accessibility_voice_search_button" />
+ android:contentDescription="@string/accessibility_voice_search_button">
+ <ImageView
+ android:id="@+id/voice_button"
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:src="@drawable/ic_home_voice_search_holo"
+ android:adjustViewBounds="true" />
+ </LinearLayout>
</RelativeLayout>