summaryrefslogtreecommitdiff
path: root/ui/common
diff options
context:
space:
mode:
authorByteHamster <ByteHamster@users.noreply.github.com>2023-10-06 18:24:13 +0200
committerGitHub <noreply@github.com>2023-10-06 18:24:13 +0200
commitc38b2634582d74fe3a7c7a4273cac8750dbc7e7d (patch)
treeccf4c93e1a92b8aa6f58716e5eba009d3642e9cf /ui/common
parent3fae29b375380ca785e57ed74e5942c496b2370b (diff)
downloadAntennaPod-c38b2634582d74fe3a7c7a4273cac8750dbc7e7d.zip
Better content descriptions for TalkBack (#6684)
Diffstat (limited to 'ui/common')
-rw-r--r--ui/common/build.gradle2
-rw-r--r--ui/common/src/main/res/layout/pager_fragment.xml1
2 files changed, 3 insertions, 0 deletions
diff --git a/ui/common/build.gradle b/ui/common/build.gradle
index ff4bf83cf..0603eb711 100644
--- a/ui/common/build.gradle
+++ b/ui/common/build.gradle
@@ -4,6 +4,8 @@ plugins {
apply from: "../../common.gradle"
dependencies {
+ implementation project(":ui:i18n")
+
annotationProcessor "androidx.annotation:annotation:$annotationVersion"
implementation "androidx.appcompat:appcompat:$appcompatVersion"
implementation "androidx.viewpager2:viewpager2:$viewPager2Version"
diff --git a/ui/common/src/main/res/layout/pager_fragment.xml b/ui/common/src/main/res/layout/pager_fragment.xml
index a5bf6c76e..00525d57c 100644
--- a/ui/common/src/main/res/layout/pager_fragment.xml
+++ b/ui/common/src/main/res/layout/pager_fragment.xml
@@ -16,6 +16,7 @@
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
+ app:navigationContentDescription="@string/toolbar_back_button_content_description"
app:navigationIcon="?homeAsUpIndicator" />
</com.google.android.material.appbar.AppBarLayout>