From da126eead87a45e4beca5acb6eabe91767766f9c Mon Sep 17 00:00:00 2001 From: tibbi Date: Sun, 27 Feb 2022 13:43:29 +0100 Subject: [PATCH] adding contentdescriptions to task icons --- app/src/main/res/layout/day_monthly_event_view.xml | 1 + app/src/main/res/layout/event_list_item.xml | 1 + app/src/main/res/layout/week_all_day_event_marker.xml | 1 + app/src/main/res/layout/week_event_marker.xml | 1 + 4 files changed, 4 insertions(+) diff --git a/app/src/main/res/layout/day_monthly_event_view.xml b/app/src/main/res/layout/day_monthly_event_view.xml index 88c1817d2..d53693bb5 100644 --- a/app/src/main/res/layout/day_monthly_event_view.xml +++ b/app/src/main/res/layout/day_monthly_event_view.xml @@ -11,6 +11,7 @@ android:layout_width="wrap_content" android:layout_height="0dp" android:adjustViewBounds="true" + android:contentDescription="@string/task" android:paddingStart="@dimen/one_dp" android:paddingTop="@dimen/one_dp" android:paddingBottom="@dimen/one_dp" diff --git a/app/src/main/res/layout/event_list_item.xml b/app/src/main/res/layout/event_list_item.xml index 1c81eae4d..402b1ecb4 100644 --- a/app/src/main/res/layout/event_list_item.xml +++ b/app/src/main/res/layout/event_list_item.xml @@ -36,6 +36,7 @@ android:layout_width="wrap_content" android:layout_height="0dp" android:layout_marginStart="@dimen/small_margin" + android:contentDescription="@string/task" android:paddingTop="@dimen/small_margin" android:paddingBottom="@dimen/small_margin" android:src="@drawable/ic_task_vector" diff --git a/app/src/main/res/layout/week_all_day_event_marker.xml b/app/src/main/res/layout/week_all_day_event_marker.xml index 754ef06dc..43f714956 100644 --- a/app/src/main/res/layout/week_all_day_event_marker.xml +++ b/app/src/main/res/layout/week_all_day_event_marker.xml @@ -11,6 +11,7 @@ android:layout_width="wrap_content" android:layout_height="0dp" android:adjustViewBounds="true" + android:contentDescription="@string/task" android:paddingStart="@dimen/one_dp" android:paddingTop="@dimen/one_dp" android:paddingBottom="@dimen/one_dp" diff --git a/app/src/main/res/layout/week_event_marker.xml b/app/src/main/res/layout/week_event_marker.xml index 3125604b7..4acfad5ea 100644 --- a/app/src/main/res/layout/week_event_marker.xml +++ b/app/src/main/res/layout/week_event_marker.xml @@ -11,6 +11,7 @@ android:layout_width="wrap_content" android:layout_height="0dp" android:adjustViewBounds="true" + android:contentDescription="@string/task" android:paddingStart="@dimen/one_dp" android:paddingTop="@dimen/one_dp" android:paddingBottom="@dimen/one_dp"