aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/res/layout
diff options
context:
space:
mode:
authorSam Whited <sam@samwhited.com>2014-11-29 07:58:18 -0500
committerSam Whited <sam@samwhited.com>2014-11-29 08:03:35 -0500
commite43ac27e8f3dfabb69bc5edcb3eb005598270e81 (patch)
tree41f95562be66cd4ed023c165e78c34056ce7ff1d /src/main/res/layout
parentafc673bb1506d2557201e856aabd12d4a78f193d (diff)
Accessibility: Add missing image descriptions
Diffstat (limited to 'src/main/res/layout')
-rw-r--r--src/main/res/layout/account_row.xml3
-rw-r--r--src/main/res/layout/activity_edit_account.xml6
2 files changed, 6 insertions, 3 deletions
diff --git a/src/main/res/layout/account_row.xml b/src/main/res/layout/account_row.xml
index 2d1190a3..60b69090 100644
--- a/src/main/res/layout/account_row.xml
+++ b/src/main/res/layout/account_row.xml
@@ -10,7 +10,8 @@
android:layout_width="48dp"
android:layout_height="48dp"
android:layout_alignParentLeft="true"
- android:src="@drawable/ic_profile" >
+ android:src="@drawable/ic_profile"
+ android:contentDescription="@string/account_image_description">
</ImageView>
<LinearLayout
diff --git a/src/main/res/layout/activity_edit_account.xml b/src/main/res/layout/activity_edit_account.xml
index fa39ed5e..ed83cb9a 100644
--- a/src/main/res/layout/activity_edit_account.xml
+++ b/src/main/res/layout/activity_edit_account.xml
@@ -27,7 +27,8 @@
android:layout_width="72dp"
android:layout_height="72dp"
android:layout_alignParentTop="true"
- android:layout_marginRight="16dp"/>
+ android:layout_marginRight="16dp"
+ android:contentDescription="@string/account_image_description"/>
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
@@ -236,7 +237,8 @@
android:background="?android:selectableItemBackground"
android:padding="8dp"
android:src="@drawable/ic_action_copy"
- android:visibility="visible" />
+ android:visibility="visible"
+ android:contentDescription="@string/copy_otr_clipboard_description"/>
</RelativeLayout>