Fix adjustment of map
This commit is contained in:
parent
7cbbe99166
commit
17370c4c14
1 changed files with 1 additions and 1 deletions
|
@ -825,7 +825,7 @@ public class PlanRouteFragment extends Fragment implements OsmAndLocationListene
|
|||
int tileBoxHeightPx = 0;
|
||||
|
||||
if (portrait) {
|
||||
tileBoxHeightPx = 3 * (tb.getPixHeight() - mainView.getHeight() - toolbarHeight) / 4;
|
||||
tileBoxHeightPx = 3 * (tb.getPixHeight() - toolbarHeight) / 4;
|
||||
} else {
|
||||
tileBoxWidthPx = tb.getPixWidth() - mapActivity.getResources().getDimensionPixelSize(R.dimen.dashboard_land_width);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue