[android] - decouple map padding from overlain views

This commit is contained in:
Tobrun
2018-02-20 15:22:44 +01:00
committed by Łukasz Paczos
parent 0f9990c0c5
commit 4d439b0043

View File

@@ -973,12 +973,7 @@ public final class UiSettings {
initMargins[3] = bottom;
// convert initial margins with padding
int[] contentPadding = projection.getContentPadding();
FrameLayout.LayoutParams layoutParams = (FrameLayout.LayoutParams) view.getLayoutParams();
left += contentPadding[0];
top += contentPadding[1];
right += contentPadding[2];
bottom += contentPadding[3];
layoutParams.setMargins(left, top, right, bottom);
// support RTL