aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/res
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2017-04-18 19:38:58 +0200
committerChristian Schneppe <christian@pix-art.de>2017-04-18 19:38:58 +0200
commit546f71490ca64b8979d3e645af5cc83f3a5d02fa (patch)
tree5d61c8b9554c3dd43f92843d56b2a037a82e4c3f /src/main/res
parente2f3c3a3c0baa38d106443cb84e5ca25f43c1902 (diff)
Add content description to send button
This can be used by screen readers and other accessibility aids.
Diffstat (limited to 'src/main/res')
-rw-r--r--src/main/res/layout/fragment_conversation.xml3
-rw-r--r--src/main/res/values-de/strings.xml1
-rw-r--r--src/main/res/values/strings.xml1
3 files changed, 4 insertions, 1 deletions
diff --git a/src/main/res/layout/fragment_conversation.xml b/src/main/res/layout/fragment_conversation.xml
index 23d7c050d..5de574fb7 100644
--- a/src/main/res/layout/fragment_conversation.xml
+++ b/src/main/res/layout/fragment_conversation.xml
@@ -63,7 +63,8 @@
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:background="@color/grey200"
- android:src="@drawable/ic_send_text_offline" />
+ android:src="@drawable/ic_send_text_offline"
+ android:contentDescription="@string/send_message" />
</RelativeLayout>
<RelativeLayout
diff --git a/src/main/res/values-de/strings.xml b/src/main/res/values-de/strings.xml
index b996a29c6..42dfe0d80 100644
--- a/src/main/res/values-de/strings.xml
+++ b/src/main/res/values-de/strings.xml
@@ -722,5 +722,6 @@
<string name="last_seen_just_away">kürzlich</string>
<string name="pref_use_colored_names_to_indicate_status">Kontaktnamen-Farbe zeigt Online-Status an</string>
<string name="pref_use_colored_names_to_indicate_status_summary">Kontaktnamen einfärben, um den Online-Status des Kontakts anzuzeigen</string>
+ <string name="send_message">Nachricht senden</string>
</resources>
diff --git a/src/main/res/values/strings.xml b/src/main/res/values/strings.xml
index 07db5f20f..f91bb9c94 100644
--- a/src/main/res/values/strings.xml
+++ b/src/main/res/values/strings.xml
@@ -770,4 +770,5 @@
<string name="image_mid">middle (1920p)</string>
<string name="image_high">high (3840p)</string>
<string name="last_seen_just_away">recently</string>
+ <string name="send_message">Send message</string>
</resources>