#1118 - Add ContentDescriptions for buttons in Main and Compose activities

This commit is contained in:
Moez Bhatti
2018-05-03 00:34:56 -04:00
parent d5202ac479
commit 7332e5aa34
3 changed files with 10 additions and 0 deletions
@@ -121,6 +121,7 @@
android:layout_width="44dp"
android:layout_height="44dp"
android:layout_marginStart="8dp"
android:contentDescription="@string/compose_attach_cd"
android:padding="10dp"
android:src="@drawable/ic_add_circle_black_24dp"
app:layout_constraintBottom_toBottomOf="@id/message"
@@ -132,6 +133,7 @@
android:layout_width="44dp"
android:layout_height="44dp"
android:background="@drawable/ripple"
android:contentDescription="@string/compose_camera_cd"
android:padding="10dp"
android:src="@drawable/ic_camera_alt_black_24dp"
android:visibility="gone"
@@ -145,6 +147,7 @@
android:layout_height="44dp"
android:layout_marginEnd="8dp"
android:background="@drawable/ripple"
android:contentDescription="@string/compose_gallery_cd"
android:padding="10dp"
android:src="@drawable/ic_insert_photo_black_24dp"
android:visibility="gone"
@@ -202,6 +205,7 @@
android:layout_marginBottom="8dp"
android:layout_marginEnd="8dp"
android:background="@drawable/circle"
android:contentDescription="@string/compose_send_cd"
android:elevation="4dp"
android:padding="10dp"
android:src="@drawable/ic_send_black_24dp"
@@ -125,6 +125,7 @@
android:layout_height="wrap_content"
android:layout_gravity="bottom|end"
android:layout_margin="16dp"
android:contentDescription="@string/main_fab_cd"
android:src="@drawable/ic_add_black_24dp"
android:tint="@color/white"
app:layout_anchor="@+id/recyclerView"
@@ -50,6 +50,7 @@
<string name="inbox_search_empty_text">No results</string>
<string name="archived_empty_text">Your archived conversations will appear here</string>
<string name="scheduled_empty_text">Your scheduled messages will appear here</string>
<string name="main_fab_cd">Start new conversation</string>
<string name="drawer_inbox">Inbox</string>
<string name="drawer_archived">Archived</string>
@@ -78,6 +79,10 @@
<string name="compose_menu_copy">Copy text</string>
<string name="compose_menu_forward">Forward</string>
<string name="compose_menu_delete">Delete</string>
<string name="compose_attach_cd">Add an attachment</string>
<string name="compose_gallery_cd">Attach a photo</string>
<string name="compose_camera_cd">Take a photo</string>
<string name="compose_send_cd">Send message</string>
<string name="message_status_sending">Sending…</string>
<string name="message_status_delivered">Delivered %s</string>