diff --git a/OsmAnd/src/net/osmand/plus/activities/MapActivityLayers.java b/OsmAnd/src/net/osmand/plus/activities/MapActivityLayers.java index 3c70a9a4e0..9e62b6dad7 100644 --- a/OsmAnd/src/net/osmand/plus/activities/MapActivityLayers.java +++ b/OsmAnd/src/net/osmand/plus/activities/MapActivityLayers.java @@ -539,6 +539,7 @@ public class MapActivityLayers { } }); + builder.setNegativeButton(R.string.shared_string_dismiss, null); builder.show(); } diff --git a/OsmAnd/src/net/osmand/plus/dialogs/ConfigureMapMenu.java b/OsmAnd/src/net/osmand/plus/dialogs/ConfigureMapMenu.java index 621ec6a1c0..5a1da6ba8e 100644 --- a/OsmAnd/src/net/osmand/plus/dialogs/ConfigureMapMenu.java +++ b/OsmAnd/src/net/osmand/plus/dialogs/ConfigureMapMenu.java @@ -328,6 +328,7 @@ public class ConfigureMapMenu { } }); + bld.setNegativeButton(R.string.shared_string_dismiss, null); bld.show(); return false; } @@ -359,6 +360,7 @@ public class ConfigureMapMenu { // ad.notifyDataSetInvalidated(); } }); + bld.setNegativeButton(R.string.shared_string_dismiss, null); bld.show(); return false; } @@ -419,6 +421,7 @@ public class ConfigureMapMenu { dialog.dismiss(); } }); + bld.setNegativeButton(R.string.shared_string_dismiss, null); bld.show(); return false; } @@ -453,6 +456,7 @@ public class ConfigureMapMenu { dialog.dismiss(); } }); + b.setNegativeButton(R.string.shared_string_dismiss, null); b.show(); return false; } @@ -494,6 +498,7 @@ public class ConfigureMapMenu { dialog.dismiss(); } }); + b.setNegativeButton(R.string.shared_string_dismiss, null); b.show(); return false; } @@ -833,6 +838,7 @@ public class ConfigureMapMenu { ad.notifyDataSetInvalidated(); } }); + b.setNegativeButton(R.string.shared_string_dismiss, null); b.show(); return false; }