summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorYorke Lee <yorkelee@google.com>2013-07-31 15:39:02 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2013-07-31 15:39:04 +0000
commita72918aa52df4dbf6d69ace7f05cb046175e878e (patch)
tree310a991501b024b6af1080156857f7cd390603ac /res
parentf00e1cfc307d37ac2cb693c701a3dcc2790b84c2 (diff)
parent191df33b47d28586652582499847ca3a2683cfcd (diff)
Merge "Add voice search button in Dialer"
Diffstat (limited to 'res')
-rw-r--r--res/drawable-hdpi/ic_voice_search.pngbin0 -> 1271 bytes
-rw-r--r--res/drawable-mdpi/ic_voice_search.pngbin0 -> 913 bytes
-rw-r--r--res/drawable-xhdpi/ic_voice_search.pngbin0 -> 1603 bytes
-rw-r--r--res/layout/new_dialtacts_activity.xml10
-rw-r--r--res/values/strings.xml3
5 files changed, 13 insertions, 0 deletions
diff --git a/res/drawable-hdpi/ic_voice_search.png b/res/drawable-hdpi/ic_voice_search.png
new file mode 100644
index 000000000..6caf4a43d
--- /dev/null
+++ b/res/drawable-hdpi/ic_voice_search.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_voice_search.png b/res/drawable-mdpi/ic_voice_search.png
new file mode 100644
index 000000000..e290f9277
--- /dev/null
+++ b/res/drawable-mdpi/ic_voice_search.png
Binary files differ
diff --git a/res/drawable-xhdpi/ic_voice_search.png b/res/drawable-xhdpi/ic_voice_search.png
new file mode 100644
index 000000000..614758188
--- /dev/null
+++ b/res/drawable-xhdpi/ic_voice_search.png
Binary files differ
diff --git a/res/layout/new_dialtacts_activity.xml b/res/layout/new_dialtacts_activity.xml
index 7845d0fef..b9d417b36 100644
--- a/res/layout/new_dialtacts_activity.xml
+++ b/res/layout/new_dialtacts_activity.xml
@@ -49,8 +49,18 @@
android:layout_width="40dp"
android:padding="6dp"
android:src="@drawable/ic_close_dk"
+ android:clickable="true"
android:background="?android:attr/selectableItemBackground"
android:visibility="gone" />
+ <ImageView
+ android:id="@+id/voice_search_button"
+ android:layout_height="40dp"
+ android:layout_width="40dp"
+ android:padding="6dp"
+ android:src="@drawable/ic_voice_search"
+ android:clickable="true"
+ android:contentDescription="@string/description_start_voice_search"
+ android:background="?android:attr/selectableItemBackground" />
</LinearLayout>
<FrameLayout
android:layout_height="0dp"
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 7d4a4d9b4..3845e2dd4 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -452,6 +452,9 @@
-->
<string name="description_call_log_unheard_voicemail">Unheard voicemail</string>
+ <!-- String describing the icon used to start a voice search -->
+ <string name="description_start_voice_search">Start voice search</string>
+
<!-- The string used to represent an unknown location for a phone number in the call log [CHAR LIMIT=3] -->
<string name="call_log_empty_gecode">-</string>