From fba80de642c77d43ee96827e21abdc8aba711d3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20V=C3=A1gner?= Date: Fri, 9 Feb 2024 00:27:39 +0100 Subject: [PATCH] a11y: Add content description to the walking modes summary button --- app/build.gradle | 5 ++++- app/src/main/res/layout/card_activity_summary.xml | 1 + app/src/main/res/values/strings.xml | 1 + 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/app/build.gradle b/app/build.gradle index a5c9637..3bdb552 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -38,8 +38,11 @@ android { buildTypes { release { - minifyEnabled false + minifyEnabled true proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' + if (pfaFile.exists()) { + signingConfig signingConfigs.'pfa-key' + } } debug { debuggable true diff --git a/app/src/main/res/layout/card_activity_summary.xml b/app/src/main/res/layout/card_activity_summary.xml index f2260e9..98d26df 100644 --- a/app/src/main/res/layout/card_activity_summary.xml +++ b/app/src/main/res/layout/card_activity_summary.xml @@ -86,6 +86,7 @@ android:id="@+id/periodMoreButton" style="@style/SimpleImageButton" android:layout_gravity="center_vertical" + android:contentDescription="@string/a11y_walking_modes" android:src="@drawable/ic_more_vert_black_24dp" /> diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 60e92cc..0dcd437 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -370,4 +370,5 @@ Previous Next Start training + Walking modes