aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r--app/src/main/res/layout/activity_search_result.xml3
-rw-r--r--app/src/main/res/layout/activity_selected_subreddits.xml3
-rw-r--r--app/src/main/res/layout/activity_submit_crosspost.xml3
-rw-r--r--app/src/main/res/layout/activity_subscribed_subreddits_multiselection.xml3
-rw-r--r--app/src/main/res/layout/activity_subscribed_thing_listing.xml1
-rw-r--r--app/src/main/res/layout/activity_theme_preview.xml13
-rw-r--r--app/src/main/res/layout/activity_view_image_or_gif.xml9
7 files changed, 24 insertions, 11 deletions
diff --git a/app/src/main/res/layout/activity_search_result.xml b/app/src/main/res/layout/activity_search_result.xml
index a9e730fa..6a5189b6 100644
--- a/app/src/main/res/layout/activity_search_result.xml
+++ b/app/src/main/res/layout/activity_search_result.xml
@@ -52,6 +52,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="@dimen/fab_margin"
- android:layout_gravity="bottom|end" />
+ android:layout_gravity="bottom|end"
+ android:contentDescription="@null" />
</androidx.coordinatorlayout.widget.CoordinatorLayout> \ No newline at end of file
diff --git a/app/src/main/res/layout/activity_selected_subreddits.xml b/app/src/main/res/layout/activity_selected_subreddits.xml
index c9700c72..fd1dbdbb 100644
--- a/app/src/main/res/layout/activity_selected_subreddits.xml
+++ b/app/src/main/res/layout/activity_selected_subreddits.xml
@@ -44,6 +44,7 @@
android:layout_height="wrap_content"
android:layout_margin="@dimen/fab_margin"
android:layout_gravity="bottom|end"
- android:src="@drawable/ic_add_24dp" />
+ android:src="@drawable/ic_add_24dp"
+ android:contentDescription="@string/content_description_add_subreddit_or_user" />
</androidx.coordinatorlayout.widget.CoordinatorLayout> \ No newline at end of file
diff --git a/app/src/main/res/layout/activity_submit_crosspost.xml b/app/src/main/res/layout/activity_submit_crosspost.xml
index 5412697e..36caa335 100644
--- a/app/src/main/res/layout/activity_submit_crosspost.xml
+++ b/app/src/main/res/layout/activity_submit_crosspost.xml
@@ -242,7 +242,8 @@
android:layout_margin="16dp"
android:layout_gravity="start"
android:background="@drawable/play_button_round_background"
- android:visibility="gone" />
+ android:visibility="gone"
+ android:contentDescription="@string/content_description_video_indicator" />
</FrameLayout>
diff --git a/app/src/main/res/layout/activity_subscribed_subreddits_multiselection.xml b/app/src/main/res/layout/activity_subscribed_subreddits_multiselection.xml
index 4f7a26ad..8c95da13 100644
--- a/app/src/main/res/layout/activity_subscribed_subreddits_multiselection.xml
+++ b/app/src/main/res/layout/activity_subscribed_subreddits_multiselection.xml
@@ -61,7 +61,8 @@
<ImageView
android:id="@+id/no_subscriptions_image_view_subscribed_subreddits_multiselection_activity"
android:layout_width="150dp"
- android:layout_height="wrap_content" />
+ android:layout_height="wrap_content"
+ android:contentDescription="@string/content_description_no_subscriptions_indicator" />
<TextView
android:id="@+id/error_text_view_subscribed_subreddits_multiselection_activity"
diff --git a/app/src/main/res/layout/activity_subscribed_thing_listing.xml b/app/src/main/res/layout/activity_subscribed_thing_listing.xml
index dc645f64..2bae0cda 100644
--- a/app/src/main/res/layout/activity_subscribed_thing_listing.xml
+++ b/app/src/main/res/layout/activity_subscribed_thing_listing.xml
@@ -73,6 +73,7 @@
android:layout_height="wrap_content"
android:layout_margin="@dimen/fab_margin"
android:layout_gravity="bottom|end"
+ android:contentDescription="@string/content_description_create_multireddit"
app:srcCompat="@drawable/ic_add_day_night_24dp" />
</androidx.coordinatorlayout.widget.CoordinatorLayout> \ No newline at end of file
diff --git a/app/src/main/res/layout/activity_theme_preview.xml b/app/src/main/res/layout/activity_theme_preview.xml
index 9f40fd7a..89d02306 100644
--- a/app/src/main/res/layout/activity_theme_preview.xml
+++ b/app/src/main/res/layout/activity_theme_preview.xml
@@ -157,7 +157,8 @@
android:paddingTop="8dp"
android:paddingBottom="8dp"
android:src="@drawable/ic_subscritptions_bottom_app_bar_24dp"
- android:background="?attr/selectableItemBackgroundBorderless" />
+ android:background="?attr/selectableItemBackgroundBorderless"
+ android:contentDescription="@string/content_description_bottom_navigation_bar_button" />
<ImageView
android:id="@+id/multi_reddit_bottom_app_bar_theme_preview_activity"
@@ -168,7 +169,8 @@
android:paddingTop="8dp"
android:paddingBottom="8dp"
android:src="@drawable/ic_multi_reddit_24dp"
- android:background="?attr/selectableItemBackgroundBorderless" />
+ android:background="?attr/selectableItemBackgroundBorderless"
+ android:contentDescription="@string/content_description_bottom_navigation_bar_button" />
<TextView
android:layout_width="0dp"
@@ -185,7 +187,8 @@
android:paddingTop="8dp"
android:paddingBottom="8dp"
android:src="@drawable/ic_inbox_24dp"
- android:background="?attr/selectableItemBackgroundBorderless" />
+ android:background="?attr/selectableItemBackgroundBorderless"
+ android:contentDescription="@string/content_description_bottom_navigation_bar_button" />
<ImageView
android:id="@+id/profile_bottom_app_bar_theme_preview_activity"
@@ -197,7 +200,8 @@
android:paddingBottom="8dp"
android:gravity="center"
android:src="@drawable/ic_account_circle_24dp"
- android:background="?attr/selectableItemBackgroundBorderless" />
+ android:background="?attr/selectableItemBackgroundBorderless"
+ android:contentDescription="@string/content_description_bottom_navigation_bar_button" />
</LinearLayout>
@@ -208,6 +212,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="@dimen/fab_margin"
+ android:contentDescription="@string/content_description_fab"
app:srcCompat="@drawable/ic_add_day_night_24dp"
app:tint="@android:color/white"
app:layout_anchor="@id/bottom_navigation_theme_preview_activity" />
diff --git a/app/src/main/res/layout/activity_view_image_or_gif.xml b/app/src/main/res/layout/activity_view_image_or_gif.xml
index c7791c9f..24d433ee 100644
--- a/app/src/main/res/layout/activity_view_image_or_gif.xml
+++ b/app/src/main/res/layout/activity_view_image_or_gif.xml
@@ -73,7 +73,8 @@
android:layout_height="wrap_content"
android:padding="16dp"
android:src="@drawable/ic_file_download_toolbar_white_24dp"
- android:background="?attr/selectableItemBackgroundBorderless" />
+ android:background="?attr/selectableItemBackgroundBorderless"
+ android:contentDescription="@string/content_description_download" />
<ImageView
android:id="@+id/share_image_view_view_image_or_gif_activity"
@@ -81,7 +82,8 @@
android:layout_height="wrap_content"
android:padding="16dp"
android:src="@drawable/ic_share_toolbar_white_24dp"
- android:background="?attr/selectableItemBackgroundBorderless" />
+ android:background="?attr/selectableItemBackgroundBorderless"
+ android:contentDescription="@string/content_description_share" />
<ImageView
android:id="@+id/wallpaper_image_view_view_image_or_gif_activity"
@@ -90,7 +92,8 @@
android:layout_marginEnd="16dp"
android:padding="16dp"
android:src="@drawable/ic_wallpaper_white_24dp"
- android:background="?attr/selectableItemBackgroundBorderless" />
+ android:background="?attr/selectableItemBackgroundBorderless"
+ android:contentDescription="@string/content_description_set_as_wallpaper" />
</LinearLayout>