fix divider margin
This commit is contained in:
parent
766a68260c
commit
ed36afdacf
1 changed files with 4 additions and 1 deletions
|
@ -148,7 +148,10 @@ public class DetailsBottomSheet extends BasePreferenceBottomSheet {
|
|||
String attrName = property.getAttrName();
|
||||
if (MORE_DETAILED.equals(attrName) || SHOW_SURFACE_GRADE.equals(attrName)
|
||||
|| COLORED_BUILDINGS.equals(attrName) || STREET_LIGHTING.equals(attrName)) {
|
||||
items.add(new DividerItem(app));
|
||||
int margin = (int) getResources().getDimension(R.dimen.content_padding);
|
||||
DividerItem divider = new DividerItem(app);
|
||||
divider.setMargins(margin, 0, 0, 0);
|
||||
items.add(divider);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue