diff options
author | Walter Jang <wjang@google.com> | 2015-05-21 09:43:15 -0700 |
---|---|---|
committer | Walter Jang <wjang@google.com> | 2015-05-21 09:51:51 -0700 |
commit | 356e93de45c8f1a1a3ade02bf303767aaacafc0b (patch) | |
tree | 326eb49853c63cd5be0a5c36bd7726c39a8c66a7 /res | |
parent | 68beeabcaeb84e6da51c192dded23f562a550f34 (diff) | |
download | packages_apps_Contacts-356e93de45c8f1a1a3ade02bf303767aaacafc0b.tar.gz packages_apps_Contacts-356e93de45c8f1a1a3ade02bf303767aaacafc0b.tar.bz2 packages_apps_Contacts-356e93de45c8f1a1a3ade02bf303767aaacafc0b.zip |
Add content description to compact editor overlay
Bug 21032304
Change-Id: Ib7364d20606a82cb037e9df06afb6b2dd802967a
Diffstat (limited to 'res')
-rw-r--r-- | res/layout/compact_photo_editor_view.xml | 3 | ||||
-rw-r--r-- | res/values/strings.xml | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/res/layout/compact_photo_editor_view.xml b/res/layout/compact_photo_editor_view.xml index 33449a8af..9806f64e0 100644 --- a/res/layout/compact_photo_editor_view.xml +++ b/res/layout/compact_photo_editor_view.xml @@ -49,6 +49,7 @@ android:id="@+id/photo_touch_intercept_overlay" android:layout_width="match_parent" android:layout_height="match_parent" - android:background="@drawable/item_background_material_dark" /> + android:background="@drawable/item_background_material_dark" + android:contentDescription="@string/compact_editor_change_photo_content_description" /> </com.android.contacts.editor.CompactPhotoEditorView>
\ No newline at end of file diff --git a/res/values/strings.xml b/res/values/strings.xml index 1fc144a8b..55e182d10 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -761,4 +761,7 @@ <!-- Button to expand the compact contact editor to show all available input fields. [CHAR LIMIT=60] --> <string name="compact_editor_more_fields">More Fields</string> + + <!-- Content description for the compact contact editor photo overlay which, when clicked, shows a dialog with the options for changing the contact photo. [CHAR LIMIT=30] --> + <string name="compact_editor_change_photo_content_description">Change photo</string> </resources> |