aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/activity_theme_preview.xml
diff options
context:
space:
mode:
authorDocile-Alligator <25734209+Docile-Alligator@users.noreply.github.com>2024-09-05 17:21:56 +0000
committerDocile-Alligator <25734209+Docile-Alligator@users.noreply.github.com>2024-09-05 17:21:56 +0000
commiteaef71dea0b66f82570fdfeb5629900b38ff8f28 (patch)
treec9e7181e345ec6c030dbc92726d02e443d353b93 /app/src/main/res/layout/activity_theme_preview.xml
parent2d0675202f402bfde2ddd5f8572d1bfd5d76f91f (diff)
downloadinfinity-for-reddit-eaef71dea0b66f82570fdfeb5629900b38ff8f28.tar
infinity-for-reddit-eaef71dea0b66f82570fdfeb5629900b38ff8f28.tar.gz
infinity-for-reddit-eaef71dea0b66f82570fdfeb5629900b38ff8f28.tar.bz2
infinity-for-reddit-eaef71dea0b66f82570fdfeb5629900b38ff8f28.tar.lz
infinity-for-reddit-eaef71dea0b66f82570fdfeb5629900b38ff8f28.tar.xz
infinity-for-reddit-eaef71dea0b66f82570fdfeb5629900b38ff8f28.tar.zst
infinity-for-reddit-eaef71dea0b66f82570fdfeb5629900b38ff8f28.zip
Continue adding contentDescription for image views.
Diffstat (limited to 'app/src/main/res/layout/activity_theme_preview.xml')
-rw-r--r--app/src/main/res/layout/activity_theme_preview.xml13
1 files changed, 9 insertions, 4 deletions
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" />