aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Doan <andy.doan@linaro.org>2012-02-14 12:51:46 -0600
committerAndy Doan <andy.doan@linaro.org>2012-02-14 12:51:46 -0600
commit61e2cc10e4ccf641b17c43ca83f1a6f53024908d (patch)
tree26a347085b6d4cc1ad2bc456059368a96b5ccf54
parent08e4caf7b0ce4dee26d63cbee8a9d38c0b0c5a75 (diff)
downloadLinaroConnect-61e2cc10e4ccf641b17c43ca83f1a6f53024908d.tar.gz
fix accessibility warnings for image view
Signed-off-by: Andy Doan <andy.doan@linaro.org>
-rw-r--r--res/layout/image_view.xml3
-rw-r--r--res/values/strings.xml4
2 files changed, 7 insertions, 0 deletions
diff --git a/res/layout/image_view.xml b/res/layout/image_view.xml
index 5df6851..e1f0e49 100644
--- a/res/layout/image_view.xml
+++ b/res/layout/image_view.xml
@@ -15,6 +15,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center"
+ android:contentDescription="@string/image_view_desc"
/>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
@@ -29,6 +30,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@android:color/transparent"
+ android:contentDescription="@string/image_view_back"
/>
<ImageButton android:id="@+id/image_view_forward"
@@ -36,6 +38,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@android:color/transparent"
+ android:contentDescription="@string/image_view_forward"
/>
</LinearLayout>
</LinearLayout> \ No newline at end of file
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 74d6bb9..731e3ee 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -17,4 +17,8 @@
<string name="my_schedule_login">Log In</string>
<string name="my_schedule_login_busy">Authorizing &#8230;</string>
<string name="my_schedule_login_failed">Login failed! Try Again.</string>
+
+ <string name="image_view_desc">Picture from Linaro Connect</string>
+ <string name="image_view_forward">Next Image</string>
+ <string name="image_view_back">Previous Image</string>
</resources>