Skip to content

Commit

Permalink
a11y: Add content description to the walking modes summary button
Browse files Browse the repository at this point in the history
  • Loading branch information
pvagner committed Feb 8, 2024
1 parent a0ad3de commit fba80de
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/layout/card_activity_summary.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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" />
</LinearLayout>

Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -370,4 +370,5 @@
<string name="a11y_prev">Previous</string>
<string name="a11y_next">Next</string>
<string name="a11y_start_training">Start training</string>
<string name="a11y_walking_modes">Walking modes</string>
</resources>

0 comments on commit fba80de

Please sign in to comment.