From 8f654c457f2f49f161b47499d3d0a13f3b581354 Mon Sep 17 00:00:00 2001 From: "Igor B. Poretsky" Date: Fri, 30 Dec 2016 06:31:14 +0300 Subject: [PATCH] Button accessibility fix --- OsmAnd/src/net/osmand/plus/activities/MapActivityLayers.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/OsmAnd/src/net/osmand/plus/activities/MapActivityLayers.java b/OsmAnd/src/net/osmand/plus/activities/MapActivityLayers.java index 97d6dbada8..e9790b97b1 100644 --- a/OsmAnd/src/net/osmand/plus/activities/MapActivityLayers.java +++ b/OsmAnd/src/net/osmand/plus/activities/MapActivityLayers.java @@ -320,6 +320,7 @@ public class MapActivityLayers { Button neutralButton = alertDialog.getButton(DialogInterface.BUTTON_NEUTRAL); Drawable drawable = app.getIconsCache().getThemedIcon(R.drawable.ic_action_singleselect); neutralButton.setCompoundDrawablesWithIntrinsicBounds(drawable, null, null, null); + neutralButton.setContentDescription(app.getString(R.string.shared_string_filters)); } }); alertDialog.setOnDismissListener(new DialogInterface.OnDismissListener() { @@ -383,6 +384,7 @@ public class MapActivityLayers { Button neutralButton = alertDialog.getButton(DialogInterface.BUTTON_NEUTRAL); Drawable drawable = app.getIconsCache().getThemedIcon(R.drawable.ic_action_multiselect); neutralButton.setCompoundDrawablesWithIntrinsicBounds(drawable, null, null, null); + neutralButton.setContentDescription(app.getString(R.string.apply_filters)); } }); alertDialog.setOnDismissListener(new DialogInterface.OnDismissListener() {