From 8efdb1024d926efb9e2c3dc97429778001ef6d71 Mon Sep 17 00:00:00 2001 From: Victor Shcherb Date: Sat, 6 Jun 2015 14:16:08 +0200 Subject: [PATCH] Fix margin --- .../net/osmand/plus/activities/EditPOIFilterActivity.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/activities/EditPOIFilterActivity.java b/OsmAnd/src/net/osmand/plus/activities/EditPOIFilterActivity.java index 2078f0421d..7c6f3dcd27 100644 --- a/OsmAnd/src/net/osmand/plus/activities/EditPOIFilterActivity.java +++ b/OsmAnd/src/net/osmand/plus/activities/EditPOIFilterActivity.java @@ -113,8 +113,6 @@ public class EditPOIFilterActivity extends OsmandListActivity { View v = lv.getChildAt(0); final int top = (v == null) ? 0 : v.getTop(); Builder builder = new AlertDialog.Builder(this); - ScrollView scroll = new ScrollView(this); - ListView listView = new ListView(this); final LinkedHashMap subCategories = new LinkedHashMap(); Set acceptedCategories = filter.getAcceptedSubtypes(poiCategory); if (acceptedCategories != null) { @@ -150,9 +148,6 @@ public class EditPOIFilterActivity extends OsmandListActivity { selected[i] = acceptedCategories.contains(subcategory); } } - - scroll.addView(listView); - builder.setView(scroll); builder.setNeutralButton(EditPOIFilterActivity.this.getText(R.string.shared_string_close), new DialogInterface.OnClickListener() { @Override