From 0dde372e9c2712bbd89f7f060ca3afcd20e0dd40 Mon Sep 17 00:00:00 2001 From: adbenitez Date: Thu, 29 Apr 2021 17:44:51 -0400 Subject: [PATCH] add labels to staged image and image editor --- res/layout/image_editor_hud.xml | 14 +++++++++++++- res/layout/media_view_edit_button.xml | 1 + res/layout/media_view_remove_button.xml | 1 + res/values-es/strings.xml | 7 +++++++ res/values/strings.xml | 7 +++++++ 5 files changed, 29 insertions(+), 1 deletion(-) diff --git a/res/layout/image_editor_hud.xml b/res/layout/image_editor_hud.xml index 4238ee711..9be9c8dda 100644 --- a/res/layout/image_editor_hud.xml +++ b/res/layout/image_editor_hud.xml @@ -36,6 +36,7 @@ android:layout_height="wrap_content" android:background="@drawable/circle_universal_overlay" android:padding="6dp" + android:contentDescription="@string/undo" android:src="@drawable/ic_undo_32" /> @@ -128,6 +138,7 @@ android:padding="6dp" app:layout_constraintTop_toTopOf="parent" app:layout_constraintEnd_toEndOf="parent" + android:contentDescription="@string/ok" android:src="@drawable/ic_check_white_24dp" /> - \ No newline at end of file + diff --git a/res/layout/media_view_edit_button.xml b/res/layout/media_view_edit_button.xml index 5a7841c43..10b1efc9b 100644 --- a/res/layout/media_view_edit_button.xml +++ b/res/layout/media_view_edit_button.xml @@ -5,4 +5,5 @@ android:layout_gravity="bottom|right" android:layout_margin="8dp" android:src="@drawable/conversation_attachment_edit" + android:contentDescription="@string/global_menu_edit_desktop" android:visibility="gone"/> diff --git a/res/layout/media_view_remove_button.xml b/res/layout/media_view_remove_button.xml index 7efa4419f..897fd7915 100644 --- a/res/layout/media_view_remove_button.xml +++ b/res/layout/media_view_remove_button.xml @@ -4,4 +4,5 @@ android:layout_height="@dimen/media_bubble_remove_button_size" android:layout_gravity="top|right" android:src="@drawable/conversation_attachment_close_circle" + android:contentDescription="@string/cancel" android:visibility="gone"/> diff --git a/res/values-es/strings.xml b/res/values-es/strings.xml index 9f0a67fe0..e91b6f735 100644 --- a/res/values-es/strings.xml +++ b/res/values-es/strings.xml @@ -683,6 +683,13 @@ Dibuja para difuminar + AƱadir texto + Difuminar + Marcador + Pincel de resaltado + Recortar + Voltear + Rotar Mensaje cifrado diff --git a/res/values/strings.xml b/res/values/strings.xml index ae042f2da..7aa0930e2 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -703,6 +703,13 @@ Draw anywhere to blur + Add text + Blur + Marker brush + Highlight brush + Crop + Flip + Rotate Encrypted message