Fix margin
This commit is contained in:
parent
b5c18d2d64
commit
8efdb1024d
1 changed files with 0 additions and 5 deletions
|
@ -113,8 +113,6 @@ public class EditPOIFilterActivity extends OsmandListActivity {
|
||||||
View v = lv.getChildAt(0);
|
View v = lv.getChildAt(0);
|
||||||
final int top = (v == null) ? 0 : v.getTop();
|
final int top = (v == null) ? 0 : v.getTop();
|
||||||
Builder builder = new AlertDialog.Builder(this);
|
Builder builder = new AlertDialog.Builder(this);
|
||||||
ScrollView scroll = new ScrollView(this);
|
|
||||||
ListView listView = new ListView(this);
|
|
||||||
final LinkedHashMap<String, String> subCategories = new LinkedHashMap<String, String>();
|
final LinkedHashMap<String, String> subCategories = new LinkedHashMap<String, String>();
|
||||||
Set<String> acceptedCategories = filter.getAcceptedSubtypes(poiCategory);
|
Set<String> acceptedCategories = filter.getAcceptedSubtypes(poiCategory);
|
||||||
if (acceptedCategories != null) {
|
if (acceptedCategories != null) {
|
||||||
|
@ -150,9 +148,6 @@ public class EditPOIFilterActivity extends OsmandListActivity {
|
||||||
selected[i] = acceptedCategories.contains(subcategory);
|
selected[i] = acceptedCategories.contains(subcategory);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
scroll.addView(listView);
|
|
||||||
builder.setView(scroll);
|
|
||||||
builder.setNeutralButton(EditPOIFilterActivity.this.getText(R.string.shared_string_close), new DialogInterface.OnClickListener() {
|
builder.setNeutralButton(EditPOIFilterActivity.this.getText(R.string.shared_string_close), new DialogInterface.OnClickListener() {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue