diff options
author | Yorke Lee <yorkelee@google.com> | 2013-07-30 17:21:28 -0700 |
---|---|---|
committer | Yorke Lee <yorkelee@google.com> | 2013-07-30 17:26:21 -0700 |
commit | 191df33b47d28586652582499847ca3a2683cfcd (patch) | |
tree | 97735b9359750b40bce045677c90688bcc98f942 /res | |
parent | 114ac7c63c9cc53a2c5159f5f34fb9390d28cc85 (diff) |
Add voice search button in Dialer
Change-Id: Ic8dcf4a1f886d3292af438e5995474539e88b179
Diffstat (limited to 'res')
-rw-r--r-- | res/drawable-hdpi/ic_voice_search.png | bin | 0 -> 1271 bytes | |||
-rw-r--r-- | res/drawable-mdpi/ic_voice_search.png | bin | 0 -> 913 bytes | |||
-rw-r--r-- | res/drawable-xhdpi/ic_voice_search.png | bin | 0 -> 1603 bytes | |||
-rw-r--r-- | res/layout/new_dialtacts_activity.xml | 10 | ||||
-rw-r--r-- | res/values/strings.xml | 3 |
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 Binary files differnew file mode 100644 index 000000000..6caf4a43d --- /dev/null +++ b/res/drawable-hdpi/ic_voice_search.png diff --git a/res/drawable-mdpi/ic_voice_search.png b/res/drawable-mdpi/ic_voice_search.png Binary files differnew file mode 100644 index 000000000..e290f9277 --- /dev/null +++ b/res/drawable-mdpi/ic_voice_search.png diff --git a/res/drawable-xhdpi/ic_voice_search.png b/res/drawable-xhdpi/ic_voice_search.png Binary files differnew file mode 100644 index 000000000..614758188 --- /dev/null +++ b/res/drawable-xhdpi/ic_voice_search.png 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> |