Use new assets for green box in voice title bar.
The new assets have a better margin to match the other
search field textfields. Also update title_voice.xml to use a
pressed state that matches the new assets. In TitleBar.java,
do not clear out the vertical padding in voice search mode.
Bug 2566133
Change-Id: Icb15d0660d2f06363e66adbdd92537e34b90b64e
diff --git a/res/drawable/title_voice.xml b/res/drawable/title_voice.xml
index 0bb1ad3..e96eb94 100644
--- a/res/drawable/title_voice.xml
+++ b/res/drawable/title_voice.xml
@@ -16,7 +16,7 @@
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true"
- android:drawable="@*android:drawable/textfield_pressed" />
+ android:drawable="@*android:drawable/textfield_search_empty_pressed" />
<item android:state_pressed="false"
android:drawable="@drawable/textfield_voice_search" />
</selector>