diff options
author | Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> | 2024-09-08 16:00:29 +0000 |
---|---|---|
committer | Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> | 2024-09-08 16:00:29 +0000 |
commit | 6bf18f679114cc167df76ff3b8f18e915ca4d2ff (patch) | |
tree | 5bf8d998fb3f3d989fdc749941cb7e46e5fd3884 /app/src/main/res | |
parent | eaef71dea0b66f82570fdfeb5629900b38ff8f28 (diff) | |
download | infinity-for-reddit-6bf18f679114cc167df76ff3b8f18e915ca4d2ff.tar infinity-for-reddit-6bf18f679114cc167df76ff3b8f18e915ca4d2ff.tar.gz infinity-for-reddit-6bf18f679114cc167df76ff3b8f18e915ca4d2ff.tar.bz2 infinity-for-reddit-6bf18f679114cc167df76ff3b8f18e915ca4d2ff.tar.lz infinity-for-reddit-6bf18f679114cc167df76ff3b8f18e915ca4d2ff.tar.xz infinity-for-reddit-6bf18f679114cc167df76ff3b8f18e915ca4d2ff.tar.zst infinity-for-reddit-6bf18f679114cc167df76ff3b8f18e915ca4d2ff.zip |
Continue adding contentDescription for image views.
Diffstat (limited to '')
17 files changed, 54 insertions, 22 deletions
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" /> </androidx.coordinatorlayout.widget.CoordinatorLayout>
\ 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" /> </androidx.coordinatorlayout.widget.CoordinatorLayout>
\ 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" /> </androidx.coordinatorlayout.widget.CoordinatorLayout>
\ 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" /> </androidx.coordinatorlayout.widget.CoordinatorLayout> 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" /> </androidx.coordinatorlayout.widget.CoordinatorLayout>
\ 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" /> </androidx.coordinatorlayout.widget.CoordinatorLayout>
\ 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" /> </androidx.coordinatorlayout.widget.CoordinatorLayout>
\ 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" /> </androidx.coordinatorlayout.widget.CoordinatorLayout> 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" /> </androidx.coordinatorlayout.widget.CoordinatorLayout>
\ 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" /> <ImageView android:id="@+id/next_result_image_view_view_post_detail_activity" @@ -104,7 +105,8 @@ android:src="@drawable/ic_arrow_downward_black_24dp" android:background="?actionBarItemBackground" android:clickable="true" - android:focusable="true" /> + android:focusable="true" + android:contentDescription="@string/content_description_next_result" /> <ImageView android:id="@+id/close_search_panel_image_view_view_post_detail_activity" @@ -115,7 +117,8 @@ android:src="@drawable/ic_close_24dp" android:background="?actionBarItemBackground" android:clickable="true" - android:focusable="true" /> + android:focusable="true" + android:contentDescription="@string/content_description_close_search_panel" /> </LinearLayout> 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" /> </LinearLayout> 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" /> </androidx.coordinatorlayout.widget.CoordinatorLayout>
\ 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" /> </androidx.coordinatorlayout.widget.CoordinatorLayout>
\ 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 @@ <ImageView android:id="@+id/fetch_wiki_image_view_wiki_activity" android:layout_width="150dp" - android:layout_height="wrap_content" /> + android:layout_height="wrap_content" + android:contentDescription="@null" /> <TextView android:id="@+id/fetch_wiki_text_view_wiki_activity" diff --git a/app/src/main/res/layout/app_bar_main.xml b/app/src/main/res/layout/app_bar_main.xml index fe3656be..c4f7a91b 100644 --- a/app/src/main/res/layout/app_bar_main.xml +++ b/app/src/main/res/layout/app_bar_main.xml @@ -63,6 +63,7 @@ android:layout_height="wrap_content" android:layout_margin="@dimen/fab_margin" android:visibility="gone" + android:contentDescription="@null" app:layout_anchor="@id/bottom_app_bar_bottom_app_bar" /> </androidx.coordinatorlayout.widget.CoordinatorLayout> 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" /> <ImageView android:id="@+id/option_2_bottom_app_bar" @@ -33,7 +34,8 @@ android:gravity="center" android:paddingTop="8dp" android:paddingBottom="8dp" - android:background="?attr/selectableItemBackgroundBorderless" /> + android:background="?attr/selectableItemBackgroundBorderless" + android:contentDescription="@null" /> <TextView android:layout_width="0dp" @@ -49,7 +51,8 @@ android:gravity="center" android:paddingTop="8dp" android:paddingBottom="8dp" - android:background="?attr/selectableItemBackgroundBorderless" /> + android:background="?attr/selectableItemBackgroundBorderless" + android:contentDescription="@null" /> <ImageView android:id="@+id/option_4_bottom_app_bar" @@ -59,7 +62,8 @@ android:paddingTop="8dp" android:paddingBottom="8dp" android:gravity="center" - android:background="?attr/selectableItemBackgroundBorderless" /> + android:background="?attr/selectableItemBackgroundBorderless" + android:contentDescription="@null" /> </LinearLayout> 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 @@ <string name="content_description_download">Download</string> <string name="content_description_share">Share</string> <string name="content_description_set_as_wallpaper">Set as wallpaper</string> - - + <string name="content_description_previous_result">Go to previous result</string> + <string name="content_description_next_result">Go to next result</string> + <string name="content_description_close_search_panel">Close search panel</string> + <string name="content_description_send_message">Send message</string> + <string name="content_description_home">Home</string> + <string name="content_description_subscriptions">Subscriptions</string> + <string name="content_description_inbox">Inbox</string> + <string name="content_description_profile">Profile</string> + <string name="content_description_multireddits">Multireddits</string> + <string name="content_description_upvoted">Upvoted</string> + <string name="content_description_downvoted">Downvoted</string> + <string name="content_description_hidden">Hidden</string> + <string name="content_description_saved">Saved</string> </resources> |