Fix context menu layout
This commit is contained in:
parent
6cf13ef505
commit
013b7c3aec
1 changed files with 1 additions and 1 deletions
|
@ -441,7 +441,7 @@ public class MapContextMenuFragment extends Fragment {
|
||||||
|
|
||||||
int dy = 0;
|
int dy = 0;
|
||||||
if (!menu.isLandscapeLayout() && menuTopViewHeight != 0) {
|
if (!menu.isLandscapeLayout() && menuTopViewHeight != 0) {
|
||||||
dy = newMenuTopViewHeight - menuTopViewHeight;
|
dy = Math.max(0, newMenuTopViewHeight - menuTopViewHeight);
|
||||||
}
|
}
|
||||||
menuTopViewHeight = newMenuTopViewHeight;
|
menuTopViewHeight = newMenuTopViewHeight;
|
||||||
menuTitleHeight = menuTopShadowHeight + menuTopShadowAllHeight + dy;
|
menuTitleHeight = menuTopShadowHeight + menuTopShadowAllHeight + dy;
|
||||||
|
|
Loading…
Reference in a new issue