Button accessibility fix
This commit is contained in:
parent
1c803c3e08
commit
8f654c457f
1 changed files with 2 additions and 0 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue