diff options
author | Brian Attwell <brianattwell@google.com> | 2014-11-12 18:38:24 -0800 |
---|---|---|
committer | Brian Attwell <brianattwell@google.com> | 2014-11-13 02:42:09 +0000 |
commit | 8c8cafb21cebbea33468c068efacea6c77635811 (patch) | |
tree | 0db2437586c8de090a600e836ba8a767cc4ac982 /res/layout | |
parent | da71919dcd16754cb378fc664967f4b278431c70 (diff) | |
download | android_packages_apps_Contacts-8c8cafb21cebbea33468c068efacea6c77635811.tar.gz android_packages_apps_Contacts-8c8cafb21cebbea33468c068efacea6c77635811.tar.bz2 android_packages_apps_Contacts-8c8cafb21cebbea33468c068efacea6c77635811.zip |
Improve content descriptions a bit
* Don't apply content descriptions to empty images
* Content descriptions for mimetype images consistently
omit the word "section". Ie, "email" instead of "email section".
Bug: 18004959
Change-Id: I9d74b78dda7f071a0e7bdefe38eda3ad4b136fd2
Diffstat (limited to 'res/layout')
-rw-r--r-- | res/layout/item_photo_editor.xml | 2 | ||||
-rw-r--r-- | res/layout/item_photo_editor_readonly.xml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/res/layout/item_photo_editor.xml b/res/layout/item_photo_editor.xml index ebf122d1a..bada4ccfa 100644 --- a/res/layout/item_photo_editor.xml +++ b/res/layout/item_photo_editor.xml @@ -24,7 +24,7 @@ android:id="@+id/kind_icon" android:src="@drawable/ic_camera_alt_black_24dp" android:layout_marginTop="8dp" - android:contentDescription="@string/photo_section" + android:contentDescription="@string/header_photo_entry" style="@style/EditKindIconStyle" /> <!-- Needs 10dp of top padding, in order get a total of 32dp of padding between this view diff --git a/res/layout/item_photo_editor_readonly.xml b/res/layout/item_photo_editor_readonly.xml index 0f9f9354f..1e998098f 100644 --- a/res/layout/item_photo_editor_readonly.xml +++ b/res/layout/item_photo_editor_readonly.xml @@ -25,7 +25,7 @@ android:id="@+id/kind_icon" android:src="@drawable/ic_camera_alt_black_24dp" android:layout_marginTop="8dp" - android:contentDescription="@string/photo_section" + android:contentDescription="@string/header_photo_entry" style="@style/EditKindIconStyle" /> <!-- Needs 10dp of top padding, in order get a total of 32dp of padding between this view |