From 6bf18f679114cc167df76ff3b8f18e915ca4d2ff Mon Sep 17 00:00:00 2001 From: Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> Date: Sun, 8 Sep 2024 12:00:29 -0400 Subject: Continue adding contentDescription for image views. --- .../res/layout-land/activity_view_multi_reddit_detail.xml | 3 ++- .../res/layout-land/activity_view_subreddit_detail.xml | 3 ++- .../main/res/layout-land/activity_view_user_detail.xml | 3 ++- app/src/main/res/layout-land/app_bar_main.xml | 3 ++- .../layout-sw600dp/activity_view_multi_reddit_detail.xml | 3 ++- .../res/layout-sw600dp/activity_view_subreddit_detail.xml | 3 ++- .../main/res/layout-sw600dp/activity_view_user_detail.xml | 3 ++- app/src/main/res/layout-sw600dp/app_bar_main.xml | 3 ++- .../main/res/layout/activity_view_multi_reddit_detail.xml | 3 ++- app/src/main/res/layout/activity_view_post_detail.xml | 9 ++++++--- .../main/res/layout/activity_view_private_messages.xml | 3 ++- .../main/res/layout/activity_view_subreddit_detail.xml | 3 ++- app/src/main/res/layout/activity_view_user_detail.xml | 3 ++- app/src/main/res/layout/activity_wiki.xml | 3 ++- app/src/main/res/layout/app_bar_main.xml | 1 + app/src/main/res/layout/bottom_app_bar.xml | 12 ++++++++---- app/src/main/res/values/strings.xml | 15 +++++++++++++-- 17 files changed, 54 insertions(+), 22 deletions(-) (limited to 'app/src/main/res') diff --git a/app/src/main/res/layout-land/activity_view_multi_reddit_detail.xml b/app/src/main/res/layout-land/activity_view_multi_reddit_detail.xml index 42a34b16..910576bf 100644 --- a/app/src/main/res/layout-land/activity_view_multi_reddit_detail.xml +++ b/app/src/main/res/layout-land/activity_view_multi_reddit_detail.xml @@ -64,6 +64,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_margin="@dimen/fab_margin" - android:visibility="gone" /> + android:visibility="gone" + android:contentDescription="@null" /> \ No newline at end of file diff --git a/app/src/main/res/layout-land/activity_view_subreddit_detail.xml b/app/src/main/res/layout-land/activity_view_subreddit_detail.xml index 1dee78ae..b265259b 100644 --- a/app/src/main/res/layout-land/activity_view_subreddit_detail.xml +++ b/app/src/main/res/layout-land/activity_view_subreddit_detail.xml @@ -199,6 +199,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_margin="@dimen/fab_margin" - android:visibility="gone" /> + android:visibility="gone" + android:contentDescription="@null" /> \ No newline at end of file diff --git a/app/src/main/res/layout-land/activity_view_user_detail.xml b/app/src/main/res/layout-land/activity_view_user_detail.xml index cc675f55..33b8b296 100644 --- a/app/src/main/res/layout-land/activity_view_user_detail.xml +++ b/app/src/main/res/layout-land/activity_view_user_detail.xml @@ -165,6 +165,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_margin="@dimen/fab_margin" - android:visibility="gone" /> + android:visibility="gone" + android:contentDescription="@null" /> \ No newline at end of file diff --git a/app/src/main/res/layout-land/app_bar_main.xml b/app/src/main/res/layout-land/app_bar_main.xml index 258441d8..c3a006d9 100644 --- a/app/src/main/res/layout-land/app_bar_main.xml +++ b/app/src/main/res/layout-land/app_bar_main.xml @@ -71,6 +71,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_margin="@dimen/fab_margin" - android:visibility="gone" /> + android:visibility="gone" + android:contentDescription="@null" /> diff --git a/app/src/main/res/layout-sw600dp/activity_view_multi_reddit_detail.xml b/app/src/main/res/layout-sw600dp/activity_view_multi_reddit_detail.xml index 42a34b16..910576bf 100644 --- a/app/src/main/res/layout-sw600dp/activity_view_multi_reddit_detail.xml +++ b/app/src/main/res/layout-sw600dp/activity_view_multi_reddit_detail.xml @@ -64,6 +64,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_margin="@dimen/fab_margin" - android:visibility="gone" /> + android:visibility="gone" + android:contentDescription="@null" /> \ No newline at end of file diff --git a/app/src/main/res/layout-sw600dp/activity_view_subreddit_detail.xml b/app/src/main/res/layout-sw600dp/activity_view_subreddit_detail.xml index 1dee78ae..b265259b 100644 --- a/app/src/main/res/layout-sw600dp/activity_view_subreddit_detail.xml +++ b/app/src/main/res/layout-sw600dp/activity_view_subreddit_detail.xml @@ -199,6 +199,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_margin="@dimen/fab_margin" - android:visibility="gone" /> + android:visibility="gone" + android:contentDescription="@null" /> \ No newline at end of file diff --git a/app/src/main/res/layout-sw600dp/activity_view_user_detail.xml b/app/src/main/res/layout-sw600dp/activity_view_user_detail.xml index cce4d78f..20b5e900 100644 --- a/app/src/main/res/layout-sw600dp/activity_view_user_detail.xml +++ b/app/src/main/res/layout-sw600dp/activity_view_user_detail.xml @@ -166,6 +166,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_margin="@dimen/fab_margin" - android:visibility="gone" /> + android:visibility="gone" + android:contentDescription="@null" /> \ No newline at end of file diff --git a/app/src/main/res/layout-sw600dp/app_bar_main.xml b/app/src/main/res/layout-sw600dp/app_bar_main.xml index 8ec561b0..a2bfa5bc 100644 --- a/app/src/main/res/layout-sw600dp/app_bar_main.xml +++ b/app/src/main/res/layout-sw600dp/app_bar_main.xml @@ -71,6 +71,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_margin="@dimen/fab_margin" - android:visibility="gone" /> + android:visibility="gone" + android:contentDescription="@null" /> diff --git a/app/src/main/res/layout/activity_view_multi_reddit_detail.xml b/app/src/main/res/layout/activity_view_multi_reddit_detail.xml index 57966184..8fddd8c0 100644 --- a/app/src/main/res/layout/activity_view_multi_reddit_detail.xml +++ b/app/src/main/res/layout/activity_view_multi_reddit_detail.xml @@ -49,6 +49,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_margin="@dimen/fab_margin" - app:layout_anchor="@id/bottom_app_bar_bottom_app_bar" /> + app:layout_anchor="@id/bottom_app_bar_bottom_app_bar" + android:contentDescription="@null" /> \ No newline at end of file diff --git a/app/src/main/res/layout/activity_view_post_detail.xml b/app/src/main/res/layout/activity_view_post_detail.xml index d16d83b3..d52479e6 100644 --- a/app/src/main/res/layout/activity_view_post_detail.xml +++ b/app/src/main/res/layout/activity_view_post_detail.xml @@ -93,7 +93,8 @@ android:src="@drawable/ic_arrow_upward_black_24dp" android:background="?actionBarItemBackground" android:clickable="true" - android:focusable="true" /> + android:focusable="true" + android:contentDescription="@string/content_description_previous_result" /> + android:focusable="true" + android:contentDescription="@string/content_description_next_result" /> + android:focusable="true" + android:contentDescription="@string/content_description_close_search_panel" /> diff --git a/app/src/main/res/layout/activity_view_private_messages.xml b/app/src/main/res/layout/activity_view_private_messages.xml index bbffb234..e61995b7 100644 --- a/app/src/main/res/layout/activity_view_private_messages.xml +++ b/app/src/main/res/layout/activity_view_private_messages.xml @@ -75,7 +75,8 @@ android:clickable="true" android:focusable="true" android:scaleType="center" - android:src="@drawable/ic_send_black_24dp" /> + android:src="@drawable/ic_send_black_24dp" + android:contentDescription="@string/content_description_send_message" /> diff --git a/app/src/main/res/layout/activity_view_subreddit_detail.xml b/app/src/main/res/layout/activity_view_subreddit_detail.xml index f8c13dde..14392bc9 100644 --- a/app/src/main/res/layout/activity_view_subreddit_detail.xml +++ b/app/src/main/res/layout/activity_view_subreddit_detail.xml @@ -184,6 +184,7 @@ android:layout_height="wrap_content" android:layout_margin="@dimen/fab_margin" android:visibility="gone" - app:layout_anchor="@id/bottom_app_bar_bottom_app_bar" /> + app:layout_anchor="@id/bottom_app_bar_bottom_app_bar" + android:contentDescription="@null" /> \ No newline at end of file diff --git a/app/src/main/res/layout/activity_view_user_detail.xml b/app/src/main/res/layout/activity_view_user_detail.xml index dd0bf212..4bea527a 100644 --- a/app/src/main/res/layout/activity_view_user_detail.xml +++ b/app/src/main/res/layout/activity_view_user_detail.xml @@ -150,6 +150,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_margin="@dimen/fab_margin" - app:layout_anchor="@id/bottom_app_bar_bottom_app_bar" /> + app:layout_anchor="@id/bottom_app_bar_bottom_app_bar" + android:contentDescription="@null" /> \ No newline at end of file diff --git a/app/src/main/res/layout/activity_wiki.xml b/app/src/main/res/layout/activity_wiki.xml index 6c47ba76..8fde4586 100644 --- a/app/src/main/res/layout/activity_wiki.xml +++ b/app/src/main/res/layout/activity_wiki.xml @@ -61,7 +61,8 @@ + android:layout_height="wrap_content" + android:contentDescription="@null" /> diff --git a/app/src/main/res/layout/bottom_app_bar.xml b/app/src/main/res/layout/bottom_app_bar.xml index 1bc806c9..2494c74b 100644 --- a/app/src/main/res/layout/bottom_app_bar.xml +++ b/app/src/main/res/layout/bottom_app_bar.xml @@ -23,7 +23,8 @@ android:gravity="center" android:paddingTop="8dp" android:paddingBottom="8dp" - android:background="?attr/selectableItemBackgroundBorderless" /> + android:background="?attr/selectableItemBackgroundBorderless" + android:contentDescription="@null" /> + android:background="?attr/selectableItemBackgroundBorderless" + android:contentDescription="@null" /> + android:background="?attr/selectableItemBackgroundBorderless" + android:contentDescription="@null" /> + android:background="?attr/selectableItemBackgroundBorderless" + android:contentDescription="@null" /> diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 2e7e9995..9b8a026a 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -1473,7 +1473,18 @@ Download Share Set as wallpaper - - + Go to previous result + Go to next result + Close search panel + Send message + Home + Subscriptions + Inbox + Profile + Multireddits + Upvoted + Downvoted + Hidden + Saved -- cgit v1.2.3