summaryrefslogtreecommitdiffstats
path: root/res/layout-port
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2011-09-28 16:49:47 -0700
committerWinson Chung <winsonc@google.com>2011-09-28 16:51:26 -0700
commit5966da2e2547ecdfb5d59bfcda8f66b4e2847803 (patch)
treec260b5fd0e2055f3c815e06c1cd6e63b9ad6b72a /res/layout-port
parentc5d2a7b0d6b85999731cc82ff945635fdea1e670 (diff)
downloadandroid_packages_apps_Trebuchet-5966da2e2547ecdfb5d59bfcda8f66b4e2847803.tar.gz
android_packages_apps_Trebuchet-5966da2e2547ecdfb5d59bfcda8f66b4e2847803.tar.bz2
android_packages_apps_Trebuchet-5966da2e2547ecdfb5d59bfcda8f66b4e2847803.zip
Tweaking size of QSB and updating cling assets.
- Making the voice search button a little larger (Bug: 5373735) - Updating landscape cling backgrounds Change-Id: I9a9c0367cb0fce5a41fb45c48ea70d9ba8e13f69
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>